-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Mukherji wrote: | Hello list | | I am using nagios 3.0.I am having problem in getting notification for | any port down in my router.I am using snmp to collect data. | | define service{ | use generic-service ; Inherit values from a template | host_name hongkong-gw1 | service_description Port 10 descr adminstatus operstatus | check_command check_snmp! -C public -o | ifDescr.14,ifAdminStatus.14,ifOperStatus.14 | | this gives me output | | SNMP OK - Serial0/0 up(1) up(1) "FTIL1566 Connection to Londonpop-gw1 | Ser0/3" | | now when the port goes down , i recieve messege saying SMNP data not | recieved from host , problem unknown.but i want that it should give me | messege that the port is down. | | is there anything i need to change in the above check_snmp command?
No. You need to get another router. Cisco in their infinite wisdom will give odd results on some interfaces if they are down. I have seen cases where the interface is there if it's up but when it's down the interface is gone as far as SNMP is concerned. I suggest you open a supprt ticket with Cisco on this odd behaviour. It's their problem and they need to fix it. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG cZ6DMrhKEhkQOx2lsTJbX7M= =XGIN -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null