Others

plugin_command_wrapper

Description:

This script is a Nagios (3.xx) plugin that runs another Nagios plugin, and then, depending on the plugin returned status, run a custom command. The status of the Nagios plugin is returned at the end of the script.

Current Version

Last Release Date

June 24, 2009

Compatible With


Project Files
Project Notes
===Examples=== To get MRTG information only if the host is pingable: $ plugin_command_wrapper.sh --command "my_mrtg_command -H remoteh1" --plugin "/usr/lib/nagios/plugins/check_ping -H remoteh1 ..." --states "o" The same, but getting commands and plugins from files: $ plugin_command_wrapper.sh -c "mrtg_cmd_file" -p "check_ping_plugfile" -s "o"
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
94,272