The check interval (in seconds). This interval is used for checks when the service is in a HARD
state. Defaults to 5m
.
Check command timeout in seconds. Overrides the CheckCommand's timeout
attribute.
A short description of the service.
The service groups this service belongs to.
The host this service belongs to. There must be a Host
object with that name.
The last hard state (0 = OK, 1 = WARNING, 2 = CRITICAL, 3 = UNKNOWN).
The previous state (0 = OK, 1 = WARNING, 2 = CRITICAL, 3 = UNKNOWN).
When the last CRITICAL state occurred (as a UNIX timestamp).
When the last OK state occurred (as a UNIX timestamp).
When the last UNKNOWN state occurred (as a UNIX timestamp).
When the last WARNING state occurred (as a UNIX timestamp).
The number of times a service is re-checked before changing into a hard state. Defaults to 3.
for example _etc
This interval is used for checks when the service is in a SOFT
state. Defaults to 1m
. Note: This does not affect the scheduling after a passive check result.
The current state (0 = OK, 1 = WARNING, 2 = CRITICAL, 3 = UNKNOWN).
The name of the check command.
The name of a time period which determines when this service should be checked. Not set by default (effectively 24x7).
Optional
host
Service objects describe network services and how they should be checked by Icinga 2.
Example:
See