Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
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
Owner
Nagios Exchange
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2009/06/plugin_command_wrapper.sh
The plugin wrapper v.0.1
===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"
You must be logged in to submit a review.
To:
From: