Ad Widget

Collapse

Is it possible to configure the items and triggers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ufocek
    Senior Member
    • Aug 2006
    • 161

    #1

    Is it possible to configure the items and triggers?

    Hi,

    On the zabbix I add item net.tcp.port [ip, port] and I would like to know whether it is possible to set action, if the port is unreachable for 2 minutes or more than actions is send ( email, jabber or sms) if less than 2 minutes do nothing.

    Regards,

    Albert
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Yes.

    This is laid out pretty well in the documentation and elsewhere in the forum. What you're looking for is triggers and action. Here is the general flow of how things work in Zabbix

    Item -> Trigger -> Action

    A trigger will activate when a certin condition is met, say host cannot be reached for 2 minutes.

    An action will do something, execute a script, send an email or whatever when a trigger or many triggers have a certin condition (on/off).
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • ufocek
      Senior Member
      • Aug 2006
      • 161

      #3
      Originally posted by nelsonab
      Yes.

      This is laid out pretty well in the documentation and elsewhere in the forum. What you're looking for is triggers and action. Here is the general flow of how things work in Zabbix

      Item -> Trigger -> Action

      A trigger will activate when a certin condition is met, say host cannot be reached for 2 minutes.

      An action will do something, execute a script, send an email or whatever when a trigger or many triggers have a certin condition (on/off).

      Could you give me a example how to do this for example for item like net.tcp.port[host,port], if this item is not working at least 2 minutes or more than action start, if less do nothing

      Comment

      Working...