Ad Widget

Collapse

Heartbeat email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StephenJ
    Member
    • Dec 2018
    • 44

    #1

    Heartbeat email

    We have a website that monitors our control servers for another one of our alerting products. Each control server sends an email each hour to the url to say it is live. On Zabbix 4.0.4 is it possible to do something similar? Can I get it to check if the zabbix server is online, then send out an email?

    I was thinking of using the agent ping, then creating a trigger, that some how each hour checks if it is running, if yes send out the email, if no do not send an email. I would want it to auto close after sending the email and not keep any history.
    Last edited by StephenJ; 07-03-2019, 13:11.
  • StephenJ
    Member
    • Dec 2018
    • 44

    #2
    Ok this works perfectly. It will send out an email after 2 minutes. But I want it to automatilcy close the alert, once the email is sent:

    {EMSZabbixweb01:agent.ping.last(,2m)}=1 - I am using 2 minutes just as a test. Our other alerting products send an email every hour.


    I am trying to use this as the recovery expression, but cant get it to close the alert:
    {EMSZabbixweb01:agent.ping.last(,30s)}=1

    Comment

    Working...