We have had great success in making custom device templates that add only the sensors, and exact configurations we're looking for. I find this automation excellent as it avoids the possibility of miss-configuration.
However, I am thus far unable to set the Primary Channel via a node in <createdata>. In this case, I am trying to setup a custom template for Dell EqualLogics, and we hope to add threshold notifications via Library (which can only apply to the Primary Channel -- hence my desire). As suggested by https://kb.paessler.com/en/topic/70882-can-i-use-a-generic-meta-scan-for-any-sensor-type I have found the parameter primarychannel via source of an existing sensor, but unfortunately no variation of possible values I have tried seems to have the desired outcome.
To illustrate, here is a snippet of my template:
<create id="equallogicmember" kind="snmpdellequallogicmemberhealth" meta="snmpdellequallogicmemberhealthscan" requires="equallogic">
<primarychannel>5|Storage Free % (%)|</primarychannel>
The value 5|Storage Free % (%)| is from the source of a working sensor, and I have tried variations of 5|Storage Free % (%)|,5, and Storage Free % (%) without success. Note that the test_tag is created in this example, so at least part of the createdata node does appear to be working as intended.
Is it possible to set the Primary Channel via template, and if so, what is the syntax?
Many thanks in advance!