New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Monitor individual processes with different users

Votes:

0

Your Vote:

Up

Down

Hi,

We monitor a WMI process called: tman.odbc but due to the nature of the system it launches multiple copies of this process with different user names. We need to be able to monitor these individually since a failure of one could indicate a problem but at the moment all instances have to fail before we get an alert.

Regards, Darren.

process prtg user wmi

Created on Mar 15, 2011 1:40:56 PM by  Darren Lilley (0) 1



4 Replies

Votes:

0

Your Vote:

Up

Down

You would need to use a Custom WMI or Custom Script sensor. You can find relevant queries under:

Which WQL queries are used by PRTG's WMI sensors?

Created on Mar 22, 2011 3:31:23 PM by  Patrick Hutter [Paessler Support] (7,225) 3 3



Votes:

0

Your Vote:

Up

Down

I have experimented a bit with this and although I can run a query to list the occurances of a particular process: SELECT * FROM Win32_Process WHERE Description='tman.odbc.exe' in the WMI tester I can't see how to then specify which individual user since there will be multiple instances of this process running, each started by a different user.

Created on Mar 22, 2011 5:41:47 PM by  Darren Lilley (0) 1

Last change on Mar 24, 2011 1:58:13 PM by  Daniel Zobel [Product Manager]



Votes:

0

Your Vote:

Up

Down

I have narrowed it down to individual users by adding the ExecutablePath:

SELECT * FROM Win32_Process WHERE Description='tman.odbc.exe' AND ExecutablePath LIKE "%CCUK%"

But this still returns 10 rows so not suitable for a sensor. I just need to know if like in SQL we can get a count of the number of instances of a process spawned by a single user. In our system I just need to know whether there are any running processes to know it is up. None would mean it is down.

Created on Apr 8, 2011 2:54:15 PM by  Darren Lilley (0) 1

Last change on Apr 8, 2011 3:30:01 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Unfortunately WQL doesn't support a count(*) construct. So you'll have to write a custom exe/script sensor for your needs, I'm afraid.

Created on Apr 11, 2011 10:57:55 AM by  Volker Uffelmann [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.