Things looks good to me..
I remember you have stated that you start the alarmnotifier using the following command.
./AlarmNotifier.exe -r .alarmrc
Can you check if you have multiple command prompts open or check from the Task manager if you have multiple instance of alarmnotifier.
I would suggest you to run the AlarmNotifier with the processd so we can have the alarmnotifier log file "Notifier.out"
First open task manager and kill all the alarmnotifier processes.
Steps to start the alarmnotifier using processd.
- go to $SPECROOT/lib/SDPM/Partlist.
- Open AlarmNotifier.IDB file in word pad or notepad
- change the below options to true.
AUTORESTART;y;
AUTOBOOTSTART;y;
- Save the file
-Now restart the processd.
- Open command prompt or bash window
- Naviigate to $SPECROOT/lib/SDPM
- Run the below command to restart the processd.
./processd.exe --restart
Now check the task manager if the AlarmNotifier application is started. Also check if there is file with name Notifier.OUT created in $SPECROOT/Notifier directory.
Now try recreating the problem(let any critical alarm get generated on the devices). Check how many emails you receive.
If you receive multiple emails for same alert, then check the Notifier.OUT, see how many entries of same alarms are present.
It will also tell you to which email address the alarm was sent.
If the issue reappears again. Please send screenshots of two sample duplicate emails and also upload the NOTIFIER.OUT file.
Note: For a quick resolution we would request to open a support ticket so we can remote to diagnose the problem.
thanks...