Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Monitoring Alerts for Email Diagnostics

Lockstep
Tera Contributor

Hi all. I'm trying to set up some monitoring/ alerts for my service Now mailbox. We recently had an incident where mails were stuck in the mailbox due to a misconfiguration (our IT team changed the auth type from OAUTH to 2FA).

I stumbled across the very helpful Email Diagnostics section in Service Now, which would have helped me catch this issue sooner. I now want to setup monitoring and alerts for when the processing time breaches a threshold, or when the SMTP/ IMAP connections are not showing as successful. 

The tricky part is I believe I can set up email alerts to let me know this is happening, but that's not useful when the issue is that emails aren't sending lol. 
Is there a way to set up alerts within service now so system admins get push notifications when certain conditions are met? 
If this is not possible within service now, can anyone recommend a third party way of achieving this, possibly by using the API? Thanks in advance!

Edit: I've been looking into it and I think I could accomplish this through Scheduled Jobs. 
Does anyone know how I'd write a script for a scheduled job to check for a field, say SMTP Process Time, is over a certain value and then create a High Priority incident for it? 
Thanks!!

2 REPLIES 2

ram prasad
Tera Contributor

I am also looking for it. Please let me know if you did find the way to achieve this.

saisahithiA
Tera Contributor

I am looking for it. Please let me know how to do this