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?
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)
5 --> 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.