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

Comment out specific channel definitions in Sensor Factory settings

Votes:

0

It would be nice to comment out specific parts of the Channel Definition in Sensor Factory Specific Settings. This would be convenient when those channels are down because your staging a probe before rollout or down for a long period of maintenance. And also to add explanatory comments/remarks for colleague Monitor Administrators.

Ex. Channel(20851,0) is down for maintenance for a longer time, but I want the Sensor Factory Sensor to show as UP instead of Warning. As example I used { } to comment out, because it's not used as an element for comparison or any calculation. Can be used inline and for a section, see below:

<definition_snippet>
#1:Average
AVG((Channel(20860,0)+{Channel(20851,0)+}Channel(20848,0)+Channel(20863,0)+Channel(21216,0)+Channel(20854,0)+Channel(20857,0)+Channel(20946,0)+Channel(21190,0)+Channel(20980,0)+Channel(20902,0)+Channel(20924,0)+Channel(20970,0)+Channel(17276,0)))
#9000:a.xyz.nl
Channel(20860,0)
{#03001:b.xyz.nl_W
Channel(20851,0)}
#03002:b.xyz.nl_S
Channel(20848,0)
#0500:c.xyz.nl
Channel(20863,0)
#1200:d.xyz.nl
Channel(21216,0)
</definition_snippet>

Kind regards,

Dimitry Schoenmakers

channel definition sensor

Created on Jun 1, 2018 8:26:49 AM

Last change on Jun 4, 2018 12:31:53 PM by  Erhard Mikulik [Paessler Support]



3 Replies

Votes:

0

Hello Dimitry,

Have you tried pausing the down sensors instead? I mean you can configure in the factory sensor's settings then how to handle paused source sensors to "Calculate the factory channels and use zero as source value", meaning the sensor would not turn to error then and simply ignore the paused sensor then.

Kind regards,

Erhard

Created on Jun 1, 2018 12:46:32 PM by  Erhard Mikulik [Paessler Support]



Votes:

0

Hi Erhard,

That's what I tried at first (and how the setting is right now), but still then the Factory Sensor shows status=Warning ("At least one source channel is paused or has no data.") and not Status=Up.

The Sensor Factory Sensor is used in a map and it now shows an orange traffic light in stead of green. The map is used for Management level and is about an average. The users of the map only have to compare the value of their probe sensor with the average. It doesn't really matter if it is made up out of 3 or out of 10 active sensors. However if all underlying sensors are down, they know it's not an internal problem, but an external...

Also the possibility to comment out parts would come in handy when creating/testing/accepting more complex sensors.

Kind regards, Dimitry

Created on Jun 1, 2018 1:31:35 PM



Votes:

0

Hello Dimitry,

Hm, yes, you are right, the sensor will turn to warning anyway in this case. I will write this up into a request for development, though I can't tell right away if this will go through or if it will be rejected for several reasons.

Kind regards,

Erhard

Created on Jun 4, 2018 11:41:50 AM by  Erhard Mikulik [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.