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
64345
Files:
FileDescription
memused_process.ps1memused_process.ps1
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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