Page 1 of 1

Have a question on alert notifications

Posted: Thu Jul 02, 2020 4:05 am
by ibmkenexa
Team,

Can you please clarify about alert notifications.

if host notifications are in disable state. can't we get service alerts from that host ?

We have scenario:

Host was down and alert notifications was in disable state, however services are up and notifications are in enable state.

One of the service got down but alert did not trigger from that service. after some time the host is back online and alerts triggered from service.

Re: Have a question on alert notifications

Posted: Thu Jul 02, 2020 1:33 pm
by lmiltchev
Notifications for services are suppressed when the host is in a hard non-OK state - this is by design.
If the host is in hard non-OK state, notifications for services on this host won't be sent out.
https://assets.nagios.com/downloads/nag ... tions.html

As a "workaround", you could replace the existing host check command with "check_dummy", and pass "0" as an argument. This way the host's status will always be "UP", and service notifications will be sent.

If you wanted to monitor the host as well, you could set up a separate check for it.