I defined a custom lookup and when there is no data on a given channel the sensor is still "OK" ?!
How can I switch it to "Error"? and please ... no value limits ...
<?xml version="1.0" encoding="UTF-8"?>
<ValueLookup id="lookup.snmp.freebsd.service" desiredValue="1" undefinedState="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PaeValueLookup.xsd">
<Lookups>
<SingleInt state="Ok" value="1">
running
</SingleInt>
<SingleInt state="Ok" value="2">
runnable
</SingleInt>
<SingleInt state="Warning" value="3">
notRunnable
</SingleInt>
<SingleInt state="Error" value="4">
invalid
</SingleInt>
</Lookups>
</ValueLookup>
Hello,
Which sensor type are you using exactly? Feel free to reach out to us directly via mail at support@paessler.com so we can take a closer look at screenshots of the issue you are referring to. In general if there's no data returned by the target device but the sensor was executed successfully, the sensor/channel should be displayed as Unknown/Grey.
May, 2022 - Permalink