A flurry of notifications at startup

lanas <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Folks,

  Still in my net-snmp testing, I observed that some moment after the
startup of snmpd (perhaps 60 seconds or so), and well after the
notification about starting up, a certain number of link up/down traps
are received, all with the same timestamp.  

After these messages the operation seems to be OK as far as when a
cable interface is unplugged, a trap is received for link down, and
when the cable is plugged back, a link up trap is received.  Both quite
immediately (using the monitor statements, not the macro).

But then, after some time, the ifOperStatus, ifAdminStatus and ifIndex
are missing, without any restarting or otherwise configuration changing
of the snmpd daemon:

16:37 TRAP:Cold Start from UDP: [192.168.1.22]:1041 T
TRAP2, SNMP v2c, community public 
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3059) 0:00:30.59  
SNMPv2-MIB::snmpTrapOID.0 = OID: 
IF-MIB::linkUp 
IF-MIB::ifIndex.4 = INTEGER: 4  
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: up(1) 
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: 
NET-SNMP-MIB::netSnmpAgentOIDs.10

16:37 TRAP:Cold Start from UDP: [192.168.1.22]:1041 
TRAP2, SNMP v2c, community public 
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3059) 0:00:30.59  
SNMPv2-MIB::snmpTrapOID.0 = OID: 
IF-MIB::linkUp 
IF-MIB::ifIndex.5 = INTEGER: 5  
IF-MIB::ifAdminStatus.5 = INTEGER: up(1)
IF-MIB::ifOperStatus.5 = INTEGER: up(1) 
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: 
NET-SNMP-MIB::netSnmpAgentOIDs.10

16:38 TRAP:Cold Start from UDP: [192.168.1.22]:1041 
TRAP2, SNMP v2c, community public 
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (6057) 0:01:00.57  
SNMPv2-MIB::snmpTrapOID.0 = OID: 
IF-MIB::linkUp 
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: 
NET-SNMP-MIB::netSnmpAgentOIDs.10

16:38 TRAP:Cold Start from UDP: [192.168.1.22]:1041 
TRAP2, SNMP v2c, community public 
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (6057) 0:01:00.57  
SNMPv2-MIB::snmpTrapOID.0 = OID: 
IF-MIB::linkUp 
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: 
NET-SNMP-MIB::netSnmpAgentOIDs.10

  Is this supposed to be normal ?

  Also, is it possible to stop the flurry of notifications received at
the beginning from happening ?  We run harness tests and have to put a
'magic number delay' before starting the automnated tests.

Thanks.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.