Thanks for the information. I now poll ifOperStatus and that does detect a LAN interface change from Up to Down when a LAN cable is removed.
Mark Mike Ayers wrote: >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Mark Harper >> Sent: Tuesday, July 17, 2007 5:51 AM >> > > >> We have a problem where we have a machine on 2 LANS and want >> to monitor >> when a LAN goes down via SNMP Get polling. >> > > Monitor ifOperStatus for the interfaces. You can read alternately from > both interfaces. If everything times out, you know both interfaces are down. > > >> The machine has two LAN connections and two IP addresses, >> >> 10.49.254.1 >> 10.49.255.1 >> >> When one of the LAN connections (10.49.254.1) is broken by >> removing the >> LAN cable from the machine, >> >> ping 10.49.254.1 >> >> times out and fails thus detecting the LAN failure. >> >> However, >> >> snmpget -v2c -c cctv 10.49.254.1 1.3.6.1.2.1.1.6.0 >> >> succeeds thus giving no indication of the fault we were >> trying to detect. >> >> Why does this occur and is there a solution to make snmpget >> detect the >> failure successfully? >> > > I would not expect this to work as you intend. The reason is left as > an exercise for the student. Hint: only ping should be used for pinging. > > > HTH, > > Mike > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users