Page 1 of 1
Is there a way to check multiple hosts with 1 service?
Posted: Mon Jun 07, 2021 8:23 am
by nargit
Hello,
I am completely new to nagios and I would like to know if there is a way to check multiple hosts under the same service in nagios.
My problem is that I have 4 servers and 1 application running on each server (4 instances).
I would like to be notified if 50% of my applications are DOWN because I have a load balancer.
Is there an easy way to do this without writing a custom script ?
Re: Is there a way to check multiple hosts with 1 service?
Posted: Mon Jun 07, 2021 9:59 am
by mcapra
nargit wrote:I would like to be notified if 50% of my applications are DOWN because I have a load balancer.
You can use the BPI module with Nagios Core for this:
https://github.com/NagiosEnterprises/nagiosbpi
I think the check_multi plugin can do this logical grouping as well:
https://github.com/flackem/check_multi
Re: Is there a way to check multiple hosts with 1 service?
Posted: Mon Jun 14, 2021 1:18 am
by nargit
thank you I will check this
Re: Is there a way to check multiple hosts with 1 service?
Posted: Mon Jun 14, 2021 1:50 am
by nargit
wow 4 years old... the last contribution. This does not seems to be maintained anymore.
Maybe the community found a better way to achieve the same with another plugin or existing plugins ?
Re: Is there a way to check multiple hosts with 1 service?
Posted: Mon Jun 14, 2021 8:44 am
by scottwilkerson
nargit wrote:wow 4 years old... the last contribution. This does not seems to be maintained anymore.
Maybe the community found a better way to achieve the same with another plugin or existing plugins ?
There is advanced functionality in Nagios XI that can accomplish this
Re: Is there a way to check multiple hosts with 1 service?
Posted: Mon Jun 14, 2021 12:29 pm
by nargit
Well we have only nagios core and we de not plan to have nagios XI. I belive I will have to stick with this very old plugin. I am surprised that the community does not support a better version as this is kind of the standard now.
Thanks for the information.