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

    How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array

    IT Discussion
    how to alerts mdadm smtp md raid xenserver xenserver 6.5
    5
    21
    7.1k
    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.
    • scottalanmillerS
      scottalanmiller @mazterjedi
      last edited by

      @mazterjedi said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

      @scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

      netstat -tulpn | grep 25

      [root@xenserver2 ssmtp]# netstat -tulpn | grep 25
      tcp 0 0 127.0.0.1:5902 0.0.0.0:* LISTEN 5525/qemu-dm-3
      [root@xenserver2 ssmtp]#

      You have no email server. That will do it.

      yum -y install postfix
      
      M 1 Reply Last reply Reply Quote 0
      • M
        mazterjedi @scottalanmiller
        last edited by mazterjedi

        @scottalanmiller
        [root@xenserver2 ssmtp]# yum -y install postfix
        Loaded plugins: fastestmirror
        There are no enabled repos.
        Run "yum repolist all" to see the repos you have.
        You can enable repos with yum-config-manager --enable <repo>
        [root@xenserver2 ssmtp]#

        [root@xenserver2 ssmtp]# yum repolist all
        Loaded plugins: fastestmirror
        repo id repo name status
        base/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
        base-debuginfo/x86_64 CentOS-7 - Debuginfo disabled
        base-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
        centosplus/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
        centosplus-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
        extras/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
        extras-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
        updates/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
        updates-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
        repolist: 0

        M 1 Reply Last reply Reply Quote 0
        • M
          mazterjedi @mazterjedi
          last edited by

          Unfortunately, I have no clue what this means.

          1 Reply Last reply Reply Quote 0
          • BRRABillB
            BRRABill
            last edited by

            Ah, the ever present "no repos" in XS. Nice to see you again.

            Boy does XS like being an appliance, or what?

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

              Do this...

              yum-config-manager --enable base
              yum-config-manager --enable extras
              yum-config-manager --enable updates
              yum-config-manager --enable centosplus
              

              Then install again.

              M 1 Reply Last reply Reply Quote 0
              • M
                mazterjedi @scottalanmiller
                last edited by

                @scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

                yum-config-manager --enable base

                [root@xenserver2 ssmtp]# yum-config-manager --enable base
                -bash: yum-config-manager: command not found
                [root@xenserver2 ssmtp]#

                Does the ssmtp at the end of the prompt make a difference? Shouldn't it just be [root@xenserver2] ?

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

                  @mazterjedi said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

                  @scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

                  yum-config-manager --enable base

                  [root@xenserver2 ssmtp]# yum-config-manager --enable base
                  -bash: yum-config-manager: command not found
                  [root@xenserver2 ssmtp]#

                  Does the ssmtp at the end of the prompt make a difference? Shouldn't it just be [root@xenserver2] ?

                  That ssmtp at the end of the prompt is just showing you your folder location, no big deal.

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

                    Does Xen not have yum-config-manager installed these days? What a pain.

                    Anyone have the commands handy for enabling the repos manually?

                    BRRABillB 1 Reply Last reply Reply Quote 0
                    • BRRABillB
                      BRRABill @scottalanmiller
                      last edited by

                      @scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

                      Does Xen not have yum-config-manager installed these days? What a pain.

                      Anyone have the commands handy for enabling the repos manually?

                      Didn't we give up on this a while back? LOL.

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

                        @BRRABill said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

                        @scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

                        Does Xen not have yum-config-manager installed these days? What a pain.

                        Anyone have the commands handy for enabling the repos manually?

                        Didn't we give up on this a while back? LOL.

                        No, that we got working.

                        BRRABillB 1 Reply Last reply Reply Quote 0
                        • BRRABillB
                          BRRABill @scottalanmiller
                          last edited by

                          @scottalanmiller said

                          No, that we got working.

                          You sure about that?

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

                            @BRRABill said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:

                            @scottalanmiller said

                            No, that we got working.

                            You sure about that?

                            We will call it "moderately sure."

                            BRRABillB 1 Reply Last reply Reply Quote 0
                            • BRRABillB
                              BRRABill @scottalanmiller
                              last edited by

                              @scottalanmiller said

                              We will call it "moderately sure."

                              You just keep thinking that.

                              I seem to remember the final words before giving up were
                              "Why do you need this app installed anyway"
                              And we found another option.

                              But I could be wrong. 🙂

                              1 Reply Last reply Reply Quote 0
                              • T
                                tiagom
                                last edited by

                                Just a guess..

                                For 6.5

                                sudo yum --enablerepo=base --disablerepo=citrix install postfix
                                http://xmodulo.com/how-to-install-additional-packages-in.html

                                For 7
                                http://discussions.citrix.com/topic/378880-xenserver-70-repositories/ post #5

                                1 Reply Last reply Reply Quote 2
                                • 1
                                • 2
                                • 1 / 2
                                • First post
                                  Last post