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.
- On the workstation where the PSM server is installed,
open the
/var/local/ems9001/conf/override-common.propertiesfile.Note The
/var/local/ems9001/conf/override-common.propertiesfile 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. - Specify the values for the properties in the file as desired.
- Save and close the
/var/local/ems9001/conf/override-common.propertiesfile. - Track changes to the
/var/local/ems9001/conf/override-common.propertiesfile 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.
- To activate changes made to the
override-common.propertiesfile, 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.