Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated info re level, removed misleading column

opEvents uses its own set of numeric priorities for events, ranging from 0 to 10. This priority value is saved in the priority event property.

As events generally originate from external sources with their own priority concepts, a bit of translation is required. The following table describes the mappings between event priorities in opEvents and related services: how syslog and email messages sent by opEvents are marked, and how events sourced from NMIS are classifiedfixme describe: mappings from event priorities to names, syslog severities and nmis levels.

 

normaln/a
opEvents PriorityPriority NameSyslogNMIS LevelEmail Priority
0debug (7)debugn/alow
1info (6)infon/alog
2notice (5)Normallow
3warning (4)warning

WarningWarning

normal
4n/a warningn/anormal
5minorerrorerr (3)

Minor

normalMinor
6majorcriticalcrit (2)MajorhighMajor
7criticalalert (1)Criticalhigh
8fatalemergencyemerg (0)FatalhighFatal
9 emergencyemerg (0)n/ahigh
10catastrophicemergencyemerg (0)n/ahigh

opEvents' standard parser rules will only generate event priority numbers in the range of 0 to 10 (inclusive), but it's generally ok to use numbers above 10. From version 2.0.8 onwards opEvents replaces negative priority numbers by priority 0.

From version 2.2 onwards, opEvents also (re)sets the level event property on event creation (computed from the priority and substituting the nearest available level name for untranslatable priorities, e.g. 4). Please note that this is purely for display purposes; opEvents bases any decisions exclusively on the priority value.