Make health-monitor compatible with “sensor list” command
When running both the health-monitor with dbus-sensors service,
"ipmitool sensor list" command cannot list all sensors and error
reported.
The root cause is that health-monitor exports it as an utilization
sensor but incompatible with sensor reading:
Max and min values should be set and max should > min;
Critical/warning values should be set
Object Manager should be registered on dbus "/"
Tested:
Ipmitool sensor list can list all these sensors without error.
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: Ie9311f153b647e2ddec09aaa3edf448926c21e97
1 file changed