healthcheck
To configure the health check cadence and metrics of a system, use the healthcheck command in Configuration mode. To disable health check, use the no form of this command.
Note |
Health check service is an optional RPM. You must download and install the package explicitly to use the service. |
healthcheck cadence <cadence-configuration> {enable} {metric | cpu | fabric-health | filesystem | fpd | free-mem | | shared-mem}
no healthcheck metric <metric-name>
Syntax Description
cadence |
Collects data about system health for enabled metrics at a configured time interval. The cadence can range from 30 to 1800 seconds. |
enable |
Enables health check service on the Route Processor (RP). |
metric {cpu | fabric-health | filesystem | fpd | free-mem | shared-mem} |
Specifies the configurable metrics based on a threshold that applies only to system resources (CPU, free-mem, shared-mem and filesystem). |
Command Default
Health check is disabled.
Command Modes
XR Config modeCommand History
Release |
Modification |
---|---|
Release 7.1.1 |
This command was introduced. |
Usage Guidelines
None
Task ID
Task ID |
Operations |
---|---|
root-system or diag or cisco-support or monitor or root-lr |
read, write |
Examples
This example shows how to enable health check service:
Router(config)#healthcheck enable
This example shows how to configure cadence (in seconds) at which data about system health is collected:
Router(config)#healthcheck cadence 30
This example shows how to configure the average utilization threshold of CPU metric:
Router(config)#healthcheck metric cpu avg-util 15-minute