Table Of Contents
Health Monitor
Description
The Health Monitor feature monitors key performance attributes of the shelves managed by the system controller.
The Health Monitor feature continually polls its managed shelves to obtain the information stored in the Health Monitor MIB. Management stations collect information for all the shelves from the system controller rather than by polling each shelf individually.
In addition, you can configure specific performance thresholds for all managed shelves through simple commands on the system controller. The system controller uses SNMP to automatically configure the following on each managed shelf:
•
Expressions in the EXPRESSION-MIB to calculate the attributes
•
RMON alarms to poll the attributes at specific intervals
•
RMON events to send traps to the system controller when an attribute exceeds its specified threshold
When threshold traps are received by the system controller, they are converted to Health Monitor traps and sent to trap destinations configured in the system controller.
Benefits
The Health Monitor feature provides the following benefits:
•
Simplified configuration of SNMP-based monitoring functions. Entering a few commands on the system controller configures all of the managed shelves to send traps.
•
Management systems poll only the system controller to get Health Monitor MIB data. The management systems do not have to poll the individual shelves. Thus, this feature reduces network traffic and system resources used by management systems.
List of Terms
shelf—An access server or router managed by the system controller.
system controller—A Cisco IOS-based device that aids in the monitoring and management of a number of access servers and routers.
Prerequisites
In order to use this feature, you must first configure the Shelf Discovery and Autoconfiguration feature. Refer to the "Shelf Discovery and Configuration" feature documentation for these tasks.
In addition, the SNMP Manager feature should be configured on the system controller. Use the snmp-server manager command to enable this feature. Refer to the "SNMP Manager" feature documentation from 11.3(1)T for details.
Configuration Tasks
When the Shelf Discovery and Autoconfiguration feature is enabled, the system controller automatically polls its managed shelves for Health Monitor MIB data. The system controller polls all the discovered shelves once a minute to obtain this data. Use the show syscon mibpoll EXEC command to display the current Health Monitor MIB data.
Optionally, you can configure the managed shelves to monitor certain attributes and notify the system controller when the attribute thresholds are exceeded, as described in the following section.
Monitor Shelf Attributes
To configure monitored attributes for the managed shelves, perform the following tasks in global configuration mode on the system controller:
The Health Monitor MIB traps sent by the system controller are more readable than the traps sent to the system controller from the managed shelves. In order to send Health Monitor MIB traps to a management station, you should configure the syscon monitor traps command, the snmp-server enable traps command, and the appropriate snmp-server host command.
To view the status of the monitoring process, use the show syscon monitor EXEC command.
Configuration Examples
The following system controller sample configuration monitors three attributes and forwards traps to myhost.cisco.com.
! The following commands are configured as part of the Shelf Discovery and! Autoconfiguration feature.!syscon password syspasswordsyscon community syscommunity!! The following lines configure the shelves to monitor IO memory on all the shelves and! total modem and trunk utilization.! If IO memory utilization exceeds 10%, the shelf sends a trap to the system controller.! If the total utilization of all modems or trunk on all shelves exceeds 5%, the system! controller generates a trap.!syscon monitor modem 5syscon monitor trunk 5syscon monitor io-mem 10!! The following commands enable forwarding of traps. When the system controller receives! a trap from a managed shelf or generates one itself, it forwards the trap to the host! called myhost using the community string public.!syscon monitor trapssnmp-server host myhost.cisco.com publicsnmp-server enable traps!! The following line enables the SNMP manager process.!snmp-server managerYou can view the current configuration of Health Monitor on the system controller with the show syscon monitor command.
nnm3640-2# show syscon monitorHealth Monitor setup status on the shel(f,ves):Shelf# Shelf IP Address Monitoring Type Threshold Value Status3 172.23.66.109 IO-Mem 10 ActiveHealth Monitor setup status on the system controller:Monitoring Type Threshold Value StatusTrunk 5 ActiveModem 5 ActiveThe system will automatically configure each shelf to monitor its IO memory utilization. You can check the RMON configuration using the show rmon alarms and show rmon events commands on a managed shelf.
nnm7206-6# show rmon alarmsAlarm 596 is active, owned by IOMemMonitors ciscoExperiment.22.1.4.1.1.2.1.0.0.0 every 120 second(s)Taking absolute samples, last value was 66Rising threshold is 10, assigned to event 514Falling threshold is 0, assigned to event 0On startup enable rising or falling alarmnnm7206-6# show rmon eventsEvent 514 is active, owned by IOMemDescription is Send snmp trap to health_monitorEvent firing causes trap to community syscommunity, last fired 00:04:02Command Reference
This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 11.3 command references.
show syscon mibpoll
To display information about managed shelves contained in the Health Monitor MIB, use the show syscon mibpoll EXEC command.
show syscon mibpoll
Syntax Description
This command has no arguments or keywords.
Command Mode
EXEC
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
This command displays the shelf statistics contained in the Health Monitor MIB on the system controller. The system controller collects this information from its managed shelves.
Sample Display
The following is sample output from the show syscon mibpoll command:
Router# show syscon mibpollHealthmon MIB count entry status:Shelf ID 1 MIB entries last update 18:22:06 EDT Jan 12 1998.T1E1 Lines DS0s ModemsUp Down Active Total Total Inuse Unavailable1 1 23 46 24 0 0IO Mem CPU EgressPort EgressPortUsed Free Busy1 InOctetUtil OutOctetUtil1378476 7010132 20 0 0Healthmon MIB summary of count entry status:Total Total Total TotalShelves T1E1 Lines DS0s ModemsUp Down Active Total Total Inuse Unavailable1 1 1 23 46 24 0 0describes the fields shown in this display.
Related Commands
show syscon monitor
syscon monitor
syscon monitor traps
show syscon monitor
To display information about monitored shelf attributes, use the show syscon monitor EXEC command.
show syscon monitor
Syntax Description
This command has no arguments or keywords.
Command Mode
EXEC
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
This command is useful in determining the current status of monitored shelves.
Sample Display
The following example is sample output from the show syscon monitor command. The first group of lines show attributes being monitored separately on each shelf. The second group of lines show monitored attributes for all shelves combined.
Router# show syscon monitorHealth Monitor setup status on the shel(f,ves):Shelf# Shelf IP Address Monitoring Type Threshold Value Status1 172.27.32.173 IO-Mem 11 ActiveHealth Monitor setup status on the system controller:Monitoring Type Threshold Value StatusTrunk 12 ActiveModem 50 Activedescribes the fields shown in this display.
Related Commands
show syscon mibpoll
syscon monitor
syscon monitor traps
syscon monitor
To specify attributes for the Health Monitor on the system controller to monitor, use the syscon monitor global configuration command. The no form of this command disables monitoring for the specified attribute.
syscon monitor {io-mem percent | modem percent | trunk percent}
no syscon monitor [io-mem | modem | trunk]Syntax Description
Default
The system controller does not monitor any attributes.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
When you configure the syscon monitor command on the system controller, the system controller automatically configures each managed shelf to generate traps. The system controller will use SNMP to configure the following:
•
Expressions in the CISCO-EXPRESSION-MIB to calculate the attributes
•
RMON alarms to poll the attributes at specific intervals
•
RMON events to send traps to the system controller when an attribute exceeds its specified threshold
For attributes that are total percentages for all shelves combined, the system controller uses the information in the Health Monitor MIB to calculate the current total percentage. For example, the system controller calculates the total modem usage percentage from the individual usage values in the Health Monitor MIB.
Enter this command once for each attribute you wish to monitor.
Example
The following example configures the managed shelves to monitor IO memory and shelf utilization. If IO memory utilization exceeds 80 percent or modem utilization exceeds 70 percent, the shelf sends a trap to the system controller.
syscon password bluesyscon community publicsyscon monitor io-mem 80syscon monitor modem 70snmp-server managerRelated Commands
show syscon mibpoll
show syscon monitor
syscon monitor traps
syscon monitor traps
To enable Health Monitor MIB traps on the system controller, use the syscon monitor traps global configuration command. The no form of this command disables Health Monitor MIB traps.
syscon monitor traps
no syscon monitor trapsSyntax Description
This command has no arguments or keywords.
Default
The system controller does not send traps.
Command Mode
Global configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 AA.
This command enables the system controller to send Health Monitor MIB traps to network management stations. When the system controller receives a threshold trap from one of its managed shelves or generates a Health Monitor trap itself, it will forward the trap on to the management stations.
The traps are sent to the SNMP managers as specified by the snmp-server hosts command. You must configure this command in order to send traps from the system controller. In addition, enable trap generation using the snmp-server enable traps command.
Use the syscon monitor command to specify which threshold traps to configure on the shelves. If you do not specify enabled traps through the syscon monitor command, the system controller will not receive any traps from its managed shelves.
Example
The following example configures the router to send traps to the host myhost.cisco.com using the community string public. The system controller will generate modem utilization traps if the total modem utilization exceeds 70 percent.
syscon password bluesyscon community publicsyscon monitor modem 70syscon monitor trapssnmp-server host myhost.cisco.com publicsnmp-server enable trapssnmp-server managerRelated Commands
show syscon mibpoll
show syscon monitor
snmp-server enable traps
snmp-server host
syscon monitorSupported MIBs and RFCs
This feature implements the Health Monitor MIB and utilizes MIB2 and POP-MGMT-MIB on the managed shelves.