Solved

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

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup of system state (VMware) 19 99
Time sync on Domain 5 42
Server 2008 Not services listed 23 51
Tips on reducing the size of AD (DIT) database 5 36
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

697 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