ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Zabbix - email alerts

    Scheduled Pinned Locked Moved Solved IT Discussion
    zabbixlinuxcentoscentos 7postfixemailsmtpmta
    68 Posts 7 Posters 13.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mike DavisM
      Mike Davis @scottalanmiller
      last edited by

      @scottalanmiller said in Zabbix - email alerts:

      We normally say "CentOS 7". CentOS is the OS family name. 3.10.0 is the Linux kernel version. We can deduce the OS from that, but it's not how it is said.

      I read your post the other day and thought I need to be specific on the version. Which switch on the uname command tells us that it's CentOS?

      I tried all the variations I could think of and couldn't get anything to spit out CentOS/RedHat/or something that I recognized. That's why I just pasted the output from uname -a.

      scottalanmillerS 1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller @Mike Davis
        last edited by

        @Mike-Davis said in Zabbix - email alerts:

        I read your post the other day and thought I need to be specific on the version. Which switch on the uname command tells us that it's CentOS?

        None, uname queries the kernel, not the OS.

        Mike DavisM 1 Reply Last reply Reply Quote 0
        • Mike DavisM
          Mike Davis @scottalanmiller
          last edited by

          @scottalanmiller said in Zabbix - email alerts:

          None, uname queries the kernel, not the OS.

          What's the command if you don't know that you're on RedHat or something else?

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Here you go...

            [root@zabbix ~]# cat /etc/redhat-release 
            CentOS Linux release 7.3.1611 (Core) 
            
            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Just for reference, the system is running postfix, not sendmail.

              1 Reply Last reply Reply Quote 0
              • hobbit666H
                hobbit666
                last edited by

                What settings are you using for SMTP and Office365?

                Mike DavisM 1 Reply Last reply Reply Quote 0
                • Mike DavisM
                  Mike Davis @hobbit666
                  last edited by

                  @hobbit666 said in Zabbix - email alerts:

                  What settings are you using for SMTP and Office365?

                  0_1486998608437_email-config.png

                  hobbit666H 1 Reply Last reply Reply Quote 0
                  • hobbit666H
                    hobbit666 @Mike Davis
                    last edited by

                    @Mike-Davis I think I gave up trying to get the mail.protection thingy to work and ended up just using a mail box with port 587 and STARTTLS

                    1 Reply Last reply Reply Quote 1
                    • Mike DavisM
                      Mike Davis
                      last edited by

                      @hobbit666 said in Zabbix - email alerts:

                      I think I gave up trying to get the mail.protection thingy to work and ended up just using a mail box with port 587 and STARTTLS

                      So install ssmpt and mailx and go about it that way? I could try that with a gmail account and see if I get anything that way.

                      scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Mike Davis
                        last edited by

                        @Mike-Davis said in Zabbix - email alerts:

                        @hobbit666 said in Zabbix - email alerts:

                        I think I gave up trying to get the mail.protection thingy to work and ended up just using a mail box with port 587 and STARTTLS

                        So install ssmpt and mailx and go about it that way? I could try that with a gmail account and see if I get anything that way.

                        Are you sure that that is needed? Does it even use Postfix? Have you tested it without that?

                        Mike DavisM 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Mike Davis
                          last edited by scottalanmiller

                          @Mike-Davis said in Zabbix - email alerts:

                          So install ssmpt and mailx and go about it that way?

                          mailx is a client app, not used for applications to send mail. That's just for you to send them by hand.

                          Do you have reason to believe that postfix doesn't have TLS capability by default? This is an enterprise OS here. Our matching system didn't need anything special to handle TLS to O365, right?

                          Mike DavisM 1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            Postfix can most certainly use TLS.

                            1 Reply Last reply Reply Quote 0
                            • Mike DavisM
                              Mike Davis @scottalanmiller
                              last edited by

                              @scottalanmiller said in Zabbix - email alerts:

                              Do the logs tell you anything?

                              I looked at the /var/log/zabbix/zabbix_server.log and didn't see anything related to email. What are the names of the other log files I should look at?

                              scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Mike Davis
                                last edited by

                                @Mike-Davis said in Zabbix - email alerts:

                                @scottalanmiller said in Zabbix - email alerts:

                                Do the logs tell you anything?

                                I looked at the /var/log/zabbix/zabbix_server.log and didn't see anything related to email. What are the names of the other log files I should look at?

                                Well normally /var/log/maillog, but it is completely empty prompting me to think that postfix is not being asked to send anything.

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @Mike Davis
                                  last edited by

                                  @Mike-Davis said in Zabbix - email alerts:

                                  @scottalanmiller said in Zabbix - email alerts:

                                  Do the logs tell you anything?

                                  I looked at the /var/log/zabbix/zabbix_server.log and didn't see anything related to email. What are the names of the other log files I should look at?

                                  /var/log/maillog
                                  
                                  Mike DavisM 1 Reply Last reply Reply Quote 0
                                  • Mike DavisM
                                    Mike Davis @scottalanmiller
                                    last edited by Mike Davis

                                    @scottalanmiller said in Zabbix - email alerts:

                                    Our matching system didn't need anything special to handle TLS to O365, right?

                                    right, that's why I set up the connector in o365. So I could send mail in on port 25 without authentication.

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • Mike DavisM
                                      Mike Davis @JaredBusch
                                      last edited by

                                      @JaredBusch said in Zabbix - email alerts:

                                      /var/log/maillog

                                      is empty.

                                      JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @Mike Davis
                                        last edited by

                                        @Mike-Davis said in Zabbix - email alerts:

                                        @JaredBusch said in Zabbix - email alerts:

                                        /var/log/maillog

                                        is empty.

                                        Then it is not using postfix

                                        1 Reply Last reply Reply Quote 0
                                        • Mike DavisM
                                          Mike Davis @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in Zabbix - email alerts:

                                          So install ssmpt and mailx and go about it that way? I could try that with a gmail account and see if I get anything that way.

                                          Are you sure that that is needed?

                                          Not sure it's needed. I was looking at this guide:
                                          http://www.tecmint.com/configure-zabbix-to-send-email-alerts-to-gmail/

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Mike Davis
                                            last edited by

                                            @Mike-Davis said in Zabbix - email alerts:

                                            @scottalanmiller said in Zabbix - email alerts:

                                            Our matching system didn't need anything special to handle TLS to O365, right?

                                            right, that's why I set up the connector in o365. So I could send mail in on port 25 without authentication.

                                            I'm confused. Doesn't that mean the opposite of what I said?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post