Windows

Windows CPU & Memory Checker (powershell)

Description:

Full disclaimer: this is a mish-mash of other scripts and random commands found in forums etc. I tried to find the original authors for credit but was unable. Sorry if some of this script is you and you aren’t mentioned!

Needs to be run from a proxy server or directly from the host itself using NSClient.
More info: http://www.nsclient.org/nscp/discussion/topic/637

This script will check the current CPU load (percentage and queue) and physical memory utilization on a windows host and alert based on your arguements. If alerting, it will tell you what process is using the most resources and give you the PID so you can kill it with psexec if the host is inaccessible via traditional methods.

Usage is .resourcecheck.ps1 -server -memwarn -memcrit -cpuq -cpup

Current Version

0.2

Last Release Date

2013-07-30

Compatible With

  • Nagios 3.x
  • Nagios XI

Owner


Project Files
Project Notes
Reviews (1) Add a Review
Nice nice
by newbe95, April 30, 2016

Hi! First of all thank You for the nice script it worked for me. But is it possible to write out the username for the process? That would be really nice I need this feature for a terminal environment.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (2)
Favorites
0
Views
49,638