Ad Widget

Collapse

Actions setup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fredo2906
    Junior Member
    • Jan 2011
    • 14

    #1

    Actions setup

    Using Zabbix 2.2.

    I setup actions/notification to send mails to admin with the following rule :

    Report problems to Zabbix administrators
    Maintenance status not in maintenance
    Trigger value = PROBLEM
    Trigger severity >= Average
    Send message to user groups: Zabbix administrators via all media

    However, zabbix is still sending me emails with a subject :

    "OK: 90% mem Heap Memory used on ...."

    How to block those "OK" emails ? Seems like everytime zabbix evaluate a trigger, and if the trigger is OK, it will send a notification.
    What am i doing wrong?

    Thanks a lot for your help in advance.

    Anybody having the same issue?

    Here is some info out of debug logs :

    4762:20140729:140644.528 alerter [sending alerts]
    4762:20140729:140644.528 query [txnlev:0] [select a.alertid,a.mediatypeid,a.sendto,a.subject,a.messa ge,a.status,mt.mediatypeid,mt.type,mt.description, mt.smtp_server,mt.smtp_helo,mt.smtp_email,mt.exec_ path,mt.gsm_modem,mt.username,mt.passwd,a.retries from alerts a,media_type mt where a.mediatypeid=mt.mediatypeid and a.status=0 and a.alerttype=0 order by a.alertid]
    4762:20140729:140644.530 In execute_action(): alertid [68467] mediatype [1]
    4762:20140729:140644.530 In zbx_popen() command:'/usr/lib/zabbix/alertscripts/alert.sh "[email protected]" "OK: Server1 can't reach DB for 5 minute" "Trigger: Server1 can't reach DB for 5 minute
    Trigger status: OK
    Trigger severity: Disaster
    Trigger URL:

    Item values:

    1. Num of dropped packets accessing DB (server1:net.if.ping[db]): 0
    2. Num of dropped packets accessing DB (server1:net.if.ping[db]): 0
    3. *UNKNOWN* (*UNKNOWN*:*UNKNOWN*): *UNKNOWN*

    Original event ID: 2848799"'

    This trigger is said OK, but still executing an action ... that looks like a bug.
    Last edited by fredo2906; 29-07-2014, 05:13. Reason: More info in debug log
  • fredo2906
    Junior Member
    • Jan 2011
    • 14

    #2
    Found the solution

    Actually zabbix is going to evaluate the data everytime a new data come in.
    So, if there is an action configured with a "recovery message", then the message will be sent everytime a new data come.
    I removed the recovery message, now only problems are sent.

    Comment

    Working...