I have created a custom SNMP lookup file as outlined below.
<?xml version="1.0" encoding="UTF-8"?>
<ValueLookup id="APC-UPS_battery_status" desiredValue="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PaeValueLookup.xsd">
<Lookups>
<SingleInt state="Warning" value="1">
Unknown
</SingleInt>
<SingleInt state="Ok" value="2">
BatteryNormal
</SingleInt>
<SingleInt state="Error" value="3">
BatteryLow
</SingleInt>
</Lookups>
</ValueLookup>
The file is loaded correctly, but i still receive the following error: "The lookup "apc-ups_battery_status" does not contain a definition for "2""
This means that my OID (.1.3.6.1.4.1.318.1.1.1.2.1.1.0) fort he ups is being read, but the value can not be fount in the lookup. What am i doing wrong?
Add comment