Cisco

Check Admin Up Oper Down

Description:

Check Admin Up Oper down uses SNMP to find interfaces which are enabled (no shutdown), but are still operationally down. It then reports an issue and lists the interfaces in the down state.

Current Version

1.0

Last Release Date

2015-01-26

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Notes
Check Admin Up Oper down uses SNMP to find interfaces which are enabled (no shutdown), but are still operationally down. It then reports an issue and lists the interfaces in the down state. The plugin supports SNMP version 2c and 3. The plugin is part of Nelmon (http://networklore.com/nelmon/) which is a collection of plugins and Nagios tools. The nm_check_admin_up_oper_down plugin is located in the plugins directory. For more information about the plugin: http://networklore.com/check-admin-up-oper-down/ For installation instructions: http://networklore.com/install-nelmon/
Reviews (1) Add a Review
Check works from Console but not in Nagios
by tgrassi55, November 30, 2018
Nagios Core 4.3.4
Cisco 3750
from console
root@tgcs017:/usr/local/nagios/etc/objects# /usr/local/nagios/libexec/nm_check_admin_up_oper_down -H 10.2.8.4 -P 2c -C public -c
18 interfaces down
StackPort1
GigabitEthernet1/1/1
GigabitEthernet1/0/18
GigabitEthernet1/1/3
GigabitEthernet1/0/20
GigabitEthernet1/0/35
GigabitEthernet1/0/26
StackSub-St1-2
GigabitEthernet1/1/4
GigabitEthernet1/0/34
GigabitEthernet1/1/2
TenGigabitEthernet1/1/1
TenGigabitEthernet1/1/2
GigabitEthernet1/0/39
StackSub-St1-1
GigabitEthernet1/0/38
GigabitEthernet1/0/42
GigabitEthernet1/0/43

From Nagios setup
No SNMP response received before timeout

My command
# check_admin_up_oper_down using SNMPv2
define command{
command_name check_switch
command_line $USER1$/nm_check_admin_up_oper_down -H $HOSTADDRESS$ -P 2c -C $ARG1$ $ARG2$
}

My service

# cisco.proto:

define service{
host_name hostname
use generic-service
service_description Interfaces Down
check_command check_switch!cisco3750!-c
check_interval 5
retry_interval 1
}

snmpwalk also works from the Nagios server too

How to set a -T value on the command?

any ideas?

Thank you
Tom
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
16,179