how to monitor windows processes PID

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
h4doukeeN
Posts: 63
Joined: Wed Aug 09, 2017 9:32 am

how to monitor windows processes PID

Post by h4doukeeN »

Hi, I have 2 services with the same name on the same server and I would like to see if there is the possibility of monitoring them by PID process number. which plugin would help me since I only find to monitor by name.

Image
dwasswa

Re: how to monitor windows processes PID

Post by dwasswa »

Hi @h4doukeeN,

Monitoring PID will not work with the way you want to do it;because remember, a process is assigned a new PID every time its running.

And the problem is that you cannot assign a static PID in the windows system ;it will most likely cause a collision at some point in time
because windows might assign another process the same PID.

However,applications usually create a file for the where they store there process PIDs. So this is where you can start from,you need to first find that file.
Locked