Networking NVIDIA NVOS User Manual for InfiniBand Switches

Health Monitoring Commands

nv show system health


nv show system health

Shows the system health status.

Syntax Description

N/A


Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv show system health
            operational  applied
----------  -----------  -------
status      Not OK
status-led  off

Health issues
================
    Component  Status information
    ---------  ------------------
    LEAKAGE-1  detected leakage

REST API

GET https://<ip>/nvue_v1/system/health

Related Commands

nv show system health history

Notes


nv show system health history


nv show system health history
nv show system health history files [<file-name>]

Shows the health history files, or opens a health history file.

Syntax Description

file-name

Optional. The name of the health history file to open. If you omit it, the command lists the health history files.

History

25.02.2002 

Example

admin@nvos:~$ nv show system health history
admin@nvos:~$ nv show system health history files

health history reports  File path
----------------------  -------------------------
health_history          /var/log/health_history
health_history.1        /var/log/health_history.1
admin@nvos:~$ nv show system health history files health_history

REST API

GET https://<ip>/nvue_v1/system/health/history

Related Commands

nv show system health

Notes

  • In the CLI, the file opens in the less viewer.

  • The nv show system health history command opens the health_history file.

nv show system health component


nv show system health component

Shows all system health components with their instances and health state.

Syntax Description

N/A


Default

N/A

History

25.02.7002
25.02.8008 Updated output and added note

Example

admin@nvos:~$ nv show system health component

Component       Instance   State    Last Unhealthy  Unhealthy Count
--------------  ---------  -------  --------------  ---------------
asic            ASIC1      HEALTHY                  0
                ASIC2      HEALTHY                  0
cpu             ALL        HEALTHY                  0
leakage-sensor  LEAKAGE-1  HEALTHY                  0
                LEAKAGE-2  HEALTHY                  0
software        ALL        HEALTHY                  0
switch          ALL        HEALTHY                  0

REST API

GET https://<ip>/nvue_v1/system/health/component

Related Commands

nv action clear system health component

Notes

Components with multiple hardware units (asic, fan, transceiver, leakage-sensor, psu) show individual instances. Single-instance components (cpu, software, switch) show ALL as the instance name.

nv show system health component id


nv show system health component <component-id>

Shows the health of a specific system component.

Syntax Description

component-id

The component name; for example, asic, cpu, fan, psu, or software.

Default

N/A

History

25.02.7002

Example

admin@nvos:~$ nv show system health component asic
instances
============
    Instance  State    Last Unhealthy  Unhealthy Count
    --------  -------  --------------  ---------------
    ASIC1     HEALTHY                  0
    ASIC2     HEALTHY                  0

REST API

GET https://<ip>/nvue_v1/system/health/component/<component-id>

Related Commands

nv action clear system health component

Notes


nv show system health component instance

 

nv show system health component <component-id> instance <instance-id>

Shows detailed health information for a specific component instance.

Syntax Description

component-id

The component name; for example, asic, cpu, fan, psu, or software.

instance-id

The instance name; for example, ASIC1. Single-instance components use ALL.

Default

N/A

History

 

25.02.8008

Example

admin@nvos:~$ nv show system health component asic instance ASIC1
                 operational
---------------  -----------
state            HEALTHY
last-unhealthy
unhealthy-count  0

admin@nvos:~$ nv show system health component cpu instance ALL
                 operational
---------------  -----------
state            HEALTHY
last-unhealthy
unhealthy-count  0


REST API

GET https://<ip>/nvue_v1/system/health/component/<component-id>/instance/<instance-id>

Related Commands

nv action clear system health component

Notes

 

nv action clear system health component


nv action clear system health component

Clears the unhealthy information of all system health components.

Syntax Description

N/A


Default

N/A

History

25.02.7002

Example

admin@nvos:~$ nv action clear system health component
Action executing ...
Cleared unhealthy information successfully
Action succeeded

REST API

POST https://<ip>/nvue_v1/system/health/component/@clear

Related Commands

nv show system health component

Notes

The command resets only the last-unhealthy and unhealthy-count fields. It does not reset the state field.

Last updated: