Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check_Cisco_Config

Current Version
.3
Last Release Date
2013-09-26
Compatible With
  • Nagios 3.x
License
Apache
Hits
93136
Files:
FileDescription
check_cisco_config.plcheck_cisco_config.pl
readme.txtreadme.txt
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Check_Cisco_Config
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
Reviews (3)
byThomasC., October 7, 2014
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.
byLyron, November 20, 2012
1 of 2 people found this review helpful
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!
Owner's reply

This is all incorporated into release .3

Thanks for the feedback!

bywhutest, June 24, 2012
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??