Configuring the Source Email Address for your ScaleArc Alerts

Overview

In this article, you will learn how to setup an alert in my ScaleArc cluster configuring the proper source email address.

Solution

  1. Access the root user in ScaleArc via SSH.
  2. Take the backup of alert.pyc (Alert Engine Service)
    # mv /usr/lib/python2.6/site-packages/idb/cmd/alert_engine/alert.pyc /usr/lib/python2.6/site-packages/idb/cmd/alert_engine/alert.pyc.bak
  3. Upload the alert.py script (attached python file) onto /tmp directory
    local computer$ scp -i SSH_KEY_FILE ~/alert.py root@<AWS IP Address>:/tmp/
  4. Modify the alert.py to replace its FROM address FROM_EMAIL = "alert@scalearc.com" to the Email Address you wish.
  5. Replace the script with the one you just updated
    # cp /tmp/alert.py /usr/lib/python2.6/site-packages/idb/cmd/alert_engine/alert.py
  6. Restart the Alert Engine
    # sh /etc/init.d/alert_engine stop
    # sh /etc/init.d/alert_engine start
  7. Verify the FROM address has been modified by sending a test e-mail
    # tail -f /logs/service/alert_engine.log

Note: You can find the alert.py attached.

Attachments

Comments

0 comments

Please sign in to leave a comment.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request