How to configure Broadcom CA Spectrum Alarm Notifier to send email notifications

For email sending, CA offers Simple Mail. In order for AlarmNotifier to correctly send an email, this must also be configured. Please follow these steps to configure Simple Mail:

1. Open a command prompt in Windows and enter the following command where <SMTP HOSTNAME> is the hostname of the smtp mail server, <USERNAME> is the return e-mail address, and <DOMAIN> is the domain name in the $SPECROOT/NT-Tools/SRE/bin directory:

mail -h <SMTP HOSTNAME> -u <USERNAME> -m <DOMAIN> 

As an example mail -h smtp.abc.com -u spectrum -m abc.com

./mail.exe -h snmtp.abc.com -u spectrum -m abc.com

Once this command is run you can run regedit and search for SMail. In the HKEY_CURRENT_USER/Software/SMail folder, these are the entries from the example. You should see the settings you used.

Default REG_SZ (value not set)
hostname REG_SZ ca.com
smtphost REG_SZ smtp.ca.com

username REG_SZ spectrum




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.


Now configure .alarmrc file as below:



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

5. On Windows, start a bash shell by running "bash -login". On Linux or Solaris, su to the root user

6. cd to the $SPECROOT/lib/SDPM directory

7. Enter the following command to restart processd and pick up the changes made to the ALARMNOTIFIER.idb file:

./processd.pl restart

NOTE: Starting from 10.4.2.1 / 20.2.3, the processd.pl restart will now also stop the SpectroSERVER and Archive Manager. As an alternative, use the processd executable to restart the service and this will not stop the SS and ArchMgr. Below is an example:

./processd --restart


8. Verify AlarmNotifier is now a running process

No comments

Powered by Blogger.