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

Active2Passive

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 3.x
License
Other
Hits
13968
Files:
FileDescription
active2passive.shActive2Passive script
active2passive.cActive2Passive C source
active2passive_install_el5_x86_64.runActive2Passive binary installation
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 lightweight script convert an active check to passive.
Allows the use of an active plugin with NSCA.
--------------------------------------------------------------------------------

THIS PLUGIN IS PROVIDED "AS IS", WITHOUT ANY WARRANTY, AND WITHOUT ANY SUPPORT.

--------------------------------------------------------------------------------

This lightweight script convert an active check to passive, without changing the plugin.
Allows the use of an active plugin with NSCA.

This check is write in bash (Linux).
Test with : CentOS 5


--------------------------------------------------------------------------------

USAGE :
./active2passive.sh plugin hostname service 'arg1 arg2 arg3'

plugin : check to run
hostname : host in nagios
service : service in nagios
arg : plugin arguments


example :
./active2passive.sh "/usr/local/nagios/libexec/check_disk" Server1 Disks '80 90' | send_nsca


--------------------------------------------------------------------------------

LICENCE : CC BY-SA 3.0
http://creativecommons.org/licenses/by-sa/3.0/

--------------------------------------------------------------------------------