Host state vs service state

hi,

i have a question regarding host state vs service state.

when a host is down it is reported under the host problems menu item.
it is added to the counter of hosts with a problem. if the host has failed that also means that the services for that host have failed but they do not seem to be in the service problems counter. also the host has a large red box indicating it has failed, the service has a light red small bar on the left (like when you acknowledge a problem)

is that by design? i would expect the service to also be added to the failed service counter and be indicated with a big red box in the list with services problems.

i also have a second question, we have a number of hosts where we only want to check if they respond to ping requests. for the host template i selected ‘hostalive’ for the check command. is that enough for this basic check or is it recommended to also add a ping check service to the host?

thanks in advance

when a host is down it is reported under the host problems menu item.
it is added to the counter of hosts with a problem. if the host has failed
that also means that the services for that host have failed but they do
not seem to be in the service problems counter. also the host has a large
red box indicating it has failed, the service has a light red small bar on
the left (like when you acknowledge a problem)

is that by design?

Yes, it is:

https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/
#implicit-dependencies-for-services-on-host

i would expect the service to also be added to the failed service counter
and be indicated with a big red box in the list with services problems.

You can change the behaviour if you wish, but I think the default arrangement
makes sense because surely you don’t want to be alerted for every single
service on a host which is down - just being notified that the host is down and
needs attention is preferable?

There’s no point in overloading people with redundant alerts - it leads to
complacency, or people overlooking something important in amongst all the
clutter.

i also have a second question, we have a number of hosts where we only want
to check if they respond to ping requests. for the host template i
selected ‘hostalive’ for the check command. is that enough for this basic
check or is it recommended to also add a ping check service to the host?

“hostalive” is a ping check, but for more detail you can add another if you
wish:

https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/
#host-and-service-checks

"hostalive is the same as ping but with different default thresholds. Both use
the ping CLI command to execute sequential checks.

If you need faster ICMP checks, look into the icmp CheckCommand."

Regards,

Antony.

1 Like

thanks for clarifying Anthony,

i assumed it was something like that and indeed it makes sense.