Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
check_ospf.pl v$Revision: 0.1 $ (nagios-plugins 2.2.1)
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
./check_ospf.0.1.pl -h
check_ospf.0.1.pl v$Revision: 0.1 $ (nagios-plugins 2.2.1)
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 2006 Larry Low
This program is licensed under the terms of the
GNU General Public License
(check source code for details)
Check OSPF peer status via SNMP.
Usage:
check_ospf.0.1.pl -H <HOSTNAME> [-C <community>] -p <peer>
check_ospf.0.1.pl [-h | --help]
check_ospf.0.1.pl [-V | --version]
-H (--hostname) Hostname to query - (required)
-C (--community) SNMP read community or v3 auth (defaults to public)
(v3 specified as username:authpassword:... )
username = SNMPv3 security name
authpassword = SNMPv3 authentication pass phrase (or hexidecimal key)
authprotocol = SNMPv3 authentication protocol (md5 (default) or sha)
privpassword = SNMPv3 privacy pass phrase (or hexidecmal key)
privprotocol = SNMPv3 privacy protocol (des (default) or aes)
-v (--snmp_version) 1 for SNMP v1
2 for SNMP v2c (default)
3 for SNMP v3
-p {--peer} IP of peer
-V (--version) Plugin version
-h (--help) usage help
Send email to help@nagios-plugins.org if you have questions regarding use
of this software. To submit patches or suggest improvements, send email to
devel@nagios-plugins.org. Please include version information with all
correspondence (when possible, use output from the --version option of the
plugin itself).
UNKNOWN: SNMP error: The OBJECT IDENTIFIER value "1.3.6.1.2.1.14.10.1.3.192.168.1.0/24.0" is expected in dotted decimal notatio
when typing without a subnet mask, then you will get:
./check_ospf.0.1.pl -H Hostaddress -C public -v 2 -p 192.168.1.0
Use of uninitialized value in concatenation (.) or string at ./check_ospf.0.1.pl line 141.
Argument "noSuchObject" isn't numeric in numeric eq (==) at ./check_ospf.0.1.pl line 143.
CRITICAL - 192.168.1.0 (Router ID noSuchObject) state is