Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
plugin_command_wrapper
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!
===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"
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)
Be the first to review this listing!