What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Wmi Custom Sensor with Null value

Votes:

0

Good day, i just have 2 customs sensor using a WQL File with this content:

SELECT workingSetSize FROM Win32_Process where name = 'w3wp.exe' and commandline like '%XXXX%'

I want to check the Memory of a individual Pool on my server and it works just fine but the problem is that i DON'T want to have a Down Notification when the value is NULL (when nobody are using the web app) Is there any Settings step that i missing to avoid Down Icon Fire up when the value is null? Or there is a way to edit the query to return some value (like 100 or 200) when value is null and avoid red Down Alarm when value is null? Please let me know your feedback, thanks a lot in advance.

Regards,

Gian Carlo

null wmi wql

Created on Nov 26, 2011 1:53:51 PM



1 Reply

Votes:

0

Hello,

not in the Cusomt WMI (WQL)-Sensors, but it should be possible to script this kind of 'logic' into a powershell or vb-script sensor.

best regards.

Created on Nov 28, 2011 12:51:00 PM by  Torsten Lindner [Paessler Support]




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.