How to configure AlarmNotifier in CA Spectrum
How to configure AlarmNotifier in CA Spectrum
Follow below steps to configure the Alarm Notification for email
notification in Ca Spectrum
Step 1
On Windows use mail command to enable the mail service so that AlarmNotifier scripts can send email notification
Mail -h <SMTP Hostname> -u <Return Hostname> - m <Domain Name>
As an example mail -h smtp.ca.com -u spectrum -m ca.com
To Verify that the configuration is completed, view the registry entries for
HKEY_LOCAL_USER/Software/SMail.
The hostname, smtphost, and username keys now contain the information that you included in the command string.
Step 2
To configure AlarmNotifier to send an email when an alarm is received.
1. Edit the $SPECROOT/Notifier/SetScript file
2. Locate the following line:
SENDMAIL=False
3. Modify the entry as follows:
SENDMAIL=True
4. Locate the following line
VARFORMAIL=RepairPerson
5. Modify the entry as follows:
VARFORMAIL=Both
6. Save the changes made to this file
Modify the ClearScript and UpdateScript files using these same
instructions.
Step 3
To ensure AlarmNotifier is always running, you can configure processd to automatically start AlarmNotifier at processd startup and to restart AlarmNotifier should processd see the AlarmNotifier process has stopped.
To configure processd to do this:
1. $SPECROOT/lib/SDPM/partslist/ALARMNOTIFIER.idb file
2. Locate the following lines:
AUTORESTART;y;
AUTOBOOTSTART;n;
3. Out of the box you can see AUTORESTART is already set to yes. Change the AUTOBOOTSTART to yes also. The entries should now appear as:
AUTORESTART;y;
AUTOBOOTSTART;y;
4. Save the changes made to this file
Step 4
1. On Windows, start a bash shell by running "bash -login".
2. cd to the $SPECROOT/lib/SDPM directory
3. Enter the following command to restart processd and pick up the changes made to the ALARMNOTIFIER.idb file:
./processd –restart
Post a Comment