--- hobbitd/do_rrd.c 2008/03/22 12:55:03 1.59 +++ hobbitd/do_rrd.c 2008/03/23 07:31:13 @@ -270,6 +270,7 @@ } else { cacheitem = (updcacheitem_t *)gettreeitem(updcache, handle); + if (!template) template = cacheitem->tpl; } /* If the RRD file doesn't exist, create it immediately */