Get Live Help
How to get a count of the total number of Alarms stored in my Foglight database (acknowledged, cleared, current, historical, etc)
Also how to get alarms counter break down by source type(Rule Name)
How to Purge alarms?
Investigate High Alarms Counter
Navigate to Script Editor (Administration > Tooling > Script Console > Scripts tab):
Click the Add button
Paste in the following script in the Script box and click Run. Note that it may take some time to complete depending on the alarm count.
Please check the attached script "Alarms_counter_by_source.groovy" which shows the alarms counter by source type if you want to see the break down.
If there are greated than 5,000 alarms you should consider:
- Am I addressing the root causes of the alarms for repetitive issues?
- I have a very large number of alarms - could this be affecting performance of the dashboards that query alarms?
Also, please run this script from Script Console in case you want to see the break down:
Note: Above break down can also be seen from (Administration > Alarms> Alarms Analysis dashboard.
Also you can run Alarms Analysis Report to be updated on the regular basis regarding alarms behavior.
Change the value for a lower number.
The graph "All System Alarms + Changes" displays more alarms than the alarm table SOL66576
Important Note: Clearing an alarm, clears the alarm from the current Alarm dashboard, but purging is what actually deletes the alarm from the Foglight Database repository.
From one SupportBundle on DiagnosticSnapshot file you can search for alarm_alarm to also get the alarm counter, this is one example:
Is there is a way to clear alarms specific to only certain rules? SOL73003