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

check_config

Current Version
0.61
Last Release Date
2011-05-07
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
97273
Files:
FileDescription
check_config_cisco_v0.1.rb.zipcheck_config_cisco_v0.1.rb.zip
check_config_cisco_v0.2.rb.zipcheck_config_cisco_v0.2.rb.zip
check_config_dev_v0.61.rbcheck_config_dev_v0.61.rb
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This plugin is use to save config of switch or router.
This plugin, is available for devices like Cisco (ios or catos), h3c (3com), Enterasys.

This check is write in ruby language.
Add SSH support in v0.61
#!/usr/bin/env ruby
#check_conf_cisco v0.2
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
# Copyright Alain Pernelle
# Project: www.alpern.homelinux.org:3000

# Website: http://www.alpern.free.fr
# Quick documentation: use -h option
# TODO
# - keep name of save file with date. (do in version0.2)

# Utilisation:
# ------------
#./check_cisco_config_v0.2.rb -H -u -p -f -o [-s ssh]

# os can be ios, catos, h3c, enterasys
# -s ssh optionnal if not mode telnet
# -h, --help Print detailed help screen
#version 0.2 08/14/2009 add support of catos h3c enterasys network devices
# need device was setting with username and password
# Bug with Cisco Device Special password charatere
#
# Installation
# ------------
# Require ruby
# Require gem
# Ruby Module : install with gem
# gem install optiflag
# gem install net-ssh-telnet

# March 2011
# Some Require in ruby changed
# net-telnet is now net-ssh-telnet
# install the module with:
# gem install net-ssh-telnet
# this ruby module provide ssh and telnet functions.


Site en Fran├žais:
http://alpern.free.fr
Reviews (2)
After executing i get the error messsage

"CriticalErreur dans le programe" can someone help me?!
by, March 12, 2011
0 of 1 people found this review helpful
./check_config_cisco_v0.2.rb:200:in `': undefined method `close' for # (NoMethodError)

what to do?))
Owner's reply

Hello d0wn, did you install all required gem?