How to monitor CPU,RAM of a particular windows service ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

How to monitor CPU,RAM of a particular windows service ?

Post by Frédéric GRANAT »

Hi,
Everything is in the subject.

Rgds,

Frederic
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to monitor CPU,RAM of a particular windows service ?

Post by lmiltchev »

You can probably monitor CPU, RAM of a windows process via performance counters and NSClient++, but not of a service. I don't think this is possible.
Be sure to check out our Knowledgebase for helpful articles and solutions!
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: How to monitor CPU,RAM of a particular windows service ?

Post by yancy »

Frédéric GRANAT,

Script to check mem and cpu of a windows process
http://exchange.nagios.org/directory/Pl ... ss/details

Thanks,

-Yancy
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: How to monitor CPU,RAM of a particular windows service ?

Post by Frédéric GRANAT »

Hi,
According to what I see, that would mean I would have to install NSClient++ on each host on which I want to monitor Windows services.
In that case, that's too much complicated to install (too much hosts).

Rgds,

Frederic
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: How to monitor CPU,RAM of a particular windows service ?

Post by yancy »

Frédéric,

Your other option would be Something like NRDS_Win. Simple lightweight solution that can be used to run Nagios Plugins and pass the data back via http or https.

http://exchange.nagios.org/directory/Ad ... in/details

Thanks,

-Yancy
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: How to monitor CPU,RAM of a particular windows service ?

Post by Frédéric GRANAT »

That's too much complicated : I give up.
You can close the topic.

Rgds,

Frederic
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: How to monitor CPU,RAM of a particular windows service ?

Post by yancy »

Frédéric,

Are you looking for some method of doing this using WMI? WMI would require no agent to be installed on the remote machines which would speed implementation.

Thanks,

-YAncy
Locked