Configuring Log Statistics Thresholds (Cli) - Juniper MEDIA FLOW CONTROLLER 2.0.4 - ADMINISTRATOR S GUIDE AND CLI Administrator's Manual

Administrator’s guide and cli command reference
Table of Contents

Advertisement

Media Flow Controller Administrator's Guide
test-vos (config) # logging format standard
test-vos (config) # logging fields seconds enable
test-vos (config) # logging files rotation criteria frequency daily
test-vos (config) # logging files rotation max-num 12
test-vos (config) # logging files rotation force
test-vos (config) # logging files delete oldest 5
test-vos (config) # logging files upload current scp://joe@sv01/home/joe
Password: *******
test-vos (config) #

Configuring Log Statistics Thresholds (CLI)

Use the stats commands to set thresholds for syslog events, and export parameters for which
statistics should be exported when. See
1. Enable or disable (with no) the specified alarm. Three alarms are disabled by default:
disk_io (Disk I/O per second too high), intf_util (network utilization too high), and
memory_pct_used (too much memory in use); all other alarms are enabled by default.
stats alarm <alarm_ID> enable
Example:
test-vos (config) # no stats alarm total_byte_rate enable
test-vos (config) # stats alarm total_byte_rate enable
2. Change the thresholds that initiate or terminate (clear) the specified alarm. The units for
the cpu_util_indiv alarm are hundredths of a point of the one-minute load average. For
example, setting it to 100 causes an alarm if the one-minute load average is ever over 1.0
when it is sampled. The units for the paging alarm are number of pages read from or
written to the swap partition that has occurred over the past 20 seconds. Type show stats
alarm to view alarm IDs and current status; to see default threshold values, enter show
stats alarm <alarm_ID>. Alarm threshold defaults have been adjusted for Media Flow
Controller.
stats alarm <alarm_ID> rising error-threshold <threshold>
stats alarm <alarm_ID> rising clear-threshold <threshold>
stats alarm <alarm_ID> falling error-threshold <threshold>
stats alarm <alarm_ID> falling clear-threshold <threshold>
3. Set or reset the alarm event rate-limit maximum counts for the three types of counts
(short, medium, long) for alarms; defaults are short= 5, medium=20, long= 50.
stats alarm <alarm_ID> rate-limit count long {50 | duration>}
stats alarm <alarm_ID> rate-limit count medium {20 | <duration>}
stats alarm <alarm_ID> rate-limit count short {5 | <duration>}
stats alarm <alarm_ID> rate-limit reset
4. Configure or reset alarm event rate-limit duration windows for the three types of durations
for alarms; defaults are short=3600, medium=86400, long=604800.
stats alarm <alarm_ID> rate-limit window long {604800 | <duration>}
stats alarm <alarm_ID> rate-limit window medium {86400 | <duration>}
stats alarm <alarm_ID> rate-limit window short {3600 | <duration>]
5. Change the amount of time between samples for the specified group of sample data. Type
show stats sample to view sample IDs and current sampling interval.
stats sample <sample_ID> interval <poll_interval_time_in_seconds>
Configuring and Using Media Flow Controller Logs and Alarms
stats
for CLI details.
Configuring Log Statistics Thresholds (CLI)
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Media flow controller 2.0.4

Table of Contents