Solved

Monitor if a server goes down and create an event for it....

Posted on 2014-09-22
5
203 Views
Last Modified: 2014-09-23
Does anyone have a script that will monitor a server (probably best via a ping) and should the ping fail it creates an event for it?

I have a need to monitor the availability of a server and should that server go offline for what ever reason that a event be created so I can keep track of it.  Any help would be most welcome :)

Thanks
0
Comment
Question by:Jamie786
5 Comments
 
LVL 8

Expert Comment

by:Wilder_Admin
ID: 40336205
use http://omdistro.org/
then you monitor really and you will have historical data.
0
 

Author Comment

by:Jamie786
ID: 40336211
ideally looking for a Windows based script, I have an event monitoring solution in place hence why I would ideally like an event to be created in Windows events to be able to pick these up.
0
 
LVL 11

Accepted Solution

by:
Ganesh Kumar A earned 500 total points
ID: 40336212
0
 
LVL 21

Expert Comment

by:RK
ID: 40336239
Hi,

You can try this powershell script. I believe only you need to know the status of the server whether it's UP or Down? if so, this will be best option for you. Unfortunately I haven't tested this earlier.

http://community.spiceworks.com/scripts/show/1641-simple-server-status-report

Hope this works.
0
 

Author Closing Comment

by:Jamie786
ID: 40338810
good enough solution for now thanks for the info !!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question