Sample log event

cli_config_io properties contains a sample log event entry from this guide for the cli_config_io log event.

Table 1. cli_config_io properties

Property name

Value

Application name

USER

Event ID

2011

Event name

cli_config_io

SNMP notification prefix and OID

N/A

Default severity

minor

Message format string

User from $srcAddr$: $prompt$ $message$

Cause

A CLI command was entered in a configuration node.

Effect

The configuration was changed by the CLI command.

Recovery

No recovery is required.

The table title for a log event entry is the event name. Each entry contains the information described in Log Entry Field Descriptions .

Table 2. Log Entry Field Descriptions

Label

Description

Application name

The name of the application generating the log message.

Event id

The application event ID number.

Event name

The name of the event.

SNMP notification prefix and OID

The prefix and OID of the SNMP notification associated with the log event

Default severity

The default severity level of the event.

  • CRITICAL

  • MAJOR

  • MINOR

  • WARNING

  • INFO

  • CLEARED

Message format string

A text description of the event for CLI (show log), log files and syslog output.

The variables in the 'Message format string' do not necessarily apply to SNMP, NETCONF or EHS scripts. For the list of variables available to EHS scripts and NETCONF notifications, use the CLI command show log event-parameters.

For further information about variables found in the 'Message format string', please see the associated SNMP Notification definition in the SR OS MIBs.

Cause

The cause of the event.

Effect

The effect of the event.

Recovery

How to recover from this event, if necessary.