[zenoss-users] [PATCH] Multiple datapoints in one datasource

Hrvoje Habjanić hrvoje.habjanic at zg.t-com.hr
Fri Nov 30 08:54:39 EST 2007


Hi!

I noticed that when you have defined more than one datapoints in one 
datasource, only last one (datapoint) will be updated. As i see it, it is bug 
because gui allows to add more than one datapoint. So i did wrote this patch 
which corrects this bug, and updates all datapoints within one datasource.

(i didn't check if there is already ticket for this ...)

The patch itself is preaty straight forward - instead of scalar reference to 
datapoint in datasource, i created dictionary (name is key) which holds all 
datapoints in datasource.

Again, i'm not zenoss programmer, so use this patch on your own.

H.

p.s. I someone could forward this to dev team ... :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi-dp-in-ds.patch
Type: text/x-diff
Size: 3264 bytes
Desc: not available
Url : http://lists.zenoss.org/pipermail/zenoss-users/attachments/20071130/4a56062d/multi-dp-in-ds.bin


More information about the zenoss-users mailing list