Solved

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

Posted on 2014-09-22
5
197 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 10

Accepted Solution

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

Expert Comment

by:Radhakrishnan Rajayyan
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now