Previously I had created 2 separate datasources for temp and humidity, but I was able to modify yours and added a couple things:
- Description: datasource created to apply to certain models of APC Rack PDUs (AP84XX, AP86XX, AP88XX, AP89XX) https://www.apc.com/us/en/faqs/FA156179/
- Enabled Active Discovery and checks for sensor type temperatureOnly (1) or temperatureHumidity (2) real values from 22.214.171.124.4.1.3126.96.36.199.10.2.2.1.5 (rPDU2SensorTempHumidityStatusEntry) before adding instance to devices
Description OID 188.8.131.52.4.1.3184.108.40.206.10.2.2.1.3 can be added if the sensor name has been configured on the device, default is "SensorName" so I leave it out and let the instance take the name of the sensor (first and only is 1 in my environment)
APC suggests that the newer Rack PDUs (rPDU2) monitoring use the 220.127.116.11.4.1.318.104.22.168 values for as described in the link and they do not recommend the old OIDs.