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

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

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

Postby nargit » Mon Jun 07, 2021 8:23 am

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 ?
nargit
 
Posts: 4
Joined: Tue Jun 01, 2021 9:58 am

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

Postby mcapra » Mon Jun 07, 2021 9:59 am

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

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

Postby nargit » Mon Jun 14, 2021 1:18 am

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?

Postby nargit » Mon Jun 14, 2021 1:50 am

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 ?
nargit
 
Posts: 4
Joined: Tue Jun 01, 2021 9:58 am

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

Postby scottwilkerson » Mon Jun 14, 2021 8:44 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

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

Postby nargit » Mon Jun 14, 2021 12:29 pm

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.
nargit
 
Posts: 4
Joined: Tue Jun 01, 2021 9:58 am


Return to Community Support

Who is online

Users browsing this forum: fmorillo and 41 guests