Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_nrpe_multiplexor
1
2012-07-17
- Nagios 2.x
- Nagios 3.x
- Nagios XI
- Nagios Fusion
GPL
60235
File | Description |
---|---|
check_nrpe_multiplexor | check_nrpe_multiplexor |
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!
The result is the best case of all the hosts results. This is on the assumption that if the test works for at least one of the hosts that is an overall OK state.
This plugin is intended for use with clusters of servers where it is OK if at least one of them is in an OK state, in fact if in a hot standby situation there should only ever be one actualy providing a service in some situations. Rather than just checking pairs of hosts this is generalised to run a provided nrpe test over N hosts and report the 'best' result of doing so.
As an aditional twist a second nrpe script can be provided as a 'conditional and'. This script is only run against those servers which are an OK state for the first test. Writing a smarter plugin would be a better solution but this is available for when combining two existing proven commands is easier than getting a new one rolled out to hosts.
The nrpe commands and their arguments is up to you, this is only a multiplexor. The command is executed the same on each host (i.e. exact same args). If you have the need for meta-data subsitutions (e.g. name of host passed), then be my guest - fix it :)
How to sensibly present a compound result is a bit up in the air. You may need to tailor that to your needs. At the moment if there is a secondary command the results of that are reported, throwing away any results from the primary.
As an aditional twist a second nrpe script can be provided as a 'conditional and'. This script is only run against those servers which are an OK state for the first test. Writing a smarter plugin would be a better solution but this is available for when combining two existing proven commands is easier than getting a new one rolled out to hosts.
The nrpe commands and their arguments is up to you, this is only a multiplexor. The command is executed the same on each host (i.e. exact same args). If you have the need for meta-data subsitutions (e.g. name of host passed), then be my guest - fix it :)
How to sensibly present a compound result is a bit up in the air. You may need to tailor that to your needs. At the moment if there is a secondary command the results of that are reported, throwing away any results from the primary.
Reviews (0)
Be the first to review this listing!