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

passive2active

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 3.x
License
Other
Hits
5743
Files:
FileDescription
passive2active.shpassive2active.sh
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 script convert an passive check to active. Allows the use of an passive plugin with NRPE.
--------------------------------------------------------------------------------

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

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

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

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


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

USAGE :
/usr/local/nagios/libexec/check_passif.sh arg1 arg2 | /usr/local/nagios/libexec/passiv2activ


example :

command[echo_up]=/bin/echo "host;service;0;UP" | ./active2passive.sh


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

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

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