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

Memory used by a process

Rating
1 vote
Favoured:
0
Last Release Date
2011-07-30
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Owner
License
GPL
Hits
64650
Files:
FileDescription
memused_process.ps1memused_process.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!
This plugin is written in PowerShell. He indicates the memory used by a process.

He uses this performance counter : Process($Process)Private Bytes.

You must use NSClient, you have three args :

- Process
- Warning
- Critical

This plugin has been tested on a Windows Server 2008.

For the french user, here's my website
http://yousysad.wordpress.com/2012/07/30/surveiller-la-memoire-utilisee-par-un-processus-nrpe-x-powershell/

I can do support on this article
#[NRPE Handlers]
#memory_used_process=scriptspowershellexec.bat "D:Scriptsmemused_process.ps1" "$ARG1$ $ARG2$ $ARG3$"
Reviews (1)
I've been using this plugin to monitor a windows process but when it reported CRITICAL nagios would not change the State. Turns out the plugin was not returning the State and it would default to 0 meaning "OK".
To fix this, add the following line to the end of the ps1 file

exit $Status