Show alarms from CLI does not show all of the available alarms
search cancel

Show alarms from CLI does not show all of the available alarms

book

Article ID: 191033

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

When I do a show alarms command in CLI, the output does not match the same number of alarms that is being shown in OneClick.

Environment

Release : 10.4.1

Component : Spectrum Core / SpectroSERVER

Cause

There is a limit to the number of alarms that can be shown in CLI with the show alarms command.

Resolution

To see all of the alarms you need to use the -a option.
 
If the -a (all) option is specified, show alarms do not perform any masking and displays all CRITICAL, MAJOR, MINOR, MAINTENANCE, SUPPRESSED, and INITIAL alarms.

./show alarms -a

To see the differences in the output with and without the -a option.

[[email protected] vnmsh]$ ./show alarms | wc -l
15861
[[email protected] vnmsh]$ ./show alarms -a | wc -l
20520

Additional Information

Docs link for CLI