Ad Widget

Collapse

Help with Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cnunes73ucb
    Junior Member
    • Jul 2023
    • 1

    #1

    Help with Zabbix

    I´ve some hosts created in my zabbix and I would like to create an ACTION that zabbix can send an email to me only after detecting that the host is unavailable for more than 30 minutes.
    Is this possible? what are the steps i should do. Can anyone describe?
  • SanMonitor
    Member
    • Aug 2022
    • 48

    #2
    The best thing to do is create a new Template and assign this to all the hosts you want to check. Then create an item and trigger in this template that pings the host (use Type Simple Check and key icmpping) for example every 5 minutes. Then you can create a trigger that will activate after 30 min. There's multiple ways to define this but an example would be using the max function for the last 6 pings and checking for the value 0 (ex. max(%youritemname%/icmpping,#6)=0)

    When this is done you can create a trigger action type Trigger equals and then select the trigger you just created. In the Operations tab you can then add a step to mail to your user.

    Some documentation that can help you:

    Creating a template: https://www.zabbix.com/documentation...lates/template
    A ready made template for pings that you can import: https://www.zabbix.com/integrations/ping
    Creating an action: https://www.zabbix.com/documentation...cations/action

    Comment

    Working...