How can the email address for the sender be changed for Spectrum in AlarmNotifier running on Windows Server?
DX NetOps Spectrum all currently supported releases
Edit the Windows registry by running Regedit.exe
and navigate to the HKEY_CURRENT_USER/Software/SMail
folder. Then edit the username REG_SZ
.
Change to (for example):
Save the change and then edit the SetScript
/ClearScript
/UpdateScript
in the $SPECROOT/Notifier
directory:
Change from:
$MAIL -s "A $SEV alarm has occurred on $SERVER (Model Name=$MNAME)(Model Type=$MTYPE)" $RCVRS < /tmp/set_alarm.$PID
To:
$MAIL -f spcadmin -s "A $SEV alarm has occurred on $SERVER (Model Name=$MNAME)(Model Type=$MTYPE)" $RCVRS < /tmp/set_alarm.$PID