Is there a way to check multiple hosts with 1 service?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nargit
Posts: 4
Joined: Tue Jun 01, 2021 9:58 am

Is there a way to check multiple hosts with 1 service?

Post 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 ?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Is there a way to check multiple hosts with 1 service?

Post 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
Former Nagios employee
https://www.mcapra.com/
nargit
Posts: 4
Joined: Tue Jun 01, 2021 9:58 am

Re: Is there a way to check multiple hosts with 1 service?

Post by nargit »

thank you I will check this :)
nargit
Posts: 4
Joined: Tue Jun 01, 2021 9:58 am

Re: Is there a way to check multiple hosts with 1 service?

Post 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 ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Is there a way to check multiple hosts with 1 service?

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
nargit
Posts: 4
Joined: Tue Jun 01, 2021 9:58 am

Re: Is there a way to check multiple hosts with 1 service?

Post 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.
Locked