NETS header NETS Homepage UCAR Homepage NCAR Homepage SCD Homepage NETS Homepage About NETS Work requests & support
  Browse NETS topics: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

check_snmp_ospf (NETS notes)

Date: Tue, 23 Oct 2007 11:28:38 -0600
From: John Hernandez
To: ne@ucar.edu
Subject: OSPF service check

Hey NE,

There's an OSPF service on Nagios, and it runs on the UCAR-routers group. It helps detect misconfigurations (Warning) and broken links (Critical). The logic goes like this:

1) For each OSPF interface, check if the Hello Interval is tuned.

1a) If it is tuned, there should be a Backup Designated Router (BDR) on the link. If there isn't one, issue alert Critical (NoBDR). A false positive can occur if a new interface gets tuned, but no adjacency is formed. Therefore, we should avoid tuning interfaces for OSPF where OSPF is not needed.

1b) Conversely, if it is _not_ tuned, there should _not_ be a BDR on the link. If there is, alert Warning (CfgHello). This indicates a non-critical misconfiguration. It should be fixed to adhere to the NCAR standard. You'll probably see this on two or more routers on the same segment.

2) For each OSPF Neighbor, check if the Neighbor is in FULL or TWO-WAY state, otherwise alert Critical (NbrDown). This is helpful for things like detecting the loss of backup links.

Currently, the plugin is reporting that we have several misconfigured timers, mostly involving adjacencies with VOIP routers on VLANS 2,3, and 4. This should be fixed during a maintenance window, as it has some potential of impacting the phones.

-John
Address comments or questions about this Web page to the Network Engineering & Telecommunications Section (NETS) at nets-www@ncar.ucar.edu. The NETS is part of the Computational & Information Systems Laboratory (CISL) of the National Center for Atmospheric Research (NCAR), which is sponsored by the National Science Foundation (NSF) and managed by the University Corporation for Atmospheric Research (UCAR). This website follows the UCAR General Privacy Policy and the NCAR/UCAR/UCP Terms of Use.