New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.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


Runtime of a process

Votes:

1

Your Vote:

Up

Down

I need to monitor how long a process runs. Usually it rund 2 Second, but some time it runs for hours. an i need to know when that happens.

any ideas?

process-monitoring prtg run-time

Created on Mar 8, 2013 11:34:49 AM by  Glohnissimo (1) 1



1 Reply

Accepted Answer

Votes:

1

Your Vote:

Up

Down

You can use a WMI Process Sensor. It has one channel called "instances". It is the number of times the process is running.

Since the sensor returns a error if no process with this name is found you need to create a "dummy" process with the same name that is always running (but requires no resources).

Then the instances will show a 1 for not running (only the dummy process) and 2 and above if the process is running.

You can then set a notification if this channel is bigger than 1 with a latency of e.g. 15min. Then you will get a notification if the process is running longer than 15min.

Created on Mar 11, 2013 9:39:27 AM by  Jens Rupp [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.