Configuring and Using Media Flow Controller Logs and Alarms
Media Flow Controller Administrator’s Guide
234
Stats Alarms
Copyright © 2010, Juniper Networks, Inc.
Stats Alarms
This section describes the stats alarms you can set. These may reach you through an
event name Options
(configurable).
Alarms can be in one of two states:
•
OK—The alarm is in a normal state.
•
ERROR—The alarm is already triggered and it is in the error state.
You can specify the error-threshold and clear-threshold levels for alarms using the stats
commands; for example:
stats alarm total_byte_rate rising error-threshold 10
stats alarm total_byte_rate rising clear-threshold 1
In this example, after the total_byte_rate stat alarm goes beyond 10, the alarm state changes
to ERROR. The state changes to OK only when the total_byte_rate stat alarm comes to less
than or equal to 1.
Use the stats commands to set “error” and “clear” thresholds for alarms.
Table 18
shows
Media Flow Controller stats alarms; all defaults are configurable. For details on stats chds
(computed historic datapoints) and stats samples, see
stats
in the
Chapter 10, “Media Flow
Controller CLI Commands.”
For configuration details, see
“Configuring Log Statistics Thresholds (CLI)” on page 231
.
1.
View current alarm, chd, and sample defaults.
show stats [alarm | chd | sample]
2.
View alarm thresholds, chd range and interval values, and sampling interval defaults.
show stats [alarm <alarm_ID>] [chd <chd_ID>] [sample <sample_ID>]
3.
Enable a stat alarm that is disabled by default.
stats alarm <alarm_ID> enable
4.
Set rising and falling error-thresholds and clear-thresholds, as appropriate. Some alarms
operate on a “rising” basis: that is, the alarm is triggered when something rises above the
error-threshold and is cleared when it falls back to the clear-threshold. Other alarms
operate on a “falling” basis: the alarm is triggered when something falls below the error-
threshold and is cleared when it rises back to the clear-threshold.
stats alarm <alarm_ID> rising error-threshold <threshold>
total_bytes
Total data bandwidth being served in the system; default = 10 seconds.
total_bytes_day
Total data bandwidth served in the last 24 hours; default = 5 minutes.
total_bytes_week
Total data bandwidth served in the last 7 days; default = 30 minutes.
total_cache_byte_count
Total data bandwidth being served from cache; default = 10 seconds.
total_disk_byte_count
Total data bandwidth being served from disk; default = 10 seconds.
total_origin_byte_count
Total data bandwidth being served from origin; default = 10 seconds.
Table 17
Stats Samples (Continued)
Stat Sample
Description
Содержание MEDIA FLOW CONTROLLER 2.0.4 -
Страница 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Страница 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...
Страница 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...
Страница 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...
Страница 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...
Страница 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...