Solved

PowerShell for server monitoring

Posted on 2014-03-07
2
265 Views
Last Modified: 2014-03-17
How to write a powershell to poll a list of servers and send out an notification for those servers that don't receive the ping response ?

Tks
0
Comment
Question by:AXISHK
[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
2 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 400 total points
ID: 39912773
Not wanting to re-invent the wheel have you looked at the script on technet?

http://gallery.technet.microsoft.com/scriptcenter/d0670079-6158-4dc5-a9da-b261c70e4b7d

It worked pretty well for us until we decided to make the move to Nagios.
0
 
LVL 19

Assisted Solution

by:Kash
Kash earned 100 total points
ID: 39912879
or if you want to write your own little script. here it is

$computers = read-host "Enter server name"

test-connection $computers

you can add loops on to it. the above works for one computer. or the script mentioned above will do the job
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Synchronize a new Active Directory domain with an existing Office 365 tenant
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the adminiā€¦
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

626 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