Windows NRPE

Memory used by a process

Description:

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

Surveiller la mémoire utilisée par un processus – NRPE x PowerShell

I can do support on this article

Current Version

Last Release Date

2011-07-30

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI

Owner

License

GPL


Project Files
Project Notes
#[NRPE Handlers] #memory_used_process=scriptspowershellexec.bat "D:Scriptsmemused_process.ps1" "$ARG1$ $ARG2$ $ARG3$"
Reviews (1) Add a Review
Great plugin - Missing return code for Alert
by cullenp, April 30, 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



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 (1)
Favorites
0
Views
64,580