Store metrics with undefined values as well
Improve collectd stream handling
One connection per db, that fixes auth problems