-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/10/09 12:31 PM, Emily wrote: > Hello, I am attempting to use this check_bgp_neighbors command which was > recommended however my manual execution gives this output: > > [r...@dns libexec]# ./check_bgp_neighbors -H Core-RTR1-MiddleT -C public > -n 157.130.57.129 -n 65.205.26.197 > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.157.130.57.129.1.1 > expr: syntax error > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.65.205.26.197.1.1 > expr: syntax error > ./check_bgp_neighbors: line 107: [: -ge: unary operator expected > Failed: status:12 prefixes: sent:1466115 received:1475079[r...@dns libexec]# > [r...@dns libexec]# > perhaps my syntax is flawed as I don't know why I am getting this > "Failed object" error, the usage of the command is below, I would really > appreciate any help with my syntax for the above command:
Are you trying it against Cisco router? This appears to be a Cisco proprietary MIB and it would be evry unlikely that any other brand of router support it. If it's a Cisco, make sure it support the CISCO-BGP4-MIB. Otherwise, I'm afraid you'll have to check with your vendor on how to monitor it with SNMP and write your own script or use check_snmp to monitor it. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKy+xc6dZ+Kt5BchYRAkl/AKCvRtMrInHjTklH4Lr7KV9QLhozmgCgorur t7D26ZgJxL1H4ZFXUw+dr2A= =SAd+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ 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