Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_ospf_nbr

Rating
0 votes
Favoured:
0
Current Version
0.20
Last Release Date
2018-09-07
Compatible With
  • Nagios 4.x
License
LGPL
Hits
513
Files:
FileDescription
nagios-plugins-trh-0.20.tar.gzSource tar ball
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks OSPF v2 and v3 adjacencies (neighbours) using SNMP.
Check OSPF neighbour adjacency status of a router using SNMP. Neighbour can be specified by peer IP address, router-id, and/or interface name, e.g. to check that the router has a neighbour with router-id R on interface I. The adjacency with the neighbour must be in state FULL for it to be considered OK. Either or both of OSPF v2 and OSPF v3 neighbours can be checked at the same time. Checking of neighbours on unnumbered links is also supported.

Options:
--version show program's version number and exit
-h, --help show this help message and exit
-H HOST, --host=HOST Hostname/address of router to query; mandatory option
-c COMMUNITY, --community=COMMUNITY
SNMP community [public]
-v SNMP_VERSION, --snmp-version=SNMP_VERSION
SNMP version to use [2].
-N NEIGHBOUR_ID, --neighbour-id=NEIGHBOUR_ID, --nbr=NEIGHBOUR_ID
Router-id of neighbour, as a dotted quad, or as a
decimal, octal or hexadecimal integer
-P PEER_ADDRESS, --peer-address=PEER_ADDRESS
IPv4 address of neighbour; only used for OSPFv2. This
can be specified as a numeric address or as a host
name that will be resolved.
-I INTERFACE, --interface=INTERFACE
Layer 3 interface where neighbour should be found.
[default: any]
-2, --ospfv2 Look for OSPFv2 neighbour [False]
-3, --ospfv3 Look for OSPFv3 neighbour [False].
--vendor=VENDOR Handle quirks for specific network OS [autodetect]

The plugin is written in Python 2. It requires the Python bindings to net-snmp (the net-snmp-python RPM in RHEL/Fedora), and the ipaddr Python module (the python-ipaddr RPM in RHEL/Fedora).