Ad Widget

Collapse

Zabbix 1.8.20 not sending email alerts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kristiaan_d
    Junior Member
    • May 2009
    • 15

    #1

    Zabbix 1.8.20 not sending email alerts

    Hi Guys,
    I have a Centos 6.5 Minimal install, running Zabbix 1.8.20 its a VERY basic setup at the moment as i am looking at moving away from Nagios to Zabbix but am struggling to make the change so far.

    I have intentionally broken a service on the Zabbix server so it reports to say there is a problem. However I have been unable so far to get any email alerts from Zabbix about the broken service.

    I have an action configured that says

    Code:
    Maintenance status not in "maintenance"
    Trigger value = "PROBLEM"
    Trigger = "Zabbix server:Inetd is not running on {HOSTNAME}"
    
    Send message to User "Kris"
    We are using Microsoft Exchange 2010 on a separate server to handle emails, I can connect to the Exchange server from the Zabbix server via Telnet and send emails but I have so far been unable to get Zabbix to generate an email.

    Kris
  • jvalenzani
    Member
    Zabbix Certified Specialist
    • Sep 2010
    • 53

    #2
    Did you configure the mail server in Zabbix?

    Comment

    • tchjts1
      Senior Member
      • May 2008
      • 1605

      #3
      Another point to consider is that user "Kris" must have at least read privileges to that host in Zabbix GUI.

      Comment

      • kristiaan_d
        Junior Member
        • May 2009
        • 15

        #4
        Originally posted by jvalenzani
        Did you configure the mail server in Zabbix?

        https://www.zabbix.com/documentation...on#media_types
        Hi Yes i've configured the server within Zabbix and it uses the same settings that I use within Telnet to send an email from the zabbix server.

        Originally posted by tchjts1
        Another point to consider is that user "Kris" must have at least read privileges to that host in Zabbix GUI.
        Hi, I think i've set this up right (attached is an image of the user) to show the groups.

        Comment

        • RPW
          Junior Member
          • Oct 2008
          • 11

          #5
          Set a shell for the Zabbix Server user

          If the Zabbix Server is running with des user "zabbix" (ps aux | grep zabbix). This user must have a Shell defiend for send emails (vi /etc/passwd):
          zabbix:x:110:65534::/usr/local/sbin:/bin/bash

          Comment

          • kristiaan_d
            Junior Member
            • May 2009
            • 15

            #6
            *Answered*

            I managed to resolve this problem as it turned out to be an incorrectly configured action that was stopping emails being sent.

            I added a basic rule that just says when it finds a problem send an email and it worked.

            Comment

            Working...