Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
2013-9-26 - Updated to version .3 This update should make the script work on newer Linux and Unix TFTP servers that require an existing file to exist before accepting an incoming file. The script now touches the file name to create an empty file so that the TFTP server will work. I also made sure to commit the file with Unix LF this time to avoid DOS style carriage returns. 2012-4-20 - A readme file has been added with some basic documentation and examples. This is a plugin that will utilize SNMPset and TFTP to backup and alert on changes for Cisco IOS devices. I successfully use this plugin with the following switches and APs (it probably works with many more, but this is only what I have in production.) Switches (LANBASE and LANLITE) 2950 2960 2960S 3560 APs (Autonomous) 1200 1231 1242
Current Version
.3
Last Release Date
2013-09-26
Owner
Paul Manley
Website
https://github.com/mrpaulmanley/check_cisco_config
License
Apache
Compatible With
Tried it on a 2060 Cisco Switch and received: Error in packet. Reason: noAccess Failed object: iso.3.6.1.4.1.9.9.96.1.1.1.1.2.219 Status is OK COnfig file is created but empty.
The plugin works just fine. If it throws the "command not found" error, you have to cut the line "#!/usr/bin/perl" and paste it on the first line. Later, if it throws this one: "bash: ./check_cisco_config.pl: /usr/bin/perl^M:..." you have to download dos2unix (sudo apt-get install dos2unix on debian based distros) and write: dos2unix check_cisco_config.pl. This error ocurrs because the .pl file was written on a DOS based OS (Windows) and the file format is diferent from unix. Cheers!
This is all incorporated into release .3 Thanks for the feedback!
Hello! It's very interesting plugin but it's not working. I installed it as described in readme.txt. When I execute it the following errors appear: #/usr/local/nagios/libexec/check_cisco_config.pl -H 10.14.214.253 -C cvdnu7834nhu -I localhost -T running -L /usr/local/nagios/configs -l /usr/local/nagios/tftp -N c2960-2nd-floor : command not foundibexec/check_cisco_config.pl: line 17: /usr/local/nagios/libexec/check_cisco_config.pl: line 18: use: command not found : command not foundibexec/check_cisco_config.pl: line 18: /usr/local/nagios/libexec/check_cisco_config.pl: line 19: use: command not found : command not foundibexec/check_cisco_config.pl: line 19: /usr/local/nagios/libexec/check_cisco_config.pl: line 20: use: command not found : command not foundibexec/check_cisco_config.pl: line 20: /usr/local/nagios/libexec/check_cisco_config.pl: line 21: use: command not found : command not foundibexec/check_cisco_config.pl: line 21: : command not foundibexec/check_cisco_config.pl: line 22: /usr/local/nagios/libexec/check_cisco_config.pl: line 24: =: command not found : command not foundibexec/check_cisco_config.pl: line 24: /usr/local/nagios/libexec/check_cisco_config.pl: line 25: =: command not found : command not foundibexec/check_cisco_config.pl: line 25: : command not foundibexec/check_cisco_config.pl: line 26: /usr/local/nagios/libexec/check_cisco_config.pl: line 27: syntax error near unexpected token `;' 'usr/local/nagios/libexec/check_cisco_config.pl: line 27: `check_arguments (); Could somebody help me to fix this error??
You must be logged in to submit a review.
To:
From: