Page 1 of 1

Can I add Warning/Critical to host notifications?

Posted: Mon Sep 30, 2019 12:42 pm
by randlebailey
Nagios XI 5.6.6

I have added 15 or so domain names that we own to be monitored in Nagios XI using check_domain.php. I added each domain name as a host and the whois works fine. If I add services, I immediately receive Unknown alerts. I create a host group for our domains and called the group DomainNames. I then added the 'hosts' to the group. They will not, however alert when warnings or criticals occur (due to them being hosts?).

Can I add warnings and criticals to just these specific domain name 'hosts' either individually or via the host group? I want to stay away from creating services for each of these, as they each show Unknown alerts. I am currenly limited on what I can specifiy for criticality.

Re: Can I add Warning/Critical to host notifications?

Posted: Mon Sep 30, 2019 2:19 pm
by benjaminsmith
Hi Randle,

In Nagios, there's a difference between host states and services states. A host is a device with an IP address and can be in one of three different states at any given time.

* Up
* Down
* Unreachable

While a service is associated with host and can be in one of four different states at any given time.
* Ok
* Warning
* Critical
* Unknown

You can add a critical threshold for the host check, but it will either be up or down. If you would like warning/critical thresholds for this check, you'll need set it up as a service.

More information available in the Nagios Core documentation.

Nagios Core Host Checks

Let me know if you have any other questions.

Re: Can I add Warning/Critical to host notifications?

Posted: Mon Sep 30, 2019 2:26 pm
by randlebailey
Thank you Benjamin. Makes total sense. Feel free to close this thread with my thanks.
Randy