Script to Notify when machine is DOwn
Home › Forums › Scripting › General Scripting › Script to Notify when machine is DOwn
This topic contains 3 replies, has 2 voices, and was last updated by kevinguerreiro 10 years, 5 months ago.
-
AuthorPosts
-
July 3, 2009 at 3:31 am #142835
Hey Guys, is it possible to make a script, to notify me by mail when the machine is down or stops responding, probably to a ping ?
or stops detecting the other DC ?Regards
KevinJuly 3, 2009 at 1:16 pm #347372Re: Script to Notify when machine is DOwn
kevinguerreiro;170921 wrote:is it possible to make a script, to notify me by mail when the machine is down or stops responding, probably to a ping ?Sure it is. The easiest way, like you suggest, is to ping the machine. If done with Powershell, take a look on a post about similar a problem. VBScript can be used too, but it is more cubersome an alternative as Wscript.Shell object is needed to do the pinging. Batch solution is possible as well, but some kind of tool is needed for sending the email. So the answer depends on what scripting tools you are willing to use.
-vP
July 3, 2009 at 3:21 pm #350409Re: Script to Notify when machine is DOwn
well, dont really know anything about scripting and programing, so probably just tell me the best way to start and ill take it from there, and ill try to do something that’s called RTM ( Read The Manual ). Thx for the ideas.
Regards
KevinJuly 5, 2009 at 10:21 am #347373Re: Script to Notify when machine is DOwn
kevinguerreiro;170991 wrote:just tell me the best way to start and ill take it from there, and ill try to do something that’s called RTMThe first step is to have a plan, so develop one. Pay attention to at least the following questions. What machine(s) are you monitoring? Which machine does the monitoring? What if the monitorin machine crashes? What about false alarms? How often to check?
Go with Powershell. Lots of tutorials are available. Read the script I linked earlier on; try and understand what’s going on.
-vP
-
AuthorPosts
You must be logged in to reply to this topic.