Glen Pitt-Pladdy :: BlogWith my Cacti templates I often get people having problems trying to load them into older versions. Here's hack for forward compatibility that may help. | |||
One thing that comes up often is the people want to use my templates with older versions of Cacti. When this happens you will likely get an error like "Cacti version does not exist". Fortunately this can be easily cured by adding in the version the template was made under into the Cacti file global_arrays.php and/or config_array.php as follows:
$hash_version_codes = array( I will keep this article updated whenever I discover new versions that need adding. Also note that this will not necessarily work, especially if there is a big difference between your Cacti version and the version the template was created with. |
|||
Disclaimer: This is a load of random thoughts, ideas and other nonsense and is not intended to be taken seriously. I have no idea what I am doing with most of this so if you are stupid and naive enough to believe any of it, it is your own fault and you can live with the consequences. More importantly this blog may contain substances such as humor which have not yet been approved for human (or machine) consumption and could seriously damage your health if taken seriously. If you still feel the need to litigate (or whatever other legal nonsense people have dreamed up now), then please address all complaints and other stupidity to yourself as you clearly "don't get it".
Copyright Glen Pitt-Pladdy 2008-2023
|
Comments:
okay. I tried this- updated the global_arrays.php.... now I get a different error:
"Error: XML: Generated with a newer version of Cacti."
Earlier i got this one- "Error: XML: Hash version does not exist." Can you please help me matey!
The above issue is becos of using a lower version of Cacti. The best option is to upgrade. However, if anybody wants to try importing, the trick is to change the hash numbers the numbers from the 3rd to 6th pos represent the version that the cacti supports min. If you change it manually it will be imported. But whether it will work or not will be dependent on the features used in that template! good luck matey!
I use 0.8.7 version, this is not an old one.