Hi,
In step 4 of the KB article https://helpdesk.paessler.com/en/support/solutions/articles/76000041871-what-can-i-monitor-with-the-snmp-custom-table-sensor
it says to set the Sensor Channel #1 setting to "Value Lookup" in the pull down menu, and then to set the value for "Sensor Channel #1 Value Lookup" to "prtg.custom.ifoperstatus" <- however, this isn't listed as an option in either the demo environment, or in the production environment, running 19.4.54.1506. We just have "prtg.standard" options. What can we do here? We're trying to look up interfaces operational status and alert if the interface is up, but not down.
Article Comments
Hi John,
It is also mentioned there that this lookup has to be created first ;)
Anyway, this would be the lookup file:
<?xml version="1.0" encoding="UTF-8"?>
<ValueLookup id="prtg.custom.ifoperstatus" desiredValue="1" undefinedState="Warning">
<Lookups>
<SingleInt state="Ok" value="1">
up
</SingleInt>
<SingleInt state="Error" value="2">
down
</SingleInt>
<SingleInt state="Warning" value="3">
testing
</SingleInt>
<SingleInt state="None" value="4">
unknown
</SingleInt>
<SingleInt state="Error" value="5">
dormant
</SingleInt>
<SingleInt state="Error" value="6">
notPresent
</SingleInt>
<SingleInt state="Error" value="7">
lowerLayerDown
</SingleInt>
</Lookups>
</ValueLookup>
Save that as prtg.custom.ifoperstatus.ovl in PRTG's installation path in subfolder "\lookups\custom", then you'll have it at your disposal. In case you're wondering about the values, ifOperStatus can have 7 possible return values, see also here.
Kind regards,
Erhard
Dec, 2019 - Permalink
Hi John,
It is also mentioned there that this lookup has to be created first ;)
Anyway, this would be the lookup file:
Save that as prtg.custom.ifoperstatus.ovl in PRTG's installation path in subfolder "\lookups\custom", then you'll have it at your disposal. In case you're wondering about the values, ifOperStatus can have 7 possible return values, see also here.
Kind regards,
Erhard
Dec, 2019 - Permalink