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


Article Comments

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


Jun, 2018 - Permalink

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


Jun, 2018 - Permalink

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


Jun, 2018 - Permalink