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 Avatar kevinguerreiro 10 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Avatar
    kevinguerreiro
    Participant
    #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
    Kevin

    Avatar
    vonPryz
    Member
    #347372

    Re: 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

    Avatar
    kevinguerreiro
    Participant
    #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.

    Regards
    Kevin

    Avatar
    vonPryz
    Member
    #347373

    Re: 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 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.

    -vP

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.