Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring PSM to E-mail NE Alarms

    The PSM can be configured to automatically e-mail NE alarm notifications to specified e-mail addresses. The severity of alarms for which e-mails are sent is configurable, and e-mails are sent for RAISE, CLEAR, and ACKNOWLEDGED alarm state changes.

    Alarm/e-mail configuration is done by specifying the values of the following properties in the /var/local/ems9001/conf/override-common.properties file:

    event.dispatch.email.host // Email host. If left blank, disables email/alarm
    // notification.
    event.dispatch.email.username // SMTP user name
    event.dispatch.email.password // SMTP password
    event.dispatch.email.port // SMTP port
    event.dispatch.email.from // From address
    event.dispatch.email.to // Comma-separated list of recipients
    event.dispatch.email.severity // specifies severity threshold. Emails are
    // sent if the alarm severity is equal to, or more sever than, the configured
    // threshold.
    1. On the workstation where the PSM server is installed, open the/var/local/ems9001/conf/override-common.properties file.

      Note: The /var/local/ems9001/conf/override-common.properties file contains many settings that affect the behavior of the PSM server. Only those attributes explicitly described in this guide should be changed. Changing any other attributes may have unintended consequences, and must only be performed under the guidance of Juniper Networks Support.

    2. Specify the values for the properties in the file as desired.
    3. Save and close the /var/local/ems9001/conf/override-common.properties file.
    4. Track changes to the /var/local/ems9001/conf/override-common.properties file with Git by committing this update to the Git repository.

      For example:

      [user ~]# cd /var/local/ems9001/conf
      [user conf]# git commit -m "Configured email alarm notifications. By user@example.org."  override-common.properties
      

      This update can now be seen in the Git log. For more information on Git, see Using Git to Track override-common.properties.

    5. To activate changes made to the override-common.properties file, restart the PSM server.
      psm-restart

      Note: Existing alarms that have already been processed by PSM for discovered NEs are not sent to the e-mail server. Only new alarms are sent.

      The restart command successfully completes when the 'Ems-' processes all change to the running state. Type <ctrl> c to exit the Linux watch command window.

    Modified: 2017-06-30