fix64bit
- type:
- userplugin
- userplugin:
- fix64bit
- description:
- Fix 64bit Counters
- version:
- 0.4
- license:
- GPLv2
- date:
- 2014-03-11
- email:
- [email protected]
- plugins:
- graph,
- poller,
- 64bit
Download
This plugin can be downloaded here:
Version | File | Cacti | PIA | Changelog |
---|---|---|---|---|
0.4 | fix64bit-0.4.tar.gz | Cacti 087* | 2.4+ | Updated graphs spiking fix (thanks, mitchese!) update_poller_cache fix for Cacti 8.8.a (thanks, mitchese!) |
0.3 | fix64bit-0.3.tar.gz | Cacti 087* | 2.4+ | Added mass graph fixing through the “Graph Management” page. Uninstall and then reinstall plugin to use this functionality. |
0.2 | fix64bit-0.2.tar.gz | Cacti 087* | 2.4+ | Replaced short tags ”<?” with long tags ”<?php” Code cleanup |
0.1 | fix64bit-0.1.tar.gz | Cacti 087* | 2.4+ | Initial release |
Purpose
Sometimes you want to convert some interfaces from 32bit interface counters to 64bit. Normally you should go in Data Sources page, find data source for wanted graph, change its input type, then reset maximum in rrd file, then reset the maximum in database. Too many movements.
This plugin provides a method convert 32bit interface traffic graphs to 64bit graphs by one click on the icon near the needed graph.
Features
Could be used to change other inputs for other graphs, but wasn't yet tested.
Prerequisites
PIA 2.x
Interface - Traffic graph template (present in default Cacti installation).
Installation
Installation is simple, like any other plugin - just copy its folder in plugins directory, enable it in Plugin Management, give rights to users in User Management, then go to Settings/Misc, verify settings to be like in screenshot and hit Save:
If you are upgrading from version 0.2 to 0.3, uninstall then reinstall plugin.
Usage
After plugin install you can see icon fix64bit near the graph you can convert (this icon will not appear near graphs that are incompatible or already converted).
Click on that icon, popup window will appear. If there are any possible problems with conversion, you will see them in that window.
If everything is correct, confirm conversion by clicking on “Yes” button.
Also you can choose graphs to convert in the “Graph Management” page. Just select needed graphs, choose a “Fix 64bit Counters” action in dropdown and hit “Ok”. If graphs could not be converted, you will receive corresponding message and when you press “Continue” it will fix all the graphs that it can fix.
Fixing process is performed after the next run of poller (this is due to the need to edit rrd file), so 64bit counters are begin to work only after two polls.
Verification is rather thorough, plugin checks SNMP version (it should be 2 or greater) and every SNMP query constraints.
Additional Help?
If you need additional help, please go to http://forums.cacti.net/viewtopic.php?t=36120
Possible Bugs?
Some users report problems when mass fix doesn't work. Problem is caused by the old version cacti where thold plugin doesn't allow to run everything after itself. Problem reported with cacti version 0.8.7e. Either disable thold plugin before mass fix and reenable it after or update cacti to the latest version. 0.8.7g doesn't have that problem.