CHAPTER 5 CLI Commands
Media Flow Manager Administrator’s Guide
142
stats
Copyright © 2010, Juniper Networks, Inc.
Notes:
•
alarm <alarm_ID>
—Configure alarms based on sampled or computed statistics. See
“stats alarms,"
next, for the list of supported alarms. Note that some statistics are of
concern when they fall below a certain point, others when they rise above a certain point.
•
clear
—Clear all state for this alarm. Clearing an alarm resets it to a non-error state,
clears the watermarks, and forgets the event history.
Note!
“watermark” for rising
alarm = max value since reset; for falling alarm = min value since reset.
•
enable
—Enable this alarm. Use
no stats alarm <alarm_ID> enable
to disable.
•
falling
—Set alarm for when specified statistic fall too low.
•
clear-threshold <value>
—This value terminates the alarm.
•
error-threshold <value>
—This value initiates the alarm.
•
rate-limit
—Set alarm event rate-limits:
•
count
—Set 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. See
“stats alarm rate-limit count,"
below, for more information.
•
reset
—Reset the rate-limit counters and time for the specified alarm.
•
window
—Set the alarm event rate-limit duration windows for the three types of
durations (
short, medium, long
) for alarms; defaults are short=3600 (1 hour),
medium=86400 (1 day), long=604800 (1 week).
•
rising
—Set alarm for when specified statistic rises too high.
•
clear-threshold
—This value terminates the alarm.
•
error-threshold
—This value initiates the alarm.
•
chd <CHD_ID>
—Configure computed historical datapoints (CHDs). See
“stats CHDs,"
next, for the list of supported CHDs.
•
clear
—Clear all data from this CHD series.
•
compute time
—Set parameters for when this CHD is computed, and which data
points are used in each calculation.
•
interval
—Specify calculation interval (how often to do a new calculation) in
number of seconds.
•
range
—Specify calculation range (the data points to use) in number of seconds.
•
clear-all
—Clear data for all samples and CHDs, and status for all alarms.
•
export <format> <report_name>
—Export statistics to file. Currently the only
supported value for
<format>
is
csv
(comma-separated value). The dataset to be
exported is determined by the
report_name
value. Options for
report_name
are:
memory
,
paging
, and
cpu_util
. All alarm statistics associated with the specified report
are exported.
•
after
—Only include stats collected after the specified time.
•
before
—Only include stats collected before the specified time.
Either one, both, or neither of the
after
and
before
arguments may be specified.
These place boundaries on the timestamps of the instances to be exported. When one
of these arguments is specified, two values must follow, one for the date (
yyyy/mm/
dd
) and one for the time (
hh:mm:ss
); in 24-hour time. Dash (-) may be used in the
<time>
field as an abbreviation for midnight. The date and time specified are
interpreted as local time according to the currently set timezone.
Содержание MEDIA FLOW MANAGER 2.0.2 - ADMINISTRATOR S GUIDE AND CLI
Страница 6: ...Media Flow Manager Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Страница 12: ...TABLE OF CONTENTS Media Flow Manager Administrator s Guide XII Copyright 2010 Juniper Networks Inc...
Страница 16: ...LIST OF FIGURES XVI Copyright 2010 Juniper Networks Inc...
Страница 152: ...CHAPTER 5 CLI Commands Media Flow Manager Administrator s Guide 152 write Copyright 2010 Juniper Networks Inc...