What should a topology change notification look like?    Link up/down traps include 
enough information to tell what port changed.  snmptrapd shows me:

2004-09-02 12:20:14 ipm [10.93.0.5]:
RFC1213-MIB::sysUpTime.0 = Timeticks: (17049392) 1 day, 23:21:33.92     
SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkDown       RFC1213-MIB::ifIndex = 
INTEGER: 5       SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-TC::linux

so I can tell that port 5 disconnected.  The MIB says

  linkDown NOTIFICATION-TYPE
    OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
  ...

which, if I read it right, says "include an ifIndex in your trap (to indicate which 
interface when down)".  But topologyChange says:

  topologyChange NOTIFICATION-TYPE
    -- OBJECTS     { }
  ...

Are you supposed to infer which interface was affected from previous link up/down 
traps?  That seems strange.  Am I missing something?



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
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

Reply via email to