This change will allow RRDtool to return the lastupdate time of the RRDfile if you are using RRDtool version 1.4 or 1.3, or if using a newer version of RRDtool, but the RRDtool version is not set correctly in Cacti.
Better to simply upgrade to a more recent RRDtool as the different in performance will be pretty high.
I may may one more change to bring back some old code in order to reduce the impact on performance.
* Realtime log non ordinary message
* This is new in develop. Therefore, no CHANGELOG
* Also, don't log to standard output when updating single data source in boost. It breaks REALTIME.
This should correct the boost and dsstat's issues. There were a few hands on this one and it had not undergone a full regression in a while.
This update should speed things up pretty signifcantly.
First, don't check the last_update time if rrdtool is >= 1.5
Second, we can accurately assume that the filemtime() is the last update time. This speeds things up dramatically.
* Resolving issue #1689
As noted in issue #1689 (Technical Support's RRDTool version should show
detected RRD version) the version of the RRDTool is never actually displayed.
The code has now been updated to properly handle versioning and displays both
the configured and installed versions.
The setting for rrdtool_version has been updated to a proper minimum version
number so that the cacti_version_compare() function may be effectively used.
This means that the constant values of RRDTOOL_VERSION_1_3 through
RRDTOOL_VERSION_7 have now been removed from the system.
* Some QA updates
* Further QA fixes
Good catch on the bug fixes too. Hard to spot.
_______________________________________________________
* Updated Dutch translations
- Fixed i18n
* Defined fields in queries
* Fixed changelog
* Updated Dutch translations
* Various fixes
All committed files:
- true|false to lowercase
add_perms.php:
- displayGroups() was undefined
add_tree.php:
- duplicate case for '--quiet'
repair_templates.php:
- correction function call to diaplay_version()
gettext.php:
- PHP EOF unneeded
* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file
* Updated Dutch translations
- Fixed conflicts in translations
- Optimisations of query calls and function calls in loops
- Removed unused function calls and variables
- Refactored large if statements into switch statements
- Applied early return
- Fixed alignments and removed unnecessary parentheses