Solved

PowerShell for server monitoring

Posted on 2014-03-07
2
257 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
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Synchronize a new Active Directory domain with an existing Office 365 tenant
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

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

15 Experts available now in Live!

Get 1:1 Help Now