PDA

View Full Version : #count in trigger


testos
12-06-2007, 14:23
Greetings,

I have an item created on a template with an update interval of 2 minutes:
vfs.fs.size[/,pfree]

I have also a trigger created with this expresion:
{Equipos_Provinciales:vfs.fs.size[/,pfree].avg(#5)}<80

I want set the trigger to ON only if 5 consecutives checks obtain <80, but now trigger set to on at first check!

I´m searching for similar Tivoli ocurrences number and holes.

How to i write an expression if i want set the trigger to ON only if 5 consecutives checks obtain <80, and with one possible hole?

Regards

Alexei
12-06-2007, 14:40
If the number of values is less than 5, the avg(#5) will still return average of the existing values. Please can you elaborate more on the "Tivoli ocurrences number and holes"?

testos
12-06-2007, 15:14
Ocurrences and holes in Tivoli are a mechanism to avoid falses positives and flapping.
Occurrences are the number of consecutive times in which the evaluated condition is certain. The holes are the number of evaluated conditions noncertain that they can appear between the certain ones so that these still are considered consecutive.
Given the attached tivoli configuration, so that a warning took place to surpass a percentage of CPU used by the system of 90%, these values would have to be received for example 90 90 70 90 90 four the 90 to consider itself consecutive in spite of the hole of 70