Home Directory Plugins Operating Systems Windows Windows CPU & Memory Checker (powershell)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Windows CPU & Memory Checker (powershell)

Rating
2 votes
Favoured:
0
Current Version
0.2
Last Release Date
2013-07-30
Compatible With
  • Nagios 3.x
  • Nagios XI
Hits
49743
Files:
FileDescription
resourcecheck.ps1resourcecheck.ps1
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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
Reviews (1)
bynewbe95, April 24, 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.