Page 2 of 4

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 10:24 am
by prashanthm88
Thanks for the reply, I've updated the nagios plugin and re-ran the snmp walk wizard. Right now I getting new error message "External command error: No log handling enabled - turning on stderr logging"

Please look at the screen shot for the error report.

Can you please tell me how to fix this error.

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 10:47 am
by abrist
What is the verbose error message when your check command is run from the cli?

Code: Select all

./check_snmp -H 192.168.20.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 -a MD5 -u W -w 1000 -c 1050

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 11:51 am
by prashanthm88
I ran the same command in CLI and I'm getting ' No valid data return". When I removed the values from the command ( -u W -w 1000 -c 1050) I'm getting "SNMP OK - = No Such Object available on this agent at this OID |".

I'm not sure about the OID becasue the OID which I used in the script was copied from Solarwinds screen.

Please look error screen shot.

Thanks

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 2:32 pm
by scottwilkerson
More importantly, this information correct
username testuser?
password testpassword ?
priv password testpassword ?

Are you using MD5 authprotocol ?
AES privproto?

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 4:10 pm
by prashanthm88
The information which I provided is correct and I used the same credentials in Solarwinds. I took a screen shot from Solarwinds web Portal which has the credential information. Can you please look at the screenshot and let me know if I need to change the script.

Thank you

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 4:37 pm
by scottwilkerson
Taking the plugin and the OID out of the mix, can you run the following and get an appropriate response

Code: Select all

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

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 5:00 pm
by prashanthm88
Thanks for you're quick reply.

Please look at the screen shot for the output. I have not received any error now.

Thank you

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 5:13 pm
by prashanthm88
Output.

Re: SNMP configuration on cisco ASA 5500 series

Posted: Mon Aug 05, 2013 5:40 pm
by prashanthm88
Hello,

I ran the snmpget " -On" command to found out device OID and ran check_snmp command. I got an output which looks like it is finding the correct device with the given login credentials.Please look at the output and correct me if there is a mistake in the script.

Thanks

Re: SNMP configuration on cisco ASA 5500 series

Posted: Tue Aug 06, 2013 8:59 am
by prashanthm88
Hello,

I ran snmpget and snmpwalk command in cli. So far I have not received any errors. But when I ran check_snmp I received "External command error: No log handling enabled - turning on stderr logging"

I still cannot see anything except ping and https commands on snmp wizard . I ran the check_snmp and check_cisco_ips.pl commands from ccm and cli, no luck so far. I've attached the screenshot of the output.

Please help me.