[collectd] Update GETVAL output when missing state

Florian Forster octo at verplant.org
Sun Aug 16 11:26:48 CEST 2009


Hi Andrés,

On Tue, Aug 11, 2009 at 09:57:34PM +0200, Andrés J. Díaz wrote:
> I attach a patch with check the state value of an cache entry in
> uc_get_names and in uc_get_rate_by_name. This patch works for me, but
> it's not very tested yet, and I not very sure about if it's a good way
> to check the problem. The patch is tested on 4.7.2 release version.

the patch looks good to me, thank you very much :) I don't think this'll
break anything since all you do is ignore entries that are marked
missing.

I have applied the patch to the collectd-4.6 branch.

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/20090816/1cfb59c4/attachment.pgp 


More information about the collectd mailing list