Commands for monitoring the health of your system
You can use the system health
commands to display information about the health of system resources, to respond to alerts, and to configure future alerts. Using the CLI commands enables you to view in-depth information about how health monitoring is configured. The man pages for the commands contain more information.
Display the status of system health
If you want to… | Use this command… |
---|---|
Display the health status of the system, which reflects the overall status of individual health monitors |
|
Display the health status of subsystems for which health monitoring is available |
|
Display the status of node connectivity
If you want to… | Use this command… |
---|---|
Display details about connectivity from the node to the storage shelf, including port information, HBA port speed, I/O throughput, and the rate of I/O operations per second |
Use the |
Display information about drives and array LUNs, including the usable space, shelf and bay numbers, and owning node name |
Use the |
Display detailed information about storage shelf ports, including port type, speed, and status |
Use the |
Manage the discovery of cluster, storage, and management network switches
If you want to… | Use this command.. (ONTAP 9.8 and later) | Use this command.. (ONTAP 9.7 and earlier) |
---|---|---|
Display the switches that the cluster monitors |
|
|
Display the switches that the cluster currently monitors, including switches that you deleted (shown in the Reason column in the command output), and configuration information that you need for network access to the cluster and management network switches. This command is available at the advanced privilege level. |
|
|
Configure discovery of an undiscovered switch |
|
|
Modify information about a switch that the cluster monitors (for example, device name, IP address, SNMP version, and community string) |
|
|
Disable monitoring of a switch |
|
|
Disable discovery and monitoring of a switch and delete switch configuration information |
|
|
Permanently remove the switch configuration information which is stored in the database (doing so reenables automatic discovery of the switch) |
|
|
Enable automatic logging to send with AutoSupport messages. |
|
|
Respond to generated alerts
If you want to… | Use this command… |
---|---|
Display information about generated alerts, such as the resource and node where the alert was triggered, and the alert's severity and probable cause |
|
Display information about each generated alert |
|
Indicate that someone is working on an alert |
|
Acknowledge an alert |
|
Suppress a subsequent alert so that it does not affect the health status of a subsystem |
|
Delete an alert that was not automatically cleared |
|
Display information about the AutoSupport messages that alerts triggered within the last week, for example, to determine whether an alert triggered an AutoSupport message |
|
Configure future alerts
If you want to… | Use this command… |
---|---|
Enable or disable the policy that controls whether a specific resource state raises a specific alert |
|
Display information about how health monitoring is configured
If you want to… | Use this command… | ||
---|---|---|---|
Display information about health monitors, such as their nodes, names, subsystems, and status |
|
||
Display information about the alerts that a health monitor can potentially generate |
|
||
Display information about health monitor policies, which determine when alerts are raised |
|