Ad Widget

Collapse

No actions/alerts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • schneck
    Member
    • May 2006
    • 62

    #1

    No actions/alerts?

    I've been playing with Zabbix for some time (1.1b9, 1.1b10, 1.1b11)
    now but havn't been able to generate email alerts yet.

    I've got the following configuration:

    * User ``schneck'' with
    + Default Permission: Read/Only
    + Media configuration: email address, active 1-7,00:00-23:59

    * several hosts, with items and triggers each
    (the triggers do fire, verified with the GUI and database)

    * an ``action'' configuration:
    Action type: send message
    Source: trigger
    Conditions: trigger = ON
    Delay between messages: 30sec
    Send message to: single user
    User: schneck
    Subject: {TRIGGER.NAME}: {STATUS}
    Message: {TRIGGER.NAME}: {STATUS}
    Repeat: Repeat
    Number of repeats: 5
    Delay between repeats: 180
    Status: Enabled

    But I don't receive any email messages and no actions
    show up in the ``HISTORY OF ACTIONS'' view (also, the
    ``alerts'' table in the database is empty.)

    I've probably missed something stupid, but can't find why
    Zabbix doesn't even try to send me email. Also, when
    increasing the DebugLevel to 4 in zabbix_server.conf, I
    didn't see anything obviously wrong.

    Any help?

    Thanks,

    \Bernhard.

    PS: Zabbix is running on OpenBSD 3.7 and 3.9, currently
    with SimpleChecks only (didn't try the agent yet)
  • schneck
    Member
    • May 2006
    • 62

    #2
    Re: No actions/alerts?

    After catching an action in the log file, I figured out that some settings in the "media" configuration were messed up.

    Email alerts work fine now.

    Comment

    • fatiha
      Member
      • Nov 2007
      • 78

      #3
      Hi,

      I have got the same problems. What settings in media configuration have you updated please?

      Thanks
      Fatiha

      Comment

      • cstackpole
        Senior Member
        Zabbix Certified Specialist
        • Oct 2006
        • 225

        #4
        fatiha,
        If you are seeing the action but not the email then typically the email wasn't set correctly (or at all). If the email is set properly, check* your Linux system to make sure that it is sending emails properly.

        Hope this helps. Have Fun!

        *Checking depends on if you are using postmail, exim, sendmail, ect.

        Comment

        • fatiha
          Member
          • Nov 2007
          • 78

          #5
          First, you're right, email wasn't set correctly and now it works.

          I also did a mistake with a sql script, then I delete the important link between alerts table and ids table.

          In fact it's not a bug but a misconfigured interface and I did a mistake when launching user sql script.

          Thanks,
          Fatiha

          Comment

          • cstackpole
            Senior Member
            Zabbix Certified Specialist
            • Oct 2006
            • 225

            #6
            Glad it worked for you!

            Comment

            Working...