[collectd] PATCH: ipmi nofiy if sensor not present
Sebastian Harl
sh at tokkee.org
Sat Aug 16 13:17:14 CEST 2008
Hi Peter,
On Thu, Aug 14, 2008 at 11:23:17AM +0200, Peter Holik wrote:
> Added notification for a sensor not present (example powersupply unplug).
[...]
> @@ -555,6 +607,13 @@
> || (strcasecmp ("On", value) == 0))
> c_ipmi_nofiy_remove = 1;
> }
> + else if (strcasecmp ("NotifySensorNotPresent", key) == 0)
> + {
> + if ((strcasecmp ("True", value) == 0)
> + || (strcasecmp ("Yes", value) == 0)
> + || (strcasecmp ("On", value) == 0))
> + c_ipmi_nofiy_notpresent = 1;
> + }
> else
> {
> return (-1);
Looks like you forgot to add "NotifySensorNotPresent" to the config_keys
array. Could you please double-check that.
TIA,
Sebastian
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080816/6ebc9259/attachment.pgp
More information about the collectd
mailing list