Ad Widget

Collapse

not sending email alerts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • c0mputernick
    Junior Member
    • Aug 2009
    • 13

    #1

    not sending email alerts

    Hello All,

    I have a fresh install of ubuntu 9.04 with zabbix lastest version. its been running for a couple days now and i can send mail via mail from the command line using postfix as the MTA. but for some reason its not alerting me to failures. ive added one win2003 machine, installed the agent and added it to zabbix, and it says all is well. i went into the machine and turned off "pop" on the exchange server and zabbix pop monitor went red for the "EXNG: Service State - POP3" but it didnt send an email. nothing in the mail.log file and nothing in the zabbix-server.log file.
    i have the email media types setup as:
    smtp server - localhost
    smtp helo - localhost
    smtp email - [email protected] - who the email is from?

    ive set the admin account to get email for everything, info,high,warning etc. and i put the email address i want the alerts to go to for the admin account (me)

    and like i said, i can send email via postfix using mail and the logs show it goes through and i get the email in my inbox.

    sorry if this has been addressed, but ive spent all day on google and the forum and cant seem to find a solution to my problem. im pretty sure its something ive overlooked, but cant seem to figure out what it is.

    thanks.
  • troffasky
    Senior Member
    • Jul 2008
    • 567

    #2
    Go to Monitoring > Events. What do you see in the Actions column?

    Comment

    • c0mputernick
      Junior Member
      • Aug 2009
      • 13

      #3
      there is nothing in the actions column. what now?

      Comment

      • troffasky
        Senior Member
        • Jul 2008
        • 567

        #4
        Are there any events listed? If you don't think there have been any events, you might need to go back a few days to find some.

        Comment

        • c0mputernick
          Junior Member
          • Aug 2009
          • 13

          #5
          well ive been getting alot of memory pages per sec alarms. and i havnt gotten an email once, and ive got it setup to email anything info to error.

          Comment

          • smekla
            Junior Member
            • Aug 2009
            • 5

            #6
            i have a similar issue - i've set email and jabber settings (i know they're good - i've used them some time ago and they worked), but there is nothing in the (Monitoring ->) Actions page. I have many events, but get no notification at all. Where can be the problem?

            Comment

            • pietux
              Junior Member
              • Oct 2009
              • 4

              #7
              Same problem

              This looks like exactly the problem I'm having as well.
              Zabbix version 1.6.6, postfix, CentOS 5.3 ("mail" function from local host command line verified working as well)

              I have set up very basic monitoring in order to test triggers and alerts and no alert e-mails are being sent out. I enabled full debug logs, and while there are lots of stuff there, none of it seem to have anything about sending alerts.

              From the events and graphs, I can see the monitored item is being monitored correctly. I have set the severity high for my test item. Alerts so that there are no conditions on one of the alerts, and "severity = high" on the other. Neither gets executed.

              I also tried to set up my own PHP script to be executed to get some feedback from the system, but I have not yet figured out how to do it. I can see in the zabbix_server.conf file a line which determines the location for my own alert scripts, but I have not yet found a way to execute it via Zabbix configuration.

              The user which should receive alerts is in the group "Zabbix administrators", and has read-write privileges to all hosts.

              regards,
              Petri
              Last edited by pietux; 04-10-2009, 01:10. Reason: Add more details

              Comment

              • NOB
                Senior Member
                Zabbix Certified Specialist
                • Mar 2007
                • 469

                #8
                Did you add any action ?

                Hi

                how about addding an action, based on a trigger ?

                HTH,

                Norbert.

                Comment

                • pietux
                  Junior Member
                  • Oct 2009
                  • 4

                  #9
                  I'm not 100% sure what was asked to do as I'm new to Zabbix.
                  Here is a screen region of the actions I currently have, and in theory 2 of them are based on the triggers.



                  If for some reason this is not what was asked, then please provide the steps to create one.

                  Regards,
                  Petri

                  Comment

                  • smekla
                    Junior Member
                    • Aug 2009
                    • 5

                    #10
                    do you find any records in Monitoring -> Actions page?

                    did you tried to set any other notification way (e.g. jabber) just to see if it works?

                    Comment

                    • pietux
                      Junior Member
                      • Oct 2009
                      • 4

                      #11
                      Such page does not seem to exist. Or at least I can't find the link for it....
                      I have seen references to this location previously, but I thought it was information for the older version of Zabbix.

                      Under "Monitoring" I have links only to these pages.
                      - Dashboard
                      - Overview
                      - Web
                      - Latest data
                      - Triggers
                      - Events
                      - Graphs
                      - Screens
                      - Maps
                      - Discovery
                      - IT services

                      I have not set up any other notifications.... I tried to set up PHP script which would send an SMS message via my own server, but did not succeed to find a way to do it yet. (I see no need to create jabber account + needed binaries are not installed/included to my Zabbix compilation)

                      Regards,
                      Petri

                      Comment

                      Working...