On Friday 19 January 2018 at 14:20:56, Edgar Fuß wrote:

> What /exactly/ does a Service object's last_reachable attribute mean?
> 
> last: last time the check was actually executed or last time the check was
> due to be executed (but potentially not executed due to dependency
> violations)?
> reachable: the corresponding host was reachable or no (implicit or explicit)
> dependency prevented the check from actually being executed?

Given the definition from the documentation "Whether the host was reachable 
when the last check occurred."

https://www.icinga.com/docs/icinga2/latest/doc/09-object-types/#host

I would say that it indicates whether host was actually reachable at the time 
the last check took place.  If a scheduled check didn't take place for some 
reason, the host won't be checked for reachability.

If a check did take place, was the host itself reachable, independent of the 
outcome of the check.

The attribute 'last_check' will tell you when the last check did take place.

Note that somewhat misleadingly, the attribute 'state' will tell you the state 
of the object at that last check, whereas 'last_state' will tell you the state 
at the *previous* check.


Antony.

-- 
Wanted: telepath.   You know where to apply.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to