
server threshold
Configures server thresholds for CPU and/or memory utilization.
Syntax: server server-id {CPU | memory} threshold [falling | rising | interval}
server-id
Identifies the server as set with the server-id command.
Description: In server configuration mode, use the server server-id CPU threshold [falling | rising | interval] command to set the threshold points. By setting the server's threshold set points, a trap generates when the CPU usage rises above the threshold's rising set point. When the CPU usage falls below the falling set point, the trap clears and resets. CPU usage is measured in percentages. Default values for CPU usage are 93% and 95%.
In addition, use the interval keyword to set the rate at which the rising and/or falling set points are checked. One or all three of the keywords may be used simultaneously. The default value for intervals is 15 seconds.
In server configuration mode, use the server server-id memory threshold [falling | rising | interval] command to set the threshold. By setting the server's threshold, a trap generates when the memory availability falls below the threshold's falling set point. When memory availability rises above the rising threshold set point, the trap clears and resets. Memory availability is measured in megabytes. Default values for memory usage are 5MB and 7MB.
In addition, use the interval keyword to set the rate at which the rising and/or falling ranges are checked. One of all three of the keywords may be used simultaneously. The default value for intervals is 15 seconds.
Factory Default:
Table C-7
Default Threshold Values
Threshold Value Range
CPU usage: Rising: 95%, Falling 93%
75% to 100%
Memory: Rising: 7MB, Falling 5MB
0 to 100 MB
Interval: 15 seconds
5 to 40 seconds
Command Mode: Server Configuration.
Example 1: In the following example:
- The server 1 command identifies server 1, and changes the command mode to Server configuration.
- The CPU threshold falling 85 rising 93 interval 10 command sets the thresholds for the CPU usage.
- The show rmon alarms command displays the settings
router(config)#server 1
router(config-server): CPU threshold falling 85 rising 93 interval 10
router(config-server): end
router# show rmon alarms
router# Alarm 65536 is active, owned by jason
Monitors aviciCPUTotal5sec.196609 every 15 seconds
Taking absolute samples, last value was 5
Rising threshold is 93, assigned to event 65536
Falling threshold is 85, assigned to event 65537
Interval is 10, assigned to 65538
On startup enable rising alarm
Alarm 65537 is active, owned by config
Example 2: In the following example:
- The server 1 command identifies server 1, and changes the command mode to Server configuration.
- The memory threshold falling 85 rising 93 interval 10 command sets the thresholds for the CPU usage.
- The show rmon alarms command displays the settings
router(config)#server 1
router(config-server): memory threshold falling 7 rising 10 interval 30
router(config-server): end
router# show rmon alarms
router# Alarm 65536 is active, owned by jason
Monitors aviciPlatformMemoryFree.196609 every 15 seconds
Taking absolute samples, last value was 521547720
Rising threshold is 10, assigned to event 65539
Falling threshold is 7, assigned to event 65540
Interval is 30, assigned to 65541
On startup enable falling alarm
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: sys_mgmt.fm
HTML File Name: sys_mgmt40.html
Last Updated: 02/25/05 at 14:26:49