Cisco ASA SNMP problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Cisco ASA SNMP problem

Post by rlevick »

I migrated from 3.3.1 to 4.0.2 on a new CentOS server. My Cisco switches/routers are reporting but the ASA 5511 is not. Maybe a mib I'm missing?

Bandwidth_EDMZ

Perform Extra Service Actions
CRITICAL 02-04-2014 08:42:49 4d 23h 34m 34s 3/3 (No output on stdout) stderr:

Bandwidth_Inside

Perform Extra Service Actions
CRITICAL 02-04-2014 08:42:52 4d 23h 34m 36s 3/3 (No output on stdout) stderr:

Bandwidth_Outside

Perform Extra Service Actions
CRITICAL 02-04-2014 08:42:52 4d 23h 34m 59s 3/3 (No output on stdout) stderr:

Failover

Perform Extra Service Actions
UNKNOWN 02-04-2014 08:34:54 4d 20h 23m 34s 3/3 SNMP problem - No data received from host

PING

Perform Extra Service Actions
OK 02-04-2014 08:41:22 2d 20h 57m 12s 1/3 PING OK - Packet loss = 0%, RTA = 5.30 ms

Uptime

UNKNOWN 02-04-2014 08:42:04 4d 20h 26m 48s 3/3 SNMP problem - No data received from host
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Cisco ASA SNMP problem

Post by slansing »

This could be a bug with how perl is being used, are you running any non SNMP perl checks? Are they reporting the same?:

http://tracker.nagios.org/view.php?id=484
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Cisco ASA SNMP problem

Post by rlevick »

Well, looking at a command from a Cisco switch, it is using perl and working.
/usr/bin/perl $USER1$/check_snmp_ifstatus.pl -H $HOSTADDRESS$ -C publicxxxxxx -v 2 -i "GigabitEthernet0/3" -w 75 -c 95 (undefined)
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Cisco ASA SNMP problem

Post by rlevick »

It looks like all the pl scripts are using check_snmp on the firewall. Unless I'm looking at the wrong command.

/usr/bin/perl $USER1$/check_snmp_ifstatus.pl -H $HOSTADDRESS$ -C publicxxxxxx -v 2 -i $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Cisco ASA SNMP problem

Post by rlevick »

Response from the old server:
# /usr/local/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -C publicxxxxxxx -o sysUpTimeInstance
SNMP OK - Timeticks: (1988192600) 230 days, 2:45:26.00 |

Response from the new server:
# /usr/local/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -C publicxxxxxxx -o sysUpTimeInstance
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] xxx.xxx.xxx.xxx:161 sysUpTimeInstance
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Cisco ASA SNMP problem

Post by rlevick »

Also no response from snmpwalk:
# snmpwalk -Os -c publicxxxxxxx -v 1 172.xxx.xxx.xxx
Timeout: No Response from 172.xxx.xxx.xxx
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Cisco ASA SNMP problem

Post by rlevick »

I had the network engineer look at the ASA again. Polling was not enabled. It's fixed.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Cisco ASA SNMP problem

Post by sreinhardt »

Great, I was just going to suggest that it is likely an issue with snmp not being enabled. Closing this up.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked