Ad Widget

Collapse

how to set SMTP and POP3 on Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uknet80
    Member
    • Apr 2010
    • 55

    #1

    how to set SMTP and POP3 on Zabbix

    Hi Guys,

    I am connected to the zabbix server but I see error messages:
    Email*(SMTP)*server*is*down*on*{HOSTNAME}
    IMAP*server*is*down*on*{HOSTNAME}
    POP3*server*is*down*on*{HOSTNAME}
    News*(NNTP)*server*is*down*on*{HOSTNAME}

    Do i have to install mail server (sendmail) on my linux that is running Zabbix_server? Or I could just provide SMTP server, if that is the case where can is change the SMTP and POP3 setting on the zabbix web browser?
  • ufocek
    Senior Member
    • Aug 2006
    • 161

    #2
    Hi,

    That mean, you don't have runing this services, and you can disable this item and trigger monitor.

    Comment

    • uknet80
      Member
      • Apr 2010
      • 55

      #3
      what I need is to be able to receive an emails when a service goes down, example if web goes down on a server i want to recive an email how can i do that. the packages I have one my server are:

      php-cli
      php-ldap
      php
      php-bcmath
      php-mysql
      php-imap
      php-pdo
      php-pecl-mailparse
      php-gd
      php-common
      php-snmp
      php-mbstring
      php-xml

      by the way I have exchange running on windows server, i should be able to use that server for sending emails if some thing hapens, is in it?

      Comment

      • alixen
        Senior Member
        • Apr 2006
        • 474

        #4
        Hi,

        Originally posted by uknet80
        by the way I have exchange running on windows server, i should be able to use that server for sending emails if some thing hapens, is in it?
        Yes.
        You have to create a new media in Administration/"Media types" to define how Zabbix will connect to Exchange.

        Regards,
        Alixen
        http://www.alixen.fr/zabbix.html

        Comment

        • uknet80
          Member
          • Apr 2010
          • 55

          #5
          now I use Linux machine as Zabbix server and agent, but still i get error host not found as shown bellow:

          server hostname is (test.linux.local), i have this record under DNS and /etc/hosts file, I can ping test.linux.local, linux.local, test and localhost too.

          zabbix_agentd.conf file configuration is

          Server=127.0.0.1
          Hostname=test.linux.local
          LogFile=/tmp/zabbix_agentd.log

          zabbix_server.log
          Sending list of active checks to [127.0.0.1] failed: host [test.linux.local] not found

          zabbix_agentd.log
          No active checks on server: host [test.linux.local] not found

          netstat -tupln
          tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 4232/zabbix_agentd
          tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 4185/zabbix_server

          any idea how to solve this?
          thanks

          Comment

          • uknet80
            Member
            • Apr 2010
            • 55

            #6
            Originally posted by alixen
            Hi,


            Yes.
            You have to create a new media in Administration/"Media types" to define how Zabbix will connect to Exchange.

            Regards,
            Alixen
            Thanks for help it is SOLVED, problem was agent names

            Comment

            • uknet80
              Member
              • Apr 2010
              • 55

              #7
              Originally posted by ufocek
              Hi,

              That mean, you don't have runing this services, and you can disable this item and trigger monitor.
              Thanks for help it is SOLVED, problem was agent names

              Comment

              • idhakal
                Junior Member
                • Jul 2011
                • 10

                #8
                Hi guys
                My operating system is Centos and I am having same problem with zabbix.

                I am totally new on Centos and zabbix. How can i create a new media in Adminitration/"Media types" to define how zabbix will connect to exchange.

                Thanks in advance

                Ishor

                Comment

                • alixen
                  Senior Member
                  • Apr 2006
                  • 474

                  #9
                  You want send e-mail notifications to an MS-Exchange (Windows Server) ?
                  Your Exchange must be configured like an SMTP server, and in "Media Type", you choose :
                  Type : Email
                  SMTP server : your Exchange IP address or FQDN
                  SMTP helo : yourzabbix.yourdomain
                  SMTP email : zabbix@yourdomain

                  Regards,
                  Alixen
                  http://www.alixen.fr/zabbix.html

                  Comment

                  • Jonathan
                    Junior Member
                    • Jul 2011
                    • 4

                    #10
                    Error send SMTP

                    Hi!

                    I am a new user of Zabbix and i don't know how configure the server smtp for send email!
                    Can you help me?

                    Comment

                    Working...