Ad Widget

Collapse

Zabbix trigger checks smaller intervals

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kemco
    Junior Member
    • Oct 2023
    • 10

    #1

    Zabbix trigger checks smaller intervals

    Hello Folks

    So far i have set up everything and at least it works. One of the triggers i have is called "server checkup" and it does ping the agent and if it doesnt reach it, it goes in problem mode and sends me a notification.

    My problem with it is, when i shut down the server, for an example at 13:00. I will get the notification at about 13:04 and in the notification it says the problem occured at 13:04. despite the problem occuring way earlier.

    So my question is, is there a setting to adjust that the check for the trigger happens in smaler intervals and it also doesnt wait for a long time for a ping back. Or is there even a better option to check if the server is up and running.

    my settings are this:

  • ISiroshtan
    Senior Member
    • Nov 2019
    • 324

    #2
    In your screenshot you using the max aggregate function. If you reference the documentation of said function, you will see that second param defining the evaluation period. In your case you use the macro {$AGENT.TIMEOUT} which defines what number of values are evaluated. For function max(/host/item,4m)=0 before trigger fires all values in last 4 minutes should be <=0. So Zabbix does exactly what you asked of it - delays fire of alert for 4 minutes to make sure it's not a random network fluctuation.

    So essentially check what value is set for {$AGENT.TIMEOUT} macro and set it as needed by your requirements.

    Comment

    Working...