|
From: Turbo F. <tu...@ba...> - 2006-02-21 11:06:22
|
Quoting Chris Studt <ch...@on...>:
> I'm currently trying to implement the bind9-snmp functionality on our cacti
> server and I'm having some problems. I downloaded the bind9-snmp_1.6.tar.bz2
> files and our cacti server is running version 0.8.6f. After following the
> README.txt file and copying all the files to the specified places, I attempt to
> import the template cacti_host_template_bind9_snmp_machine.xml and I receive the
> error:
>
> Error: XML: Hash version does not exist.
Do you know on which 'attribute' it say this? Which hash (number/version) does
it complain about?
If it's any of the last ones in the XML file (Daily, Weekly, Monthly, Yearly, Normal),
then remove them from the XML file, find YOUR hash value(s) for these and change
the XML file before trying to reload it...
Example:
<hash_150010c21df5178e5c955013591239eb0afd46>
<name>Daily (5 Minute Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>1</steps>
<rows>600</rows>
<timespan>86400</timespan>
<cf_items>1|3</cf_items>
</hash_150010c21df5178e5c955013591239eb0afd46>
If this is (one of) the one it complains about, remove that section from the XML
file, find your hash value (by trying to export something and look for this 'exact'
thing in your export) and change 'hash_150010c21df5178e5c955013591239eb0afd46'
with _YOUR_ hash value...
For example (2). This hash value is in two places (<rra_item>):
<hash_010010983dcdaa7a98ab90299c6a6a084465e4>
<name>SNMP - Local - Bind9 Statistics - totals - DATA</name>
<ds>
[...]
<rra_items>hash_150010c21df5178e5c955013591239eb0afd46|hash_1500100d9c0af8b8acdc7807943937b3208e29|hash_1500106fc2d038fb42950138b0ce3e9874cc60|hash_150010e36f3adb9f152adfa5dc50fd2b23337e</rra_items>
</ds>
[...]
</hash_010010983dcdaa7a98ab90299c6a6a084465e4>
<hash_01001007fcc22ea6c3e80de1b682cce7649250>
<name>SNMP - Local - Bind9 Statistics - domains - DATA</name>
<ds>
[...]
<rra_items>hash_150010c21df5178e5c955013591239eb0afd46|hash_1500100d9c0af8b8acdc7807943937b3208e29|hash_1500106fc2d038fb42950138b0ce3e9874cc60|hash_150010e36f3adb9f152adfa5dc50fd2b23337e</rra_items>
</ds>
[...]
</hash_01001007fcc22ea6c3e80de1b682cce7649250>
You will have to do this manurer for ALL the rejects... !
Extreamly annoying and time consuming, but I don't know any other way to do it!
And it seems the list doesn't either... I've asked twice without responce...
[I'm trying a third time, maybe I'm luckier this time :)]
|