Ad Widget

Collapse

Trigger ignore null values from host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vlapuen
    Junior Member
    • Feb 2019
    • 2

    #1

    Trigger ignore null values from host

    Hi, we have a Zabbix 4.0.3 server with some triggers configured for Windows agents. I wanted to know if its possible to configure a trigger to ignore the null data of a host (when the host is turned off).

    Right now we have a CPU load trigger with the following code:
    Code:
    ({Template OS Windows Active:perf_counter[\Procesador(_Total)\% de tiempo de procesador].avg(10m)}>95) and {TRIGGER.VALUE}=0
    or
    ({Template OS Windows Active:perf_counter[\Procesador(_Total)\% de tiempo de procesador].avg(10m)}>85) and {TRIGGER.VALUE}=1
    The computers at our organization start at 08:00 so we get a lot of CPU alerts at that time, so we wanted to know if its possible to modify the trigger so it ignores null values of the triggers (when the host are not reachable).

    We are currently using the maintenance mode from 03 to 08 h but there are hosts that don't auto turn on at 08 and we get alerts from them.

    Thanks
  • vlapuen
    Junior Member
    • Feb 2019
    • 2

    #2
    We finally used the trigger on the OP with a dependency on the host agent availability:
    Code:
     {Template OS Windows Active:zabbix[host,agent,available].count(5m,1)}<5
    For this to work you have to add a new item with the key zabbix[host,agent,available]


    Last edited by vlapuen; 23-04-2019, 22:11.

    Comment

    Working...