today , alot of my apc devices (30-40) lost their sensors.
2021-03-07 16:34:46 Sensor Deleted: voltage apc 220.127.116.11 Input
2021-03-07 16:34:46 Sensor Deleted: voltage apc 18.104.22.168 Output
2021-03-07 16:34:45 Sensor Deleted: temperature apc 0 Internal Temperature
2021-03-07 16:34:35 Sensor Deleted: frequency apc 22.214.171.124 Input
2021-03-07 16:34:35 Sensor Deleted: frequency apc 126.96.36.199 Output
I guess it has something to do with the latest apc code change and merge.
Is there a way to fix it?
Yeah thats highly likley true, could you run these 3 commands on one of them?
./discovery.php -h HOSTNAME -d | ./pbin.sh
./poller.php -h HOSTNAME -r -f -d | ./pbin.sh
snmpbulkwalk -OUneb -v2c -c COMMUNITY HOSTNAME . | ./pbin.sh
@TheGracens Could you also test update one to latest firmware?
it seems to be firmware related.
This one is not working:
APC Web/SNMP Management Card (MB:v3.6.8 PF:v2.6.4 PN:apc_hw02_aos_264.bin AF1:v2.6.1 AN1:apc_hw02_sumx_261.bin MN:AP9617 HR:A10 SN: ZA0636015886 MD:08/30/2006) (Embedded PowerNet SNMP Agent SW v2.2 compatible)
as example the next one works
APC Web/SNMP Management Card (MB:v3.9.2 PF:v3.7.3 PN:apc_hw02_aos_373.bin AF1:v3.7.2 AN1:apc_hw02_sumx_372.bin MN:AP9617 HR:A10 SN: ZA0636015734 MD:08/30/2006) (Embedded PowerNet SNMP Agent SW v2.2 compatible)
an update to higher versions is not so easy here (we have lots of them. 30-40 devices)
Is there a way to rewrite the code so that it checks the OIDS first and if it was successful it can go the way it is, if not it falls back to the old OIDs ?
It sure is, it seemed it wasn’t needed, but apparently is.
But if you upgrade firmware you get better precision anyway.
thank for your quick response.
The current patch is now reverted. So you’ll get your sensor back next time daily.sh is run. And a new patch is in preparation to avoid this issue.
That would be great. Thanks for the info.
This topic was automatically closed 186 days after the last reply. New replies are no longer allowed.