Closed GoogleCodeExporter closed 9 years ago
Can you give any more information?
I am aware of one place where the templates have hash identifiers that don't
have a
version and object, but I was mimicking Cacti's output on that. Perhaps Cacti
has
fixed their bug, and now they are not generating/accepting invalid
export/import anymore.
Original comment by baron.schwartz
on 7 May 2008 at 12:21
Try it now. There is a new download in the Downloads tab.
Original comment by baron.schwartz
on 1 Jun 2008 at 4:46
i notice there are two xml files in the 1.0.0 release bundle (0.8.61 and 0.8.6j)
i tried both of these and i'm still seeing the "hash version does not exist"
error
tried the make-template route and got the same results
running cacti 0.8.6h on ubuntu 6.06 x64
Original comment by boo...@gmail.com
on 1 Jun 2008 at 5:59
i was able to get the template to import in a cacti 0.8.7b environment, so this
is
probably a case of a newer cacti can import and older version template, but not
the
reverse
Original comment by boo...@gmail.com
on 1 Jun 2008 at 7:01
Right. If you use make-template with your Cacti version in --cactiver you
should be
able to import.
Original comment by baron.schwartz
on 1 Jun 2008 at 11:17
looks like the --cactiver option might have some problems
the --help from make template seems to imply that the --cactiver needs no
value, but
running:
perl make-template.pl --cactiver mysql_definitions > mytemplate.xml
throws an error "you must specify a FILE to parse"
grepping for cactiver in the script you find "cactiver=s" and running with --
cactiver=s will at least yield output, but it again fails the XML HASH
Original comment by boo...@gmail.com
on 3 Jun 2008 at 7:57
i was able to get the following to work with 0.8.6h
perl make-template.pl --cactiver=0.8.6h mysql_definitions >
mysql-cacti-0.8.6h.xml
so it is possible to get a template working even under an older version
Original comment by boo...@gmail.com
on 3 Jun 2008 at 8:03
I just added a little more code to check for the presence and validity of the
version.
Original comment by baron.schwartz
on 3 Jun 2008 at 11:11
Original issue reported on code.google.com by
MeisterD...@gmail.com
on 6 May 2008 at 6:04