Ability to clear and not send notifications on Notification service startup.
We've had issue with Notifications spamming users with events should a PI collective member stop getting data.
At times, we need to disable the notification service until we can resolve the issue. After the issue is resolved, we need to start the notification service, and need an option to have it not send past email notifications.
To be clear, clear all past events on service startup.
FYI I have found a way to do this and I'll share it so that others know.
1.) Rename the Queue folder located under programdata\osisoft\pinotifications\data\servername
2.) Open System Explorer, click contacts, tools, delivery channels, right click on email, settings.
3.) Change the SMTP server to something fake.
4.) Restart the notifications service.
5.) Wait a few minuets
6.) Update the SMTP Server to the correct server name
7.) Restart the notification service.
This will stop old or queued emails from being sent.