Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4405Themes and Skins13Add-ons757Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Other Tutorials And HOWTOs Writing Custom Nagios Plugins With Python
0.0 (0)
90.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)deskwork_itunes142 (4)Marcin Bednarski (3)Julien DESMAREST (3)Davide Lemma (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)smolinux (1)juanfertor (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Tom Grassi
TG

Tom Grassi

@tgrassi55

User Stats

Member Since: November 26, 2018

Favorites0

Views

Projects0

No Projects Found
Check Admin Up Oper Down

Check works from Console but not in Nagios

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

Reviewed 8 years ago

Cisco Switches and routers

Check_cisco.pl not working at all

Running Nagios Core 4.3.4 Cisco 3750 switch When I run this from command line /usr/local/nagios/libexec/check_cisco.pl -h 10.2.8.4 -c public -i "GigabitEthernet1/0/21" -s up MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot find module (IF-MIB): At line 0 in (none) IF-MIB::ifDescr: Unknown Object Identifier MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot find module (IF-MIB): At line 0 in (none) IF-MIB::ifName: Unknown Object Identifier Interface not found : please check your syntax for this device Nagios run on Ubuntu 16.04.1 LTS This is my first SNMP check on Nagios. On Ubuntu I can run SNMPWALK snmpwalk -v 1 -c public cisco3750 1.3.6.1.2.1.2 or snmpwalk -v 2c -c public cisco3750 1.3.6.1.2.1.2 Both produce same output from the switch What am I missing? Thank you

Reviewed 8 years ago

check_snmp_cisco improved version

Cant get the chcek to work

Nagios Core 4.3.4 Ubuntu 16.04.1 LTS snmpwalk works Check does not root@tgcs017:/usr/local/nagios/libexec# ./check_snmp_cisco.pl -H 10.2.8.4 -C public -I GigabitEthernet1/0/21 -S up sh: 1: cannot create /var/nagios_plugin_cache/10.2.8.4_cache: Directory nonexistent MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot find module (IF-MIB): At line 0 in (none) IF-MIB::ifDescr: Unknown Object Identifier sh: 1: cannot create /var/nagios_plugin_cache/10.2.8.4_cache: Directory nonexistent MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot find module (IF-MIB): At line 0 in (none) IF-MIB::ifName: Unknown Object Identifier sh: 1: cannot create /var/nagios_plugin_cache/10.2.8.4_cache.tmp: Directory nonexistent mv: cannot stat '/var/nagios_plugin_cache/10.2.8.4_cache.tmp': No such file or directory grep: /var/nagios_plugin_cache/10.2.8.4_cache: No such file or directory MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot find module (IF-MIB): At line 0 in (none) IF-MIB::ifOperStatus.: Unknown Object Identifier Unknown state for GigabitEthernet1/0/21 : check your -s state syntax root@tgcs017:/usr/local/nagios/libexec# Even leaving off the -S get same error Any ideas? Thank you Tom

Reviewed 8 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile