Hello there !
i try to configure a LLD trigger for a process CPU usage.
It should be triggered if the process uses more than 90% CPU for more than 6 hours.
i use this expression : min(/templatename/proc.cpuusage.[{#ID}],360m)>={$CPULIMITTRIGGER} and nodata(/templatename/proc.cpuusage.[{#ID}],360m)=0
The problem is : if the process is discovered with a cpu usage value over 90, the trigger fires immediatly. the item will have an empty history (wich is not null but empty) and only one value which is over 90 (exemple in joined screenshot).
how can i can set up a trigger expression that handles absences of values as 0 ?
i try to configure a LLD trigger for a process CPU usage.
It should be triggered if the process uses more than 90% CPU for more than 6 hours.
i use this expression : min(/templatename/proc.cpuusage.[{#ID}],360m)>={$CPULIMITTRIGGER} and nodata(/templatename/proc.cpuusage.[{#ID}],360m)=0
The problem is : if the process is discovered with a cpu usage value over 90, the trigger fires immediatly. the item will have an empty history (wich is not null but empty) and only one value which is over 90 (exemple in joined screenshot).
how can i can set up a trigger expression that handles absences of values as 0 ?
Comment