SNMP configuration on cisco ASA 5500 series

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
prashanthm88
Posts: 23
Joined: Wed Jul 24, 2013 2:49 pm

Re: SNMP configuration on cisco ASA 5500 series

Post 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.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: SNMP configuration on cisco ASA 5500 series

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
prashanthm88
Posts: 23
Joined: Wed Jul 24, 2013 2:49 pm

Re: SNMP configuration on cisco ASA 5500 series

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP configuration on cisco ASA 5500 series

Post by scottwilkerson »

More importantly, this information correct
username testuser?
password testpassword ?
priv password testpassword ?

Are you using MD5 authprotocol ?
AES privproto?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
prashanthm88
Posts: 23
Joined: Wed Jul 24, 2013 2:49 pm

Re: SNMP configuration on cisco ASA 5500 series

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP configuration on cisco ASA 5500 series

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
prashanthm88
Posts: 23
Joined: Wed Jul 24, 2013 2:49 pm

Re: SNMP configuration on cisco ASA 5500 series

Post 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
You do not have the required permissions to view the files attached to this post.
prashanthm88
Posts: 23
Joined: Wed Jul 24, 2013 2:49 pm

Re: SNMP configuration on cisco ASA 5500 series

Post by prashanthm88 »

Output.
You do not have the required permissions to view the files attached to this post.
prashanthm88
Posts: 23
Joined: Wed Jul 24, 2013 2:49 pm

Re: SNMP configuration on cisco ASA 5500 series

Post 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
You do not have the required permissions to view the files attached to this post.
prashanthm88
Posts: 23
Joined: Wed Jul 24, 2013 2:49 pm

Re: SNMP configuration on cisco ASA 5500 series

Post 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.
You do not have the required permissions to view the files attached to this post.
Locked