Porting these three fixes from the 1.2.x branch
* upgrading to 1.2.22 most of the plugins break in a multipoller setup
* When remote poller is in offline mode GUI inaccesible and poller times out
* When in Recovery Mode plugins that are designed to work remotely stop working
- When a developer uses backtracing, HTML output can be seen from command line bug confirmed
- When using `input_validate_xxx`, calls to `die_html_input_error()` do not pass variable name bug confirmed
Closes#3559Closes#3560
Update loadPage calls to be loadUrl
Update loadPageNoHeader calls to be loadUrl calls
Also includes changes to make logout adhere to new html_auth_xxx functions
- When performing plugin actions from the Cacti UI, replication should be forced to Remote Collectors
- max_packet was not being calculated correctly.
- Cacti log function logging on verbosity NONE
- Cacti can not differentiate between execution remotely between the main poller loop vs. poller bottom
- Also QA including, better logging
- One Hooks in wrong section 'cacti_stats_update'
- I've noticed two hooks that are no longer in Cacti. Need to see when they were removed 'poller_output' and 'poller_command_args'.
This allows $ret calls that were initially empty to not trigger an error. This was applicable for the graph refresh hook that, if the user has no default setting, will initialize as null.
When a plugin INFO file is malformed or missing elements, plugin_load_info_file() should fill missing elements with defaults which are now defined as:
'name' => directory holding info file
'requires' => blank
'longname' => directory holding info file (first letter is uppercased)
'status' => 0
'version' => 0.0
'author' => 'Unknown'
'homepage' => If webpage is set, use that otherwise 'Not Stated'
'directory' => directory holding info file
This will ensure consistency and that any attempts to use a key such as requires will be present.
This allows the row format to be dynamic only when the
innodb_file_format is Barracuda, and corrects a bug in detecting MySQL
vs. MariaDB in the version string.
Modifying relam registration files and description not supported in
plugin api
Additionally removing 'Management' from plugins since we have it removed
everywhere else.