Page 3 of 4

Re: SNMP configuration on cisco ASA 5500 series

Posted: Tue Aug 06, 2013 1:05 pm
by prashanthm88
Can any one help me!!!

Re: SNMP configuration on cisco ASA 5500 series

Posted: Tue Aug 06, 2013 1:25 pm
by lmiltchev
Go to the CCM->Services, locate one of the "failing" checks, then click on the "View Text Config" actions button next to it (the diskette icon), and post the service definition. Also, post the command definition.

Re: SNMP configuration on cisco ASA 5500 series

Posted: Tue Aug 06, 2013 2:07 pm
by prashanthm88
Thanks for the reply.

Please don't mind if my questions look simple, I'm very new to nagios and never used it before. I copied view text config file and attached to this mail.

Please look at the file and let me know if I need for any changes.

The command I used so far.

snmpget -v 3 -a MD5 -x AES -u testuser -A testpassword -X testpassword 192.168.15.1 sysDescr.0 -l AuthPriv

Outout: SNMPV2-MIB::sysDescr.0=STRING: Cisco Adaptive Security Appliance Version 9.0

./check_snmp -H 192.168.15.1 -o .1.3.6.1.4.1.9.1.745 -C Testcom -U testuser -A testpassword -x AES -X testpassword -L authPriv -P 3 -s MD5

Output: SNMP OK - =No such Object available on this agent at this ODI.

Thank You

Re: SNMP configuration on cisco ASA 5500 series

Posted: Tue Aug 06, 2013 2:46 pm
by sreinhardt
How about removing -C [community string] As you have in the first command that seems to work:

./check_snmp -H 192.168.15.1 -o .1.3.6.1.4.1.9.1.745 -U testuser -A testpassword -x AES -X testpassword -L authPriv -P 3 -s MD5

Re: SNMP configuration on cisco ASA 5500 series

Posted: Wed Aug 07, 2013 8:33 am
by prashanthm88
I ran the script and got a message

"SNMP CRITICAL - * = No Such Object available on this agent at this OID"

Please look at the screenshot for better answer.

Re: SNMP configuration on cisco ASA 5500 series

Posted: Wed Aug 07, 2013 9:08 am
by scottwilkerson
To rule out the plugin can we run a simple snmpget with the same OID as it is possible this device doesn't have this OID

Code: Select all

snmpget -v 3 -a MD5 -x AES -u testuser -A testpassword -X testpassword 192.168.15.1 sysDescr.0 -l AuthPriv .1.3.6.1.4.1.9.1.745

Re: SNMP configuration on cisco ASA 5500 series

Posted: Wed Aug 07, 2013 12:55 pm
by prashanthm88
Thanks for the reply.

I found two OID's from Solarwinds portal.I don't know which one belongs to which device, so I ran the same commands with both OID's.I got same error as output.

Please look at the output screen

Thanks

Re: SNMP configuration on cisco ASA 5500 series

Posted: Wed Aug 07, 2013 12:57 pm
by prashanthm88
Output 2

Re: SNMP configuration on cisco ASA 5500 series

Posted: Wed Aug 07, 2013 4:55 pm
by abrist
It looks like sysDescr.0 exists, but the other OIDs do not. Are you sure this device supports those OIDs?

Re: SNMP configuration on cisco ASA 5500 series

Posted: Thu Aug 08, 2013 10:52 am
by prashanthm88
I got same OID's from Solarwinds web portal and I checked in Cisco web site too. I ran snmwalk with -On" command it showed the same OID which I used in check_snmp. Please check the screen shot for the device OID.

BTW when I used the MIB, it worked. I may sound little confused but please look at the screen shots.