27. Periodic
Monitoring
MN700004 Rev 01
313
•
Measured values
: What is the temperature? How many packet errors are there? The
monitor function returns actual measured values for the port and temperature
indicators.
Temperature monitoring measures the temperature using the Fahrenheit or Celsius scale.
Port monitoring measures error packets as CRC, Runts and Overrun.
(
)
100%
received
packets
good
Total
received
packets
good
Total
received)
packets
(Total
×
−
Alert Behavior
An alert is generated when the Power indicator reports a Failed condition
-or-
the Temperature or Port indicator diverges from a preset limit value.
Two kinds of alert action are available:
•
log
– the alert status is written to a CLI interface’s history and error message log files
•
trap
– an SNMP trap is generated.
Any or all of these actions can be assigned to an alert status. Alert behavior can be configured
globally for all monitored indicators, or individually for specific indicators.
How Alerts are Triggered
There are two types of monitored indicators:
•
Pass/Fail conditions
: Is the power supply working? The monitor function returns a
simple Pass or Fail status for power. When alert notification is enabled, alerts are
triggered when the status is Fail.
•
Measured values
: What is the temperature? How many packet errors are there? The
monitor function returns actual measured values for temperature and port operation.
The
limit
and
delta
commands in Monitoring Configuration mode are used to define
alert notification triggers for these indicators.
Limit-based Alert Triggering
A reference value can be set for the temperature,CPU and RAM indicator by using the
limit
command in Monitoring Configuration mode. You can set the condition that alerts will be
generated only on the instance that the measured value rises above this reference, or only
when it drops below this reference, or when it crosses the reference in either direction. For
example, if you set alerts to be triggered when the measured value crosses the limit of 5 in
either direction:
•
An alert is triggered when the last measurement was 4 and the latest measurement is
6.
•
No new alerts are triggered as long as measurements remain above 5.
•
An alert is triggered when the measured value falls back below 5.
When the limit command is used alone, alerts are triggered only when the measured value
crosses the limit value. The
delta
command in Monitoring Configuration mode can be used to
configure a range of alert triggers relative to the limit value.