PDA

View Full Version : Triggers based on previous X results (count?)


mucknet
01-12-2004, 21:32
I would like to use a trigger (for CPU usage) that will trigger if CPU usage has been 100% for the last X polling periods (I pull 10 second averages every 10 seconds, so 2 would probably be a good number for me).

I know I could do an "and" statement and do last(0 and prev(0), but that seems a little hokey, and I might want to do 3 for some items.

Is this possible with count? I'm not clear from the documentation.

Alexei
01-12-2004, 22:22
I would use something like {host:load.min(600)}=100, where 600 is time period in seconds.