Ad Widget

Collapse

Changing expression variable AGENT.NODATA.TIMEOUT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KryzBell
    Junior Member
    • Mar 2020
    • 2

    #1

    Changing expression variable AGENT.NODATA.TIMEOUT

    Hi All

    I'm about 15 hours into learning and deploying a 200 host 4.4 system. I'm generally getting the hang of things, but I've reached a dead end that my google fu hasn't helped me resolve.

    All my agents are active, and I want to be alerted if a system goes offline for more than x minutes. Where x is < the system default of 30.

    I'm using the template "OS Linux by Zabbix Agent Active", which has a trigger named "Zabbix agent is not available (or nodata for {$AGENT.NODATA_TIMEOUT})"

    This works to generate the alerts I want, but the default for the timeout is 30 minutes. I want to be able to manipulate that time which is where my current expertise runs out.

    I'd like to either :

    1. Locate and adjust the system variable behind $AGENT.NODATA_TIMEOUT to reduce it to 5 minutes,
    2. Or, edit the expression to use 5 minutes as a fixed variable.

    I'm unable to figure out the location or syntax of either.

    The expression is

    {Template OS Linux by Zabbix agent active:agent.ping.nodata({$AGENT.NODATA_TIMEOUT})} =1

    Pointers and guidance would be gratefully received.


    Chris
    Attached Files
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    $AGENT.NODATA_TIMEOUT - this is a macro (variable) that can be defined by the user at various levels. You can view or change it. Read this for more information https://www.zabbix.com/documentation...ros/usermacros

    Comment


    • KryzBell
      KryzBell commented
      Editing a comment
      That was the direction I needed. Thank you!
Working...