Ad Widget

Collapse

Email notification not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • briz
    Junior Member
    • Nov 2007
    • 2

    #1

    Email notification not working

    Hello all,

    I saw all posts regarding email delivering problems.
    Is there any real solution to this problem?
    I have Ubuntu 6.10 as server, and Postfix. Zabbix is at 1.4.2 release.
    I can't get any mail message from Zabbix when some alarm comes up.
    I tried to change in many ways email configuration, helo, server name/ip, localhost, fqdn, email address, but nothing changes.
    I tried also to set up a different mail server (instead of the same Zabbix machine).
    I see nothing into maillog, nor zabbix_server.log regarding smtp.

    Thanks
  • bobrivers
    Senior Member
    • Feb 2007
    • 115

    #2
    Same Problem

    Hi,

    I'm having the same problem.

    I created an idiot trigger ( last(0)>0 ) and I can see that it is working (at least it is showing TRUE in monitoring triggers screen). So I created an action and linked it to the trigger (trigger="triggerName").

    And nothing... Even error messages, nothing...

    I'm using zabbix 1.4.4 with centos5

    Tks,

    Bob

    Comment

    • briz
      Junior Member
      • Nov 2007
      • 2

      #3
      email/actions not working

      Hi Bob,
      I solved this way:

      This is referred to the "actions.patch"
      I download the patch and applied it to my 1.4.4 install with
      patch -p0 <actions.patch
      starting from my /usr/local/src/zabbix-1.4.4 inst directory
      I forced installation even if ther was a rejected warning.
      Than I recompile and reinstall zabbix.
      ...and I got my 1st message when the trigger came up!

      Hope it helps.
      Ciao
      Fabrizio

      Comment

      • maruscya
        Senior Member
        Zabbix Certified Specialist
        • Jul 2007
        • 129

        #4
        Same problem.

        I'm using zabbix 1.4.4 on Gentoo Linux

        I try to configure a stupid action, but emails is not delivered ...

        I follow the Fabrizio solution..now..

        CiaoCiao !

        AndreA

        Comment

        • maruscya
          Senior Member
          Zabbix Certified Specialist
          • Jul 2007
          • 129

          #5
          Hello Guys...

          i have removed gentoo version... and install zabbix from tar.gz package. I have patched file, but action no works..

          Follow i post the output of patch command ....

          activecheck zabbix-1.4.4 # patch -p0 < /home/maruscya/actions.patch
          patching file ChangeLog
          Hunk #1 FAILED at 1.
          1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
          patching file src/zabbix_server/actions.c
          Reversed (or previously applied) patch detected! Assume -R? [n]
          Apply anyway? [n] y
          Hunk #1 succeeded at 760 with fuzz 2 (offset 194 lines).
          Hunk #2 FAILED at 829.
          1 out of 2 hunks FAILED -- saving rejects to file src/zabbix_server/actions.c.rej
          Is it normal ??

          AndreA

          Comment

          • laksa
            Junior Member
            • Feb 2007
            • 2

            #6
            I've installed zabbix 1.4.4 on CentOS 5.1 and have no problem sending alert via email.
            I'm using smtp server sendmail.

            Comment

            • maruscya
              Senior Member
              Zabbix Certified Specialist
              • Jul 2007
              • 129

              #7
              Solved.

              it's my problem not problem related to zabbix software......

              Comment

              • jphblais
                Junior Member
                • Apr 2008
                • 2

                #8
                email alert not working

                I'm using zabbix 1.4.5 on debian etch.

                My SMTP server (postfix) is on localhost and is working fine with other software.
                My email media is configured like that:
                SMTP server: 'localhost'
                SMTP helo: 'zinfo.ca'
                SMTP email: '[email protected]'

                So what's wrong and where to look ?

                Comment

                • fableman
                  Member
                  • Oct 2007
                  • 78

                  #9
                  make sure you can from shell use the command: mail [email protected]
                  test
                  abc
                  .
                  (return)
                  (return)


                  If your server have incorrect host name some email system will not recive your messages cos of spam protections and stuff.

                  Iam under centos5.1 zabbix 1.4.4 works and 1.4.5 works

                  Comment

                  • jphblais
                    Junior Member
                    • Apr 2008
                    • 2

                    #10
                    email alert not working

                    Thanks fableman. My mail server is working OK, I've made the mail command test and this server is also my principal mail server, so the mail is going localy only and I did not see any activity in my mail.log.

                    Thanks,
                    JP

                    Comment

                    • snailgame
                      Junior Member
                      • Apr 2008
                      • 13

                      #11
                      apply the patch not solved

                      zabbix 1.4
                      centos 5.1
                      when I add an action
                      there is No actions found in HISTORY OF ACTIONS

                      test Host = "61"
                      Trigger = "Low free disk space on 61 volume /"
                      Trigger value = "TRUE"

                      above is my configure

                      Comment

                      Working...