Change sender's email address in AlarmNotifier (Windows)
search cancel

Change sender's email address in AlarmNotifier (Windows)

book

Article ID: 247594

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

How can the email address for the sender be changed for Spectrum in AlarmNotifier running on Windows Server?

Environment

DX NetOps Spectrum all currently supported releases

Resolution

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