How to get all the events by severity in CA Spectrum?

book

Article ID: 15453

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How to get all the events based on alarm severity in CA Spectrum?

 



How to get all the events based on alarm severity in CA Spectrum?

 

Environment

Release:
Component:

Resolution

This can be achieved by running the following command from the SpectroSERVER system



1. Log into the SpectroSERVER system as the user that owns the Spectrum installation.

2. If on Windows, start a bash shell by running "bash -login"

3. cd to the $SPECROOT/SS/CsVendor directory and enter the following command to find all the events that asserts a suppressed alarm (condition) on a model:



find -name EventDisp -exec egrep -e ' A *5' {} /dev/null \; >> suppressed.txt



In the above command the highlighted number 5 shows the severity/condition. The following are the numbers need to change  for the different severities.



0 --> Normal (Green)

1 --> Minor (Yellow)



2 --> Major (Orange)



3 --> Critical (Red)

4 --> Maintenance (Brown)

--> Suppressed (Grey)

6 --> Initial (Blue)

 



4. Run the same command from the $SPECROOT/custom/Events directory to find the custom events that generate alarms.



The following is an example of how the output file will look showing the location of the EventDisp file and the entry for the event that assert the alarm/condition.


 

 



 



 



 



 

Attachments

1558688455512000015453_sktwi1f5rjvs16fm0.jpeg get_app