Page 1 of 1
How to "load balance" a particular check?
Posted: Wed Dec 05, 2018 4:54 pm
by dlukinski
Hello XI Support
We've got some series for checks, which are OK to run on 1 of 2 nodes (even if produce "WARN"), but not ok when not running at all ("CRIT")
- how to configure 2 different NRPE checks to behave like the "load balance one"?
Thank you
Re: How to "load balance" a particular check?
Posted: Thu Dec 06, 2018 11:56 am
by cdienger
BPI can be used to group two services to get an overall health -
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
Screenshot attached would show OK for the group when both are ok, CRITICAL when both are in warning or critical state, and WARNING if only one is in a warning or critical state.
Re: How to "load balance" a particular check?
Posted: Tue Jan 15, 2019 4:26 pm
by dlukinski
cdienger wrote:BPI can be used to group two services to get an overall health -
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
Screenshot attached would show OK for the group when both are ok, CRITICAL when both are in warning or critical state, and WARNING if only one is in a warning or critical state.
Thank you, please close the case
Re: How to "load balance" a particular check?
Posted: Tue Jan 15, 2019 4:42 pm
by cdienger
Will do. But first I think I'll point out this neat little plugin:
check_cluster in case you want an alternative to the bpi route.