Build precise queries to find exactly what you need
Press ESC to close
@[email protected]
Favorites0
Views
Projects0
Router uses two OSPF processes, one with vrf ## show all neighbors, all processes rtpe-pruszkow#sh ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 212.69.65.137 1 FULL/DR 00:00:06 172.16.100.1 GigabitEthernet0/0.689 N/A 0 ATTEMPT/DROTHER - 172.16.100.34 GigabitEthernet0/0.688 212.69.65.124 1 FULL/BDR 00:00:39 172.16.100.3 GigabitEthernet0/0.687 172.16.255.110 1 FULL/DR 00:00:30 172.50.110.2 GigabitEthernet0/0.390 Plugin: /usr/lib/nagios/plugins/check_ospf_nbr.py -2 -C compagi0905 -H mpwik-rtpe-pru -v 2 --vendor ios -P 172.16.100.1 CRITICAL: No matching OSPFv2 neighbour /usr/lib/nagios/plugins/check_ospf_nbr.py -2 -C compagi0905 -H mpwik-rtpe-pru -v 2 --neighbour-id 212.69.65.137 --vendor ios CRITICAL: No matching OSPFv2 neighbour
Reviewed 5 years ago
#tested on Cisco 1941 ios v.15.6 /usr/lib/nagios/plugins/check_snmp_cisco_ospf-neighbor.pl -H my_cisco_ios_rt -C my_comm UNKNOWN: Script timed out
Very limited functionality with modern IOS-es, and typical MPLS VPNs. It is a IOS limitation, not the plugin itself. The only chance is to configure ospf traps on the router and trap handling, passive service on Nagios. IOS config: snmp-server host .... snmp-server enable traps ospf "Cisco IOS Release 12.0(26)S, 12.2(25)S, 12.2(27)SBC, 12.2(31)SB2 and later releases, the OSPF MIB and CISCO OSPF MIB will be supported only for the first OSPF process [....] SNMP traps will be generated for OSPF events that are related to any of the OSPF processes. There is no workaround for this situation." https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/15-sy/iro-15-sy-book/iro-mib-1850.pdf