Reducing Excessive Event Logging; Configuring Log Source Thresholds - Cisco ASR 5000 Administration Manual

Staros release 21.1
Hide thumbs Also See for ASR 5000:
Table of Contents

Advertisement

System Logs

Reducing Excessive Event Logging

Event logging (evlogd) is a shared medium that captures event messages sent by StarOS facilities. When one
or more facilities continuously and overwhelmingly keep sending a high volume of event messages, the
remaining non-offender facilities are impacted. This scenario degrades system performance, especially as the
number of facilities generating logs increases.
Rate-control of event message logging is handled in the Log Source path. Essentially, every second a counter
is set to zero and is incremented for each log event that is sent to evlogd. If the count reaches a threshold
before the second is up, the event is sent, queued or dropped (if the evlogd messenger queue is full).
When any facility exceeds the upper threshold set with this command for the rate of message logging and
remains in the same state for prolonged interval, StarOS notifies the user via an SNMP trap or alarm.
A new threshold command allows a user to specify the percentage of facility event queue full. When this
threshold is exceeded, an SNMP trap and alarm are generated that specifies the offending facility.
The formats for the SNMP traps associated with this command are as follows:
• ThreshLSLogsVolume
• ThreshClearLSLogsVolume
If a trigger condition occurs within the polling interval, the alert or alarm will not be generated until the end
of the polling interval.
Both traps can be enabled or suppressed via the Global Configuration mode snmp trap command.

Configuring Log Source Thresholds

There are three Global Configuration mode commands associated with configuring and implementing Log
Source thresholds.
1 threshold ls-logs-volume – sets the parameters for the upper and lower thresholds for generating and
clearing traps/alarms respectively.
2 threshold poll ls-logs-volume interval – establishes the polling interval for this threshold.
3 threshold monitoring ls-logs-volume – turns monitoring of this threshold on and off.
Use the following example to configure syslog servers:
configure
[ default ] threshold ls-logs-volume upper_percent [ clear lower_percent ]
[ default ] threshold poll ls-logs-volume interval duration
[ no ] threshold monitoring ls-logs-volume
end
Notes:
<timestamp> Internal trap notification <trap_id> (ThreshLSLogsVolume) threshold
<upper_percent>%
measured value <actual_percent>% for facility <facility_name> instance <instance_id>
<timestamp> Internal trap notification <trap_id> (ThreshClearLSLogsVolume) threshold
<upper_percent>%
measured value <actual_percent>% for facility <facility_name> instance <instance_id>
Reducing Excessive Event Logging
ASR 5000 System Administration Guide, StarOS Release 21.1
185

Advertisement

Table of Contents
loading

Table of Contents