Solved

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

Posted on 2014-09-22
5
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 12

Accepted Solution

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

Expert Comment

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Suggested Courses

623 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