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


Howto set WMI Process Sensor channel to get alarm after a number of errors

Votes:

0

Your Vote:

Up

Down

Hallo,

the main goal of the use case here is to get an alarm, if an application hangs.

In my test case I have got an application that I have monitored for some days now via an WMI process sensor. So I have data within the channels "prozessor usage", "number of handles" and so on.

The application always does something and never sleeps so that over a period of time (measured in 60 sec intervals) I could see that "processor usage" is between 0 and 12 percent and it is not longer than 2 intervals in a chain at 0 percent.

When the application hangs, the processor usage stays at 0 percent for more than 2 intervals.

So I decided to put an lower error limit on the "processor usage" channel of 1 percent and on the sensor level I configured, that after 2 errors the sensor should go in "Alarm" state.

But as you know, this does not work because the PRTG help says, errors of a channel always switch the sensor immediate into error state.

So has anyone an idea how to solve my problem, to get an error after 2 following intervals processor usage an 0 percent?

Regards

Frank

alarm application-hang channel delay wmi-process-sensor

Created on Jul 17, 2015 8:17:20 AM by  FrankNFurter (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

Dear FrankNFurter

While you cannot directly set a notification to X consecutive scans with a certain value, you can add a threshold trigger to get notified when a channel has a particular value for a certain amount of time.

Created on Jul 17, 2015 4:15:41 PM by  Arne Seifert [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Dear Mr. Seifert,

your idea is good, but in our company at the moment we decided not to use notifications. It seems that nobody here wants to check the tickets every hour nor wants to get more emails.

What we want is an error state and an alarm in circumstances where we need it.

Any other idea how to solve the problem?

Created on Jul 20, 2015 6:49:36 AM by  FrankNFurter (0) 1



Votes:

0

Your Vote:

Up

Down

This kind of error status definition is not possible with PRTG. In principle, it would be possible to still use notifications, but not sending an email and running a script instead which changes the status of another custom sensor. This involves manual programming.

It would also be possible to create a factory sensor, set it to alarm via custom status formula and pause it. The notification could perform an API call to resume that sensor, so it turns red.

Created on Jul 20, 2015 11:19:05 AM by  Arne Seifert [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.