Commit Graph

5 Commits

Author SHA1 Message Date
crcro
b867d3dd05 fix: apc load, runtime and current sensors (#4780)
fix: APC load, runtime and current sensors
2016-10-13 19:03:46 +03:00
Neil Lathwood
6c324cd03e refactor: Improve sensors polling for performance increase (#4725)
refactor: Improve sensors polling for performance increase
2016-10-11 19:34:09 +03:00
Tony Murray
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
Todd Eddy
83d739b5ae apc discovery: Get a count of banks before pulling info
* On my device (AP7901 / AOS v3.9.0 / App v3.7.4) discovery would keep
  clobbering the bank and current sensor.  Looking in to it the oid
  should be used for current and not bank.  To fix this now it pulls
  a count of banks using the `rPDULoadDevNumBanks.0` oid. Per MIB that
  will return 0 if no banks are found.  In which case skip the bank
  detection.

* Also update PowerNet-MIB to v4.1.7 released 2015-08-05
2016-02-20 19:37:59 -05:00
laf
b5d1155006 Updated discovery sensors module directory structure 2016-01-17 20:47:47 +00:00