Networking NVIDIA NVOS User Manual for InfiniBand Switches

Event Management Commands

nv show system events

 

nv show system events

Shows the system events, with the occupancy and size of the events table.

Syntax Description

N/A

Default

N/A

History

25.02.2002 
25.02.5002 Added Etc/UTC to event timestamp in output

Example

admin@nvos:~$ nv show system events
                 operational
---------------  -----------
table-occupancy  80
table-size       1000

Events
=========
    Event ID  Severity       Component  Description                                                Timestamp
    --------  -------------  ---------  ---------------------------------------------------------  -------------------
    80        INFORMATIONAL  System     Health status is ok                                        2024-04-23 08:29:05 Etc/UTC
    79        INFORMATIONAL  PSU2/FAN   HW component goes back to normal                           2024-04-23 08:29:05 Etc/UTC
    78        INFORMATIONAL  PSU1/FAN   HW component goes back to normal                           2024-04-23 08:29:05 Etc/UTC
    77        WARNING        PSU1/FAN   PSU1/FAN speed is out of range, speed=30%, range=[35,100]  2024-04-23 08:29:02 Etc/UTC
    76        WARNING        PSU2/FAN   PSU2/FAN speed is out of range, speed=30%, range=[35,100]  2024-04-23 08:28:56 Etc/UTC
    75        WARNING        PSU2/FAN   PSU2/FAN speed is out of range, speed=29%, range=[35,100]  2024-04-23 08:28:50 Etc/UTC
    74        WARNING        PSU1/FAN   PSU1/FAN speed is out of range, speed=29%, range=[35,100]  2024-04-23 08:28:50 Etc/UTC

REST API

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

Related Commands

nv action clear system events

Notes

The command shows only the last 50 events, so that the output does not flood the screen. To show a different number of events, use the --last option.

nv show system events --last

 

nv show system events --last [number]

Shows the specified number of most recent events.

Syntax Description

number

The number of events to show.

Default

20 events

History

25.02.2002 
25.02.5002 Updated command syntax. JSON no longer has "last" as a key.

Example

admin@nvos:~$ nv show system events --last
Event ID  Severity       Component    Description                                      Timestamp
--------  -------------  -----------  -----------------------------------------------  -------------------
63529     WARNING        swss-ibv00   Container 'swss-ibv00' is not running            2025-05-16 08:05:44
63528     WARNING        syncd-ibv00  Container 'syncd-ibv00' is not running           2025-05-16 08:05:41
63527     WARNING        pmon         Container 'pmon' is not running                  2025-05-16 08:05:41
63526     INFORMATIONAL  pmon         Service goes back to normal                      2025-05-16 08:05:26
63525     INFORMATIONAL  pmon         Cleared: Container 'pmon' is not running         2025-05-16 08:05:26

REST API

GET https://<ip>/nvue_v1/system/events?last=<number>

Related commands

nv action clear system events

Notes

If you do not specify a number, the command shows the last 20 events.

nv show system events --recent

 

nv show system events --recent [minutes]

Shows the events from the specified number of past minutes.

Syntax Description

minutes

The number of past minutes to show events from.

Default

5 minutes

History

25.02.2002 
25.02.5002 Updated command syntax. JSON no longer has "recent" as a key.

Example

admin@nvos:~$ nv show system events --recent 10
Event ID  Severity       Component    Description                                      Timestamp
--------  -------------  -----------  -----------------------------------------------  -------------------
63529     WARNING        swss-ibv00   Container 'swss-ibv00' is not running            2025-05-16 08:05:44

 

REST API

GET https://<ip>/nvue_v1/system/events?recent=<minutes>

Related commands

nv action clear system events

Notes

If you do not specify the number of minutes, the command shows the events from the past 5 minutes.

nv set/unset system events table-size

 

nv set system events table-size <number>
nv unset system events table-size

Sets the size of the events table: the maximum number of events that the table holds.
The unset form of the command restores the default size (1000).

Syntax Description

number

The maximum number of events in the events table: 500–10000.

Default

1000

History

25.02.2002 

Example

admin@nvos:~$ nv set system events table-size 5000
admin@nvos:~$ nv unset system events table-size

REST API

PATCH https://<ip>/nvue_v1/system/events/table-size
DELETE https://<ip>/nvue_v1/system/events/table-size

Related commands

nv show system events

Notes


nv action clear system events


nv action clear system events

Clears the events table.

Syntax Description

N/A


Default

N/A

History

25.02.2002 

Example

admin@nvos:~$ nv action clear system events
Action executing ...
Event table has been cleared
Action succeeded

REST API

POST https://<ip>/nvue_v1/system/events

Related Commands

nv show system events

Notes


 

Last updated: