[collectd] PATCH: ipmi
Peter Holik
holik at it-technology.at
Tue Aug 12 18:09:22 CEST 2008
Hi!
I made following changes:
* Sensor names
Because i had twice sensor names i changed them to
current-Current 1 power_supply (10.1).rrd
current-Current 2 power_supply (10.2).rrd
fanspeed-FAN 1 RPM system_board (7.1).rrd
temperature-Temp processor (3.1).rrd
temperature-Temp power_supply (10.1).rrd
* I store sensor names/type in c_ipmi_sensor_list_t
Because i thought why every time build the sting after got a value.
I build it now in sensor_list_add,
also ignorelist_match is handled here
* Added notification configureable for
* NotifySensorNotPresent
I have a dell 2950 dual power supply.
If i unplug one power supply the sensor got removed because
of error IPMI_NOT_PRESENT_CC.
Now if error is IPMI_NOT_PRESENT_CC i will log and remember this in
list_item->sensor_not_present.
If NotifySensorNotPresent is "True" then also a notification is produced
(also if plug the cord back)
* NotifySensorRemove
If a sensor got removed a notification is produced
* NotifySensorAdd
Only if any sensor got removed and any other appeared a notification is produced
cu Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipmi.c.diff
Type: text/x-diff
Size: 11112 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080812/125452be/attachment.diff
More information about the collectd
mailing list