Email alerts

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Email alerts

  • Creator
    Topic
  • #53588
    David Coffey
    Participant

      When setting up an email alert I must always use the Advanced dialog button on each alert to force the SMTP server name.  I have set the properties for the site under site options for email alerting and in reviewing the SiteInfo file the changes are being stored in the file.  

      Yet if I do not force the SMTP server for each alert the system drops in localhost.  

      I am running 5.8.5 on Windows.  

      What gives?

    Viewing 2 reply threads
    • Author
      Replies
      • #78209
        Peter Heggie
        Participant

          Updating this thread because a) I have an answer and b) we had a problem with localhost today, regarding the use of LOCALHOST in the email configuration, especially for alerts.

          I searched Clovertech and did not find a similar topic but I also have a faint memory of posting about this problem previously.

          a) the localhost value is a default, found in Options / Site, under the Alert Configuration tab.

          b) some of our alerts fired today, as usual, but others did not, which is not usual. Sadly these were alerts notifying us of getting NO input from our HIS. We like to be the first to know in these situations.

          When I say the alerts did not fire, I mean that they did fire, but we received no emails. After digging we found that the alerts that fired with emails were those that had the email server name specified in the alert configuration. The alerts that did not send emails were those that did not have an email server specified and therefore took the default value in the Alert Configuration under Options / Site, which had localhost as the email server, which usually resolves correctly (we are on AIX). Today it did not.

          It turns out that localhost got defined in dns today (temporarily) with a real IP address and it is not a mail server. Email did not work.

          We changed the Alert Configuration under Options / Site to specify the email server instead of localhost.

          This still does not address our use of email in scripts – we will have to change those settings as well.

          We could check for this condition by running a command line nslookup on localhost, which should resolve to 127.0.0.1 (today it resolved to something else).

          Peter

          Peter Heggie

        • #78210
          Russ Ross
          Participant

            When localhost is set incorrectly on the enterprise DNS server it also causes more than just email problems.

            We have numerous internal interfaces sending to localhost and those quit working when someone implemented a work around to their specific problem by setting localhost on the DNS server to something other that 127.0.0.1.

            Even though that is so ridiculous you never expect it, the damage was catastrophic to our cloverleaf setup.

            Since then I don’t trust our DNS server and tend to prefer using IPs instead of names due to the unreliability of our DNS server.

            Since usage of localhost is still prevalent, what I did to protect myself was to put an entry in /etc/hosts for localhost and all my cloverleaf boxes and then set the lookup priority to use /etc/hosts first and the DNS server second.

            This way anything I define in /etc/hosts I can rely on not being messed up by the DNS server.

            Russ Ross
            RussRoss318@gmail.com

          • #78211
            Robert Milfajt
            Participant

              Localhost set incorrectly in the DNS server also causes the host server to crash in 6.1.  The host server starts up just fine, then the process goes away.  No errors in logs, nothing, and no GUI!

              Ask me how I know!   😡

              Robert Milfajt
              Northwestern Medicine
              Chicago, IL

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.