[collectd] [PATCH] dell 2950 dual power supply

Florian Forster octo at verplant.org
Tue Jul 15 08:42:32 CEST 2008


Hi Peter,

On Tue, Jun 17, 2008 at 03:32:09PM +0200, Peter Holik wrote:
> I wanted to be notified if one of the power supplies are disconnected
> but collectd removes this sensor:
> 
> ipmi plugin: sensor_read_handler: Removing sensor (10.1).Voltage 1
>   power_supply, because it failed with status 0x10000cb.
> ipmi plugin: sensor_read_handler: Removing sensor (10.1).Current 1
>   power_supply, because it failed with status 0x10000cb.
> 
> from ipmi_err.h
> 
> #define IPMI_NOT_PRESENT_CC 0xCB

I think the cleanest way to do this is to implement that in the ipmi
plugin directly. Some configuration options, such as
  NotifySensorAdd    true|false
  NotifySensorRemove true|false
could be used to tell the plugin to (not) send notifications when it
finds new sensors or if sensors are removed.

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- 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/20080715/99ab286b/attachment.pgp 


More information about the collectd mailing list