Cacti Hash Identifiers

Cacti generates a type of GUID identifier for each object. This has a few characters of metadata: the text hash_, the object type, the Cacti version that generated the GUID, and a random string. The inclusion of the Cacti version number means that graphs aren’t backwards compatible if you regenerate them on a newer version of Cacti and try to install them on an older version of Cacti. The older version will examine the version string in the hash and generate an error.

To avoid this problem, this templating system generates hashes that look like this:


The template generation process replaces the _VER_ constant with an appropriate value for the target version of Cacti. As an example, if you’re generating for Cacti 0.8.6g, the value will look like the following:


If you need to add support for a newer version, look for %hash_version_codes in pmp-cacti-template.

The hashes in the template definition .def files should be globally unique. It’s difficult to generate them manually, so there is a pmp-cacti-make-hashes helper tool to make this easier. You can read more about this in the documentation on creating graphs.

Percona Monitoring Plugins
Call Us
+1-888-316-9775 (USA - Sales)
+1-208-473-2904 (USA - Sales)
+44-208-133-0309 (UK - Sales)
0-800-051-8984 (UK - Sales)
0-800-181-0665 (GER - Sales)
+1-877-862-4316 (Emergency)
+1-855-55TRAIN (Training)
+1-925-271-5054 (Training)

Previous topic

Adding Graphs

Next topic

Creating Graphs

© Copyright 2012, Percona Inc.
Except where otherwise noted, this documentation is licensed under the following license:
CC Attribution-ShareAlike 2.0 Generic
{@ footer_documentation_bugs @}
This documentation is developed in Launchpad as part of the Percona Monitoring Plugins source code.
If you spotted innacuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.
{@ /footer_documentation_bugs @} ]]>