MID SERVER Notification

mike2agk
Tera Contributor

Hello, i have a couple of mid servers in a Windows boxes. is there a way i can send a notification to myself if the Mid servers go down at any point?

1 ACCEPTED SOLUTION

Mike,



Seems like it should work, here a few things to check:



1.   Notification is marked active


2.   When to send conditions- Status changes, status is down


3.   Who will receive has you and/or a group you are in specified


4.   The table is MID Server [ecc_agent]


5.   Mail sending is enabled (check System Mailboxes - Outbox/Sent too)



The screenshots etc. are from Tim's response below: Scripting a notification - MID Server Down



Hope that helps.



Take care,


Jeff


View solution in original post

17 REPLIES 17

Hey Berny, so i made the updates as shown in the link also added emails addresses however, when i tested the update by bringing the a mid server down i didn't get an email. what is the issue here?


hello Berny thanks for the update i followed your steps however it still didn't work. so i did more digging and noticed that "glide.email.test.user" system property is configured to send all outbound email to a specific email address. when i add my email to that property and test by stopping a mid server i get notified that the mid server is down but my only concern is now i get all sorts of email from service-now for any change because i guess the "glide.email.test.user" property which now has my email added sends email to me as well. how do i just have only notification for mid server down status?


Hi Mike,



You will just need to stop using a testing email account. Go to System Properties >> Email Properties. Make sure you clear out the email for the "non-production" testing and make sure sending email is enabled.



Thanks,


Berny


hello Berny,


You have been of great help thanks. i have a quick question, how do i access the "Active Discovery Errors"


Hi Mike,



There's multiple places where you can look for Discovery errors.



Two key places are the following tables:



discovery_log


discovery_device_history



Thanks,


Berny