iFixit / alertinator

Simplistic team-based alerting through email, sms and phone calls.
http://alertinator.readthedocs.org/
Other
9 stars 4 forks source link

Use full set of syslog severity levels #3

Open xiongchiamiov opened 10 years ago

xiongchiamiov commented 10 years ago

Unwittingly, I designed Alertinator to use a subset of syslog's severity levels (defined in rfc5424). It seems reasonable to support the full set.

It does seem like perhaps a bit much, though - not only will users need to determine which alert level is appropriate, but it makes user config more complex, particularly since we don't have a good way of specifying "this level and up".

entendu commented 8 years ago

particularly since we don't have a good way of specifying "this level and up".

We do -- that's the beauty of the bitmask. With the 3 levels you have today, reporting all except Critical would be ALL & ~CRITICAL. "Warning and up" could be ALL & ~NOTICE or WARNING | CRITICAL.

:+1: to this idea.