Commit Graph
315 Commits
Author SHA1 Message Date
Rafael David Tinoco ff6056d3c8 MySQL 8 change needs: NO_AUTO_CREATE_USER and grouping keyword (#2882)
Closes 2872

Newer MySQL versions include "grouping" as a keyword:

- https://dev.mysql.com/doc/refman/8.0/en/keywords.html

  GROUPING (R); added in 8.0.1 (reserved)
  GROUPS (R); added in 8.0.2 (reserved)

And they also have NO_AUTO_CREATE_USER as the default SQL mode:

- https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html

  Using GRANT to create users. Instead, use CREATE USER. Following this
  practice makes the NO_AUTO_CREATE_USER SQL mode immaterial for GRANT
  statements, so it too is removed.

This patch addresses those 2 issues.

Signed-off-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
2019-08-11 13:13:13 -05:00
cigamit 2fb74f558d Resolving Issue #2563
Sorting by name_cache slow on Data Sources page
2019-03-23 19:11:40 -05:00
cigamit cd6b789bb0 Resolving Issue #2317
Poller time table running out of auto increment keys
Also correct two copyright years
2019-01-26 10:23:42 -06:00
cigamit b3ad967a04 Resolving Issue #2219
This new change will keep the host entry in the host table for a day
after the device has been removed.
2018-12-20 16:51:59 -06:00
netniV 30a14254e0 Partial fix resolving issue #2078 2018-10-15 20:15:46 +00:00
netniV 955f4903b0 Allow SSL cert settings for remote pollers 2018-10-14 10:02:34 +00:00
cigamit b3ea9a94b9 Resolving Issue #1976
Default admin permissions do not allow everything
2018-09-28 04:55:36 -05:00
cigamit 4d3d8a6dc7 More requirements for Issue #1060
After initiali install remote data collector will not operate properly
without a full sync.  So, we add a new column that instructs the main
data collector to perform a full sync at the next poller run.
2018-09-23 15:30:04 -05:00
cigamit 504631343e Additional QA and Fixes for Issue #1060
- Add full sync cli tool
- Add force full sync option under settings
- Display last sync time from the Data Collectors page
- Upgrade script to add new poller column
2018-09-23 00:25:06 -05:00
cigamit 188ca27521 Resolving Issue with Verify all Fields Re-Index Issue
Verify all Fields not working due to Cacti 1.x upgrade error
2018-09-08 09:00:39 -05:00
cigamit 006627e3a6 Add Zoom Level to Site Definition
This will allow closer intergration with maps functionality.
2018-09-03 15:45:38 -05:00
cigamit 4eeb6a8180 Add two default sites to the default install 2018-09-03 09:34:16 -05:00
cigamit 76645ecb4d Correct tree automation issue 2018-09-02 12:08:36 -05:00
cigamit 5fce8f4a96 Enable tree automation for initial discovery 2018-09-02 11:04:04 -05:00
cigamit f7284d51b3 Fully back out changes 2018-08-18 15:46:13 -05:00
cigamit 292796f5b7 Updoing the mediumint changes
Turns out this is an artifact of the conversion,.  Will have to handle
this situation in the audit script.
2018-08-18 15:39:19 -05:00
cigamit 21e485d44a Move text fields to mediumtext
This appears to have happened automatically when moving the storage to
utf8mb4
2018-08-18 15:18:38 -05:00
cigamit 7ef666c562 Resolving Issues #1804 and #1805
Do not create 64bit graphs on Windows devices
Pre-populate the settings database with defaults
One minor wording change in Automation
2018-08-06 17:30:48 -05:00
Mark Brugnoli-Vinten e35a23517e Resolving issues #1791 and #1794 (#1793)
* Resolving issue #1791

* Resolving issue #1794
2018-08-06 06:44:03 -05:00
cigamit ca264621c5 Enable disk and network automation rules by default 2018-08-02 20:55:28 -05:00
cigamit 1df6e8498c Make ICMP the default ping for Automation Networks 2018-07-28 20:37:35 -05:00
cigamit 4f4216a5b1 Ensure devices are added to Cacti during automation 2018-07-28 20:12:13 -05:00
cigamit ffae1aca64 Additional Enhancement to #1708 After Design Review
After discussion, we have agreed to support three levels of notification
configuration.  This will allow the Admin to have the ultimate
flexibility to control the Email options from the system level to the
network level.
2018-07-28 08:21:44 -05:00
cigamit 8d7ecfe39d Resolving Issue #1708
Automation: Email settings should have network level overrides
2018-07-27 17:46:01 -05:00
Mark Brugnoli-Vinten ed57331dfd Fixes for Issue 1729 and 1730 (#1747)
* Fixes QA issues with upgrades from older versions

* Redirect install/index.php to install/install.php

* Further QA fixes

* Ensure upgrade matches new password field length

* Add 'Installation In Progress' message

* Fix QA issues
2018-07-25 08:45:41 -04:00
Mark Brugnoli-Vinten a89d8f816f Feature #1676 - Allow duplicate sysnames during network discovery (#1694)
* Feature #1676 - Allow duplicate sysnames during network discovery

This commit adds functionality to enable duplicate sysnames to be added to the system on multiple hosts.  An option will be visible in the settings of the Network being discovered to enable this functionality which is disabled by default to maintain the current level of functionality

* Fix QA issue with DB fieldname

* Locate field after add_to_cacti field

* Make Travis Happy

* Fix minor QA issue
2018-07-11 04:55:09 -05:00
Mark Brugnoli-Vinten 0259c84f48 Feature #1677 - Default Tree node sorting to be inherited (#1678)
* Feature #1677 - Default Tree node sorting to be inherited

This feature changes the default sorting option to be 'Inherited' when creating new nodes (including root ones) whilst editing a tree. This does not update existing ones to be inherited.

Note: if a DB has already been updated to 1.2, either downgrade and upgrade again or modify the sort_children_type default on the graph_tree_items table to be 0 rather than 1.  Failure to do so will result in manual sorting still being applied do to SQL/PHP assuming that a zero means no value!

* Minor change to update script.
2018-07-04 11:11:47 -05:00
cigamit 07544275a3 Another MySQL 8.x Reserved word related to #1655
The word 'path' appears to be moving into the reserved domain as well.
Related to issue #1655
2018-06-02 09:07:15 -05:00
cigamit 7468ad7d4b Additional reserved work in MySQL 8.x
The word "locked" is now a reserved word in MySQL 8.x
2018-06-02 08:55:30 -05:00
cigamit 2f7b1b6737 Resolving Issue #1655
Correct Cacti to handle new MySQL 8.0 reserved word `system`
2018-06-02 08:45:47 -05:00
cigamit b02f80f3a8 Missed cacti.sql updates and format fix 2018-05-08 20:13:44 -05:00
cigamit a28b137f91 Resolve Issue #1593
Allow External links to auto refresh
2018-05-06 09:29:39 -05:00
cigamit ddbc903b3b feature: Add One Minute Sampling to the default Data Source Profiles 2018-04-07 10:18:01 -05:00
cigamit 012ea39653 -feature: Add Timezone support for Remote Data Collectors 2018-04-03 20:42:19 -05:00
cigamit f89ab3b3bc Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	auth_login.php
#	data_sources.php
#	graphs_new.php
#	include/auth.php
#	lib/api_tree.php
#	lib/html_form_template.php
#	lib/html_tree.php
#	lib/template.php
#	permission_denied.php
#	poller_automation.php
#	tree.php
2018-03-25 11:08:00 -05:00
cigamit a35411aa7b Resolving Issue #1468
Increase max length of host.snmp_sysObjectID column
2018-03-24 09:20:42 -05:00
cigamit 7e70e27940 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
#	include/themes/modern/main.css
#	tree.php
2018-02-18 16:26:26 -06:00
cigamit 87c76f07be Sync Automation Rules with Current Import Porcess 2018-02-14 18:11:12 -06:00
cigamit b25896415a Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-02-06 08:08:43 -06:00
cigamit 5ba3fd4f7f Minor updates from Regression and QA 2018-02-04 14:27:12 -06:00
cigamit 7b60a000a8 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	lib/api_automation.php
2018-02-03 13:36:09 -06:00
cigamit 1d7118a941 More audit changes around snmp and column names and types
This change also removes the auto_increment defaults for certain tables
which should not be included in the default schema.
2018-02-03 13:31:21 -06:00
cigamit 31a69bd3df Correct slight typo in cacti.sql 2018-01-28 12:41:58 -06:00
cigamit aaf535b823 Correct slight typo in cacti.sql 2018-01-28 10:20:58 -06:00
Jimmy Conner 55ced6d26e Correct issue with cacti.sql 2018-01-28 09:30:47 -06:00
cigamit 3825e03588 One change for default engine_id
That appears to possibly be customer information.
2018-01-28 08:04:39 -06:00
cigamit 5f0049c2cb One change for default engine_id
That appears to possibly be customer information.
2018-01-26 20:40:14 -06:00
cigamit 0dcecfda85 Additional audit findings correcting schema and upgrade script 2018-01-26 20:28:32 -06:00
cigamit eae1f6e44e Additional audit findings correcting schema and upgrade script 2018-01-26 20:26:27 -06:00
cigamit 10a8e523f7 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	cacti.sql
#	data_sources.php
#	docs/CHANGELOG
#	graphs.php
#	host.php
2018-01-26 19:31:47 -06:00