Page 1 of 1
Ping service alert post Host Down
Posted: Wed Dec 29, 2021 1:57 pm
by vaadaud
Hi Team,
Is it possible to send the Ping service notification in case Host is Down as default logic is to suppress the all services notification if host down. If yes, pls share the steps
Thanks
Re: Ping service alert post Host Down
Posted: Wed Dec 29, 2021 5:43 pm
by pbroste
Hello
@vaadaud
Thanks for reaching out, want to make sure that we are on the same page. Sounds like you have a service check that is pinging a host and then to make all your service checks dependent upon the ping service check returning OK.
For example:
host_down_disable_service_checks=1 is a global version of this found in nagios.cfg.
https://support.nagios.com/kb/article.p ... tegory=164
Let me know if we need to dial this in more,
Perry
Re: Ping service alert post Host Down
Posted: Wed Dec 29, 2021 11:16 pm
by vaadaud
We have 1 server with Ping parameter. The requirement is if Host Down then it should send the Ping service notification but as per default logic if host is down then it will send Host down and suppress notification of all services.
Re: Ping service alert post Host Down
Posted: Mon Jan 03, 2022 11:16 am
by pbroste
Hello
@vaadaud
Thanks for following up with further details, with Service Dependency Management to suppress notifications when host is down according to the 'ping service check'.
With the ping check to host, and all of the service checks on the host are dependent upon the ping check.
To set this up in XI, go to Configure -> Core Configuration Manager -> Service Dependencies -> Add New
For our ping check to a host example, we would select Manage Hosts, select the host in question. Then Manage Services, and select the Ping check. Then select Manage Dependent Hosts, again select the host in question. Then Manage Dependent Services, and select all of the other services on that host.
Examples can be found here:
https://assets.nagios.com/downloads/nag ... ncies.html
Thanks,
Perry