when duplicating a tree rule, the regexp [search pattern, replace_pattern}] strings throws:
PHP Warning: mysql_real_escape_string(): Access denied for user 'apache'@'localhost' (u sing password: NO) in /var/www/html/commitcommit4868/lib/api_automation.php on line 1465, referer: http://192.168.206.136/cacti/automation_tree_rules.php
Changed to use the same validation as we use when we save them in the first place.
pretty big changes to make the discovered devices code layout to conform
to cacti standard. there are new columns that have to be added to
automation_devices table.
devices should be created and graph automation rules executed with this
change. still need to validate tree rule creation. the scope include
initial device creation, and any network scanning.
this is part three of project to remove the use of $_GET, $_REQUEST, and
$_POST in the code. Parts one and two have already been completed.
Part one was to remove the use of $_GET throughout the code, part two
was the incorporation of wrapper functions to handle specific
validation, verification and sanitization cases. This third part will
remove the use of the get_request_var_request() from the code. Part
four, and beyond will include the removal of both $_REQUEST and $_POST
super globals from the code.
1) Move more image tags to font-awesome
2) Fix Classic graph tree page
3) Add class for form item name and descriptions
4) Fix some table rendering to be consistent
5) Fix some form save actions
6) Add new Cacti SVG logo
7) Correct Classic login page
8) Hide form descriptions on when using dark theme
9) Only show up and down move arrows when appropriate
Add logging option to snmp queries
Make netbios and optional field
Allow ongoing scans to be canceled
Report progress better
Allow --force to work
Finish enable/disable support
Fix various PHP errors
Add options for 20 and 50 threads
(Bumping it to 100 threads finishes a /24 in 8 seconds, but can cause
MySQL connection issues, it does work without error though)
- Merging automation Phase I which only includes the Autom8 plugin.
Phase II will included an enhanced discovery plugin.
- Also reworked the cacti_log function to specify a level in order to
streamline code
- Converted poller functions to still include Poller[xx], but all others
will not
- More conversion of double to single quotes