This post is more than 5 years old

136151

October 6th, 2010 23:00

Coding new conditions for rules

Specifically, I want to change the rule conditions for Virtual Machine Memory Utilization to add a time element. I want to be warned if the memory threshold has been crossed for over 10 minutes, critical at over 20, and fatal at over 30.
I've been able to do simple modifications to other conditions, but for this I need somewhat indepth documentation on conditional language and the data available. The grammar rules I should be fine with; it's knowing how to get the data over a specified period of time that I'm stuck on.
Thanks.

15 Posts

October 8th, 2010 16:00

Hi James,
You can adjust these within the rule under the behavior tab. You can have the alarm fire if the condition has been present for a certain amount of time.
This might not work exactly as you want, but I think it will accomplish the same result.
Check this out and let me know if this works.
Thanks,
-dave

18 Posts

November 18th, 2010 09:00

If that isn't close enough we can point you at examples of the sort of Groovy script needed
No Events found!

Top