Check_Cisco_Config plugin error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
network2016
Posts: 47
Joined: Tue Mar 08, 2016 11:35 am

Re: Check_Cisco_Config plugin error

Post by network2016 »

SNMPwalk result.PNG
Hi

The output is it run all mibs . I have attached the last lines of the SNMP walk

Please check

Regards
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Check_Cisco_Config plugin error

Post by rkennedy »

Can you please run it through putty so you're able to copy the whole output, or pipe the snmpwalk to a file you can upload?

We'll need to verify what is actually being returned my the snmpwalk.
Former Nagios Employee
network2016
Posts: 47
Joined: Tue Mar 08, 2016 11:35 am

Re: Check_Cisco_Config plugin error

Post by network2016 »

SNMP walk output.docx
output.txt
Hi

Please find the attached output for snmpwalk on switch


Regards
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Check_Cisco_Config plugin error

Post by tgriep »

Can you post your running configuration for your Cisco Switch?
What the plugin looks like it is trying to do is to configure some settings in the switch so the switch will download it's configuration file to the tftp server and then the plugin will compare them.
So the community string has to be setup on the device as read/write so the plugin can upload the settings to it and also the switch needs access to the tftp server.
Make sure that the switch is setup to do both.
Be sure to check out our Knowledgebase for helpful articles and solutions!
network2016
Posts: 47
Joined: Tue Mar 08, 2016 11:35 am

Re: Check_Cisco_Config plugin error

Post by network2016 »

runningconfig.txt
Hi Please check the attached running -config file for switch

also my nagios server is at 192.168.150.20

tftp server at 192.168.150.90


and public community is RW

Please advise accordingly.


Regards
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Check_Cisco_Config plugin error

Post by tgriep »

When the plugin executes, the following command is run to upload the settings in to your switch, can you run it on the XI server and see if it works.

Code: Select all

snmpset -c public -v 2c 192.150.12 1.3.6.1.4.1.9.9.96.1.1.1.1.2.1 i 1 .1.3.6.1.4.1.9.9.96.1.1.1.1.3.1 i 4 .1.3.6.1.4.1.9.9.96.1.1.1.1.4.1 i 1 .1.3.6.1.4.1.9.9.96.1.1.1.1.5.1 a "192.168.150.90" .1.3.6.1.4.1.9.9.96.1.1.1.1.6.1 s "/usr/local/nagios/tftp" .1.3.6.1.4.1.9.9.96.1.1.1.1.14.1 i 4
Be sure to check out our Knowledgebase for helpful articles and solutions!
network2016
Posts: 47
Joined: Tue Mar 08, 2016 11:35 am

Re: Check_Cisco_Config plugin error

Post by network2016 »

SNMPset result.PNG
Hi

Sorry for late reply ...

I had tried running the snmpset command from nagios CLI as mentioned by you . It returns the same result as attached ..

Please reply also the SNMPv2-SMi mib failed to translate.


Regards
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Check_Cisco_Config plugin error

Post by tgriep »

The following message
Reason: notWritable (That object does not support modification) and the Failed object error
leads me to believe that your device does not support writing the information for downloading the configuration to the tftp server so the plugin may not work for you.
You may want to contact Cisco to see if it does.
Be sure to check out our Knowledgebase for helpful articles and solutions!
network2016
Posts: 47
Joined: Tue Mar 08, 2016 11:35 am

Re: Check_Cisco_Config plugin error

Post by network2016 »

Hi

thanks for the reply ,


But I believe the device is SG300 managed switch and it can backup and restore the configuration file to the TFTP server ,also I have verified this by backup the device startup/running config files to the tftp server. and it does successfully.

any other comments please ,if u can suggest or any alternate way for it.

regards
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Check_Cisco_Config plugin error

Post by rkennedy »

I don't think writing to an OID / MIB is the same thing as doing a TFTP backup / restore. I would look to see if any of the other plugins support what you're trying to do, or modify the existing one. More can be found at https://exchange.nagios.org
Former Nagios Employee
Locked