Ad Widget

Collapse

monitor active proxy last seen

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • target
    Junior Member
    • Nov 2022
    • 21

    #16
    Hello All,

    I am trying to setup the above item and trigger but seems like it's not working for me.
    I am using the template for zabbix proxy health this is how it's called by the default template. I have created a new host and applied the below:


    Name: Time - Last time data received from proxy
    Type: Zabbix internal
    Key: zabbix[proxy,{HOST.HOST},lastaccess] (you may replace the {HOST.HOST} macro with other name and achieve other flexibility there, up to you.
    Type of info: Numeric (unsigned)
    Units: uptime
    Update interval: 1m



    The trigger is not working for me.

    Now the Trigger.
    Name: Zabbix - Not receiving data for > {$PROXY_LASTACCESS_NODATA_DSTR} from proxy {HOST.HOST} (up to you to create the macro, I use the value 3m there)
    Expression: {Template App Zabbix Proxy:zabbix[proxy,{HOST.HOST},lastaccess].fuzzytime({$PROXY_LASTACCESS_NODATA_DSTR})}=0




    I am trying to use also this one but not working as well.

    This is the result:
    Expression: fuzzytime(/Zabbix proxy health/zabbix[proxy,{HOST.HOST},lastaccess],{$PROXY_LASTACCESS_NODATA_DSTR})=0




    If I use the wizard it gives me the below option.
    last(/TRANS PROXY/zabbix[proxy,{HOST.HOST},lastaccess])=0



    Any ideas?


    Thanks.​

    Comment

    • target
      Junior Member
      • Nov 2022
      • 21

      #17
      Hope that will help someone else. I managed to make it work.


      last(/TransProxy/zabbix[proxy,{HOST.HOST},delay])>60


      Thanks.​

      Comment

      Working...