Table 182: Severity Level Mapping For Syslog Events
DescriptionSyslog PrioritySeverity Keyword
System is unusable.LOG_EMERG (0)severity_fatal
Critical conditions, immediate
attention required.
LOG_ALERT (1)severity_critical
Major conditions.LOG_CRIT (2)severity_major
Minor conditions.LOG_ERR (3)severity_minor
Warning conditions.LOG_WARNING (4)severity_warning
Basic notification, informational
messages.
LOG_NOTICE (5)severity_notification
Normal event, indicates returning
to a normal state.
LOG_INFO (6)severity_normal
Debugging messages.LOG_DEBUG (7)severity_debugging
Result String
None
Set _cerrno
No
Event_reqinfo
"event_id %u event_type %u event_type_string {%s} event_pub_sec %u event_pub_msec %u"
"msg {%s}"
DescriptionEvent Type
Unique number that indicates the ID for this published
event. Multiple policies may be run for the same
event, and each policy will have the same event_id.
event_id
Type of event.event_type
An ASCII string that represents the name of the event
for this event type.
event_type_string
The time, in seconds and milliseconds, when the event
was published to the EEM.
event_pub_sec event_pub_msec
The last syslog message that matches the pattern.msg
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1947
event_register_syslog