Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Memory used by a process
2011-07-30
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
GPL
64523
File | Description |
---|---|
memused_process.ps1 | memused_process.ps1 |
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!
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$"
#memory_used_process=scriptspowershellexec.bat "D:Scriptsmemused_process.ps1" "$ARG1$ $ARG2$ $ARG3$"
Reviews (1)
bycullenp, April 17, 2019
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
To fix this, add the following line to the end of the ps1 file
exit $Status