Hi Team,
We want to monitor memory usage by any process of windows host.
Kindly suggest.
To monitor memory usage by any process in windows host.
To monitor memory usage by any process in windows host.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: To monitor memory usage by any process in windows host.
There are a couple plugins on our Exchange that should work for this, give them a try and let us know if you have any questions -
https://exchange.nagios.org/directory/P ... ss/details
https://exchange.nagios.org/directory/P ... ng/details
https://exchange.nagios.org/directory/P ... ss/details
https://exchange.nagios.org/directory/P ... ng/details
Former Nagios Employee
Re: To monitor memory usage by any process in windows host.
Monitoring private services or attributes of a Windows machine requires that you install an agent on it. Do you already have NSClient++ installed on the Windows machines?
If so, you could try using NSclient++ and perf counter checks. You'll first have to identify the right perf counter using the windows Perfmon application. There is an example of such here:
http://digital.ni.com/public.nsf/allkb/ ... 2B00447A2E
Additionally, there are a number of other options here:
https://exchange.nagios.org/index.php?o ... 1456514247
Certainly let us know what will work best in your environment and what specific processes you're looking to monitor - thanks -
If so, you could try using NSclient++ and perf counter checks. You'll first have to identify the right perf counter using the windows Perfmon application. There is an example of such here:
http://digital.ni.com/public.nsf/allkb/ ... 2B00447A2E
Additionally, there are a number of other options here:
https://exchange.nagios.org/index.php?o ... 1456514247
Certainly let us know what will work best in your environment and what specific processes you're looking to monitor - thanks -
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: To monitor memory usage by any process in windows host.
Hi Team,
Thanks for the help.
Answering your questions:
Yes nsclient++ agent is installed on the remote host.
Process "w3wp.exe" we need to monitor as of now, in future we need to monitor other process as well.
I went through the links, I can find below links which can help me achieve my goal. Kindly let me know how to use any one of the below plugins as I am not able to find the method to use them:
1) https://exchange.nagios.org/directory/P ... ge/details
2) https://exchange.nagios.org/directory/P ... ng/details
3) https://exchange.nagios.org/directory/P ... ss/details
4) https://exchange.nagios.org/directory/P ... ss/details
Thanks for the help.
Answering your questions:
Yes nsclient++ agent is installed on the remote host.
Process "w3wp.exe" we need to monitor as of now, in future we need to monitor other process as well.
I went through the links, I can find below links which can help me achieve my goal. Kindly let me know how to use any one of the below plugins as I am not able to find the method to use them:
1) https://exchange.nagios.org/directory/P ... ge/details
2) https://exchange.nagios.org/directory/P ... ng/details
3) https://exchange.nagios.org/directory/P ... ss/details
4) https://exchange.nagios.org/directory/P ... ss/details
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: To monitor memory usage by any process in windows host.
if you want to monitor the w3wp.exe process, you might be happy with this plugin:
https://exchange.nagios.org/directory/P ... ol/details
it allows you to specify an application pool, aft which the script will search the associated w3wp.exe process and return iis app count, memory and cpu %.
Grtz
https://exchange.nagios.org/directory/P ... ol/details
it allows you to specify an application pool, aft which the script will search the associated w3wp.exe process and return iis app count, memory and cpu %.
Grtz
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: To monitor memory usage by any process in windows host.
Thanks WillemDH, I don't why I didn't recommend that plugin in the first place!
OP, let us know how it goes and if we can be of any assistance -
OP, let us know how it goes and if we can be of any assistance -
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: To monitor memory usage by any process in windows host.
Hi Team,
In future I would like to monitor memory usage of other processes as well, will this plugin be useful for monitoring them as well?
In future I would like to monitor memory usage of other processes as well, will this plugin be useful for monitoring them as well?
WillemDH wrote:if you want to monitor the w3wp.exe process, you might be happy with this plugin:
https://exchange.nagios.org/directory/P ... ol/details
it allows you to specify an application pool, aft which the script will search the associated w3wp.exe process and return iis app count, memory and cpu %.
Grtz
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: To monitor memory usage by any process in windows host.
No, it only works for iis application pools this one, but I have one in the works that will work for other processes too. I just need to find some time to finish it, but I'm superbusy atm, so it might be for after the summer...
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: To monitor memory usage by any process in windows host.
Thanks again Willem - OP, did you need assistance with implementing some of those other plugins you mentioned earlier, for any specific processes?
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: To monitor memory usage by any process in windows host.
Hi Team,
I am using the below option to monitor the memory usage of w3wp.exe process on a remote host (refer the attachment for remote host details) and the IIS version is 6.0.
"check_ms_iis_application_pool=cmd /c echo scripts/powershell/check_ms_iis_application_pool.ps1 $ARG1$; exit $LastExitCode | powershell.exe /noprofile -command -"
Then I fired below command from nagios xi server, but I am receiving "connection refused by host" message:
COMMAND: /usr/local/nagios/libexec/check_nrpe -H 10.147.108.140 -p 5666 -t 30 -c check_ms_iis_application_pool -a '-A w3wp.exe'
I am using the below option to monitor the memory usage of w3wp.exe process on a remote host (refer the attachment for remote host details) and the IIS version is 6.0.
I have copied "check_ms_iis_application_pool.ps1" file to NSClient++/scripts/powershell folder and have added below command in nsclient.ini file on remote host under "external scripts" section:WillemDH wrote:if you want to monitor the w3wp.exe process, you might be happy with this plugin:
https://exchange.nagios.org/directory/P ... ol/details
it allows you to specify an application pool, aft which the script will search the associated w3wp.exe process and return iis app count, memory and cpu %.
Grtz
"check_ms_iis_application_pool=cmd /c echo scripts/powershell/check_ms_iis_application_pool.ps1 $ARG1$; exit $LastExitCode | powershell.exe /noprofile -command -"
Then I fired below command from nagios xi server, but I am receiving "connection refused by host" message:
COMMAND: /usr/local/nagios/libexec/check_nrpe -H 10.147.108.140 -p 5666 -t 30 -c check_ms_iis_application_pool -a '-A w3wp.exe'
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.