Hello,
I'm setting up a template for some devices with external temperature sensors.
I'm polling them using SNMP and getting data back fine. To read the current temperature reading I poll an OID. If the temperature sensor is connected, it returns the temperature (x 10), if its not connected it returns -1.
I've tried to setup a discovery rule filter to prevent the temperature item being enabled when the sensor is not connected.
I've attached screenshots of the discovery rule filter settings and also the global regex filter I have created. When testing this (with the testing tool) it seems to work fine, however the Items are not being added.
Anyone see the problem?
I'm setting up a template for some devices with external temperature sensors.
I'm polling them using SNMP and getting data back fine. To read the current temperature reading I poll an OID. If the temperature sensor is connected, it returns the temperature (x 10), if its not connected it returns -1.
I've tried to setup a discovery rule filter to prevent the temperature item being enabled when the sensor is not connected.
I've attached screenshots of the discovery rule filter settings and also the global regex filter I have created. When testing this (with the testing tool) it seems to work fine, however the Items are not being added.
Anyone see the problem?