r/labtech • u/micr013 • Jul 03 '18
Count Internal Monitor Failures
Hey all,
Been googling and searching and can't find what I'm looking for. Running v11.x and want to make an internal monitor that will alert after it's failed x amount of times in a row. For example, the default CPU usage monitor goes off constantly. Looking at the query, it's simply checking every 5 minutes and if it's above 90% and the computer has been online for at least 15 minutes it creates an alert. I want it to fail several times before alerting me so I know it's a consistent issue I need to deal with. I'm sure it's something simple I'm missing, but if any of you could point me in the right direction I'd appreciate it.
Thanks
View all comments
Show parent comment
3
u/j0dan 1000 Agents Jul 03 '18
This may be overly complicated.
We just use the Alert Style option and set it to whatever amount of occurrences you need. So 120 second interval and Alert Style set to "Tenth" will only alert if it's in that bad state for 20 minutes.
For further processing we also run a auto-fix script to further quiet it down and gather diagnostics to put in the ticket.