kevinguerreiroParticipantJuly 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 ?
vonPryzMemberJuly 3, 2009 at 1:16 pm #347372
Re: Script to Notify when machine is DOwnkevinguerreiro;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.
kevinguerreiroParticipantJuly 3, 2009 at 3:21 pm #350409
Re: 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.
vonPryzMemberJuly 5, 2009 at 10:21 am #347373
Re: Script to Notify when machine is DOwnkevinguerreiro;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 RTM
The 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.
You must be logged in to reply to this topic.