![Juniper MEDIA FLOW CONTROLLER 2.0.4 - Administrator'S Manual Download Page 231](http://html1.mh-extra.com/html/juniper/media-flow-controller-2-0-4/media-flow-controller-2-0-4_administrators-manual_2032854231.webp)
Configuring Log Statistics Thresholds (CLI)
231
Media Flow Controller Administrator’s Guide
Configuring and Using Media Flow Controller Logs and Alarms
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
stats
for CLI details.
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>
Summary of Contents for MEDIA FLOW CONTROLLER 2.0.4 -
Page 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Page 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...
Page 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...
Page 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...
Page 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...
Page 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...