Recommended method for setting the severity level for services and hosts

I found the variables host.severity and service.severity but no information about how they are used. Should I use these variables for custom severity management? And what is the recommended way with the director.

Those are state attributes which cannot be modified by the user. The docs URL also contains a reference to the technical specification.

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

1 Like

hello @dnsmichi could you give some hints on how it is calculated? How to read this.

severity // Number // calculated value.
for example, based on this one
“severity”: 2176,
it is from the service object.

Marcin