Icinga / icinga-notifications

Icinga Notifications: new and improved notifications and incident management for Icinga (work in progress, not ready for production yet)
GNU General Public License v2.0
9 stars 0 forks source link

Document Severity Levels #252

Open oxzi opened 1 month ago

oxzi commented 1 month ago

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

martialblog commented 1 month ago

Just curious, is there a reason that "notice" and "warning" are full words and "crit" and "emerg" aren't?

yhabteab commented 1 month ago

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.

martialblog commented 1 month ago

Maybe it should also be documented how these map to Icinga2 states... especially the Unknown state.