Ad Widget

Collapse

Trigger doesn´t work fine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SilasMuniz
    Junior Member
    • Aug 2014
    • 2

    #1

    Trigger doesn´t work fine

    Hi,

    I using shell script to monitor my equipaments. All monitoring are shell scripts.
    I setup one trigger with last values more than 1319 during 3 counters. But when appeared the alarm, It didn´t have 3 count, only one.
    I check this information in Last Data.

    Log Last Data:

    2014.Aug.25 16:43:22 2
    2014.Aug.25 16:38:22 333
    2014.Aug.25 16:33:22 333
    2014.Aug.25 16:28:21 50
    2014.Aug.25 16:23:21 798
    2014.Aug.25 16:18:21 1615

    2014.Aug.25 16:13:21 40
    2014.Aug.25 16:08:22 2
    2014.Aug.25 16:03:21 1
    2014.Aug.25 15:58:21 2

    Log Events:


    Time Host Description Status Severity Duration Ack Actions
    25 Aug 2014 16:43:22 CLARO CLAROOI_ERRO_DE_RECIBO_WARNING OK Warning 1h 12m 21s No
    -
    25 Aug 2014 16:38:22 CLARO CLAROOI_ERRO_DE_RECIBO_WARNING PROBLEM Warning 5m No
    -


    What´s happened ?

    Anybody know what´s happened ?

    Regards,

    Silas Muniz
  • JFontes
    Member
    Zabbix Certified Specialist
    • Jul 2012
    • 36

    #2
    Originally posted by SilasMuniz
    Hi,

    I using shell script to monitor my equipaments. All monitoring are shell scripts.
    I setup one trigger with last values more than 1319 during 3 counters. But when appeared the alarm, It didn´t have 3 count, only one.
    I check this information in Last Data.

    Log Last Data:

    2014.Aug.25 16:43:22 2
    2014.Aug.25 16:38:22 333
    2014.Aug.25 16:33:22 333
    2014.Aug.25 16:28:21 50
    2014.Aug.25 16:23:21 798
    2014.Aug.25 16:18:21 1615

    2014.Aug.25 16:13:21 40
    2014.Aug.25 16:08:22 2
    2014.Aug.25 16:03:21 1
    2014.Aug.25 15:58:21 2

    Log Events:


    Time Host Description Status Severity Duration Ack Actions
    25 Aug 2014 16:43:22 CLARO CLAROOI_ERRO_DE_RECIBO_WARNING OK Warning 1h 12m 21s No
    -
    25 Aug 2014 16:38:22 CLARO CLAROOI_ERRO_DE_RECIBO_WARNING PROBLEM Warning 5m No
    -


    What´s happened ?

    Anybody know what´s happened ?

    Regards,

    Silas Muniz

    Silas, can you post your trigger? And I recommend you search for Hysteresis trigger - (https://www.zabbix.com/documentation...ers/expression) - This is prevent flapping in your trigger.

    Comment

    • SilasMuniz
      Junior Member
      • Aug 2014
      • 2

      #3
      Trigger configuration

      Hi JFontes,

      follow my trigger configuration.

      Trigger 1:
      {CLARO:CLAROOI_Receipt_Resp_Err_rx.sh.last(#3)}>13 19 & {CLARO:CLAROOI_Receipt_Resp_Err_rx.sh.last(#3)}<31 20

      Trigger 2:

      {CLARO:CLAROOI_Receipt_Resp_Err_rx.sh.last(#3)}>31 19 & {CLARO:CLAROOI_Receipt_Resp_Err_rx.sh.last(#3)}<60 00


      Other thing that I saw, if happened one warning alarm and the next polling this alarm passed to high level, the zabbix dosen´t count 3 polling, it´s change the level.


      Thank you for your help.

      Silas Muniz

      Comment

      Working...