Open oxzi opened 1 month ago
Just curious, is there a reason that "notice" and "warning" are full words and "crit" and "emerg" aren't?
Just curious, is there a reason that "notice" and "warning" are full words and "crit" and "emerg" aren't?
Those severities are named after the journalctl/syslog(3)
priority levels.
Maybe it should also be documented how these map to Icinga2 states... especially the Unknown state.
Severity is currently only implicitly referenced, for example in the HTTP API > Process Event section. https://github.com/Icinga/icinga-notifications/blob/f21e6e170e14c46ce015beee8183c57ba88a7f11/doc/20-HTTP-API.md?plain=1#L36
It would be good to document somewhere what severity levels are available. https://github.com/Icinga/icinga-notifications/blob/61277c42ad5887d89a63a2224949e3e1bf4df7af/internal/event/severity.go#L24-L34