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_config

Current Version
0.61
Last Release Date
2011-05-07
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
101973
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
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!
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?