SNMP configuration on cisco ASA 5500 series
-
prashanthm88
- Posts: 23
- Joined: Wed Jul 24, 2013 2:49 pm
Re: SNMP configuration on cisco ASA 5500 series
Can any one help me!!!
Re: SNMP configuration on cisco ASA 5500 series
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
prashanthm88
- Posts: 23
- Joined: Wed Jul 24, 2013 2:49 pm
Re: SNMP configuration on cisco ASA 5500 series
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
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
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SNMP configuration on cisco ASA 5500 series
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
./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
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.
-
prashanthm88
- Posts: 23
- Joined: Wed Jul 24, 2013 2:49 pm
Re: SNMP configuration on cisco ASA 5500 series
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.
"SNMP CRITICAL - * = No Such Object available on this agent at this OID"
Please look at the screenshot for better answer.
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
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-
prashanthm88
- Posts: 23
- Joined: Wed Jul 24, 2013 2:49 pm
Re: SNMP configuration on cisco ASA 5500 series
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
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
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
Output 2
You do not have the required permissions to view the files attached to this post.
Re: SNMP configuration on cisco ASA 5500 series
It looks like sysDescr.0 exists, but the other OIDs do not. Are you sure this device supports those OIDs?
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.
"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
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.
BTW when I used the MIB, it worked. I may sound little confused but please look at the screen shots.
You do not have the required permissions to view the files attached to this post.