On May 24, 2007, at 7:13 PM, David Carmean wrote:

Using zenoss 1.1.1 in a rather unconventional manner, one of my setup
tasks is to empty out all of the RRDTemplates and start from scratch.
I.e. I delete all graphs, data sources, and OIDs so that I don't get
any RRDs created by default.

Attempting to automate this, I exported all of these empty templates to xml
and have placed them under source control; my installation method
(Perl Module::Build) places all of these files in $ZENHOME/import and then
I manually import the new templates.

However, I just discovered that even though the comments in my empty
templates are imported, the import did *not* remove the rest of
the content from the existing RRD templates.  For example, when I
imported the new, supposedly empty /Devices/ethernetCsmacd template,
the comment changed but all of the old content remained.

Am I missing something?  Or is this a bug?

David,

I don't think this is necessarily a bug, but you're right that your approach is unconventional. Have you thought about deleting the existing templates before importing your XML files?

Chet Luther
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to