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

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
Jamie786Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ganesh Kumar AConnect With a Mentor Sr Infrastructure SpecialistCommented:
0
 
Wilder_AdminCommented:
use http://omdistro.org/
then you monitor really and you will have historical data.
0
 
Jamie786Author Commented:
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
 
Radhakrishnan RITCommented:
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
 
Jamie786Author Commented:
good enough solution for now thanks for the info !!
0
All Courses

From novice to tech pro — start learning today.