Closed herr-nandez closed 2 years ago
Run this:
SELECT * FROM host WHERE id = ?\G
Post the output, black out identifiable information. That spine output was useless.
I fixed your spine output to make it readable.
You should also run the cli:
cd /var/www/html/cacti/cli
php -q audit_database.php --report
Post any exceptions.
Hello TheWitness, Thank you helping me. Here's the output:
mysql> status
--------------
/u00/app/mysql/mysqlclient/bin/mysql Ver 8.0.29-commercial for Linux on x86_64 (MySQL Enterprise Server - Commercial)
<cut>
mysql> SELECT * FROM cacti.host WHERE id = ?\G
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1
mysql> SELECT * FROM cacti.host WHERE id = ?\G;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1
ERROR:
No query specified
mysql>
user@server:/opt/data/www/cacti/cli> php -q audit_database.php --report
mysql: [Warning] Using a password on the command line interface can be insecure.
SUCCESS: Loaded the Audit Schema
---------------------------------------------------------------------------------------------
Checking Table: 'aggregate_graph_templates'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'total', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'total_type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'order_type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'created', Attribute 'Extra' invalid. Should be: '', Is: 'DEFAULT_GENERATED'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 8, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'aggregate_graph_templates_graph'
ERROR Col: 'aggregate_template_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'height', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'width', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'base_value', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'right_axis_format', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'aggregate_graph_templates_item'
ERROR Col: 'aggregate_template_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_templates_item_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'color_template', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'graph_type_id', Attribute 'Type' invalid. Should be: 'tinyint(3)', Is: 'tinyint'
ERROR Col: 'cdef_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 6, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'aggregate_graphs'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'aggregate_template_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'total', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'total_type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'order_type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'created', Attribute 'Extra' invalid. Should be: 'on update CURRENT_TIMESTAMP', Is: 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 10, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'aggregate_graphs_graph_item'
ERROR Col: 'aggregate_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_templates_item_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'color_template', Attribute 'Type' invalid. Should be: 'int(11) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_type_id', Attribute 'Type' invalid. Should be: 'tinyint(3)', Is: 'tinyint'
ERROR Col: 'cdef_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 6, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'aggregate_graphs_items'
ERROR Col: 'aggregate_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_devices'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'network_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp_version', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'snmp_port', Attribute 'Type' invalid. Should be: 'mediumint(5) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sysUptime', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'snmp', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERROR Col: 'known', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERROR Col: 'up', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERROR Col: 'time', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERRORS: 9, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_graph_rule_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'rule_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'operation', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'operator', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_graph_rules'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_id', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'graph_type_id', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_ips'
ERROR Col: 'network_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'pid', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'status', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'thread', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_match_rule_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'rule_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'rule_type', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'operation', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'operator', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERRORS: 6, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_networks'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'poller_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'site_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'total_ips', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'up_hosts', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp_hosts', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'ping_method', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'ping_port', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'ping_timeout', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'ping_retries', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'sched_type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'threads', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'run_limit', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'recur_every', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 15, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_processes'
ERROR Col: 'pid', Attribute 'Type' invalid. Should be: 'int(8) unsigned', Is: 'int unsigned'
ERROR Col: 'poller_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'network_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'up_hosts', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp_hosts', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_snmp'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_snmp_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp_version', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'snmp_port', Attribute 'Type' invalid. Should be: 'mediumint(5) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_timeout', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp_retries', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'max_oids', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'bulk_walk_size', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERRORS: 9, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_templates'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(8)', Is: 'int'
ERROR Col: 'host_template', Attribute 'Type' invalid. Should be: 'int(8)', Is: 'int'
ERROR Col: 'availability_method', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_tree_rule_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'rule_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'sort_type', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_tree_rules'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'tree_id', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'tree_item_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'leaf_type', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERROR Col: 'host_grouping_type', Attribute 'Type' invalid. Should be: 'smallint(3) unsigned', Is: 'smallint unsigned'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'cdef'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'system', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'cdef_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'cdef_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'type', Attribute 'Type' invalid. Should be: 'tinyint(2)', Is: 'tinyint'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'color_template_items'
ERROR Col: 'color_template_item_id', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'color_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'color_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'color_templates'
ERROR Col: 'color_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'colors'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_debug'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(11) unsigned', Is: 'int unsigned'
ERROR Col: 'started', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'done', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'user', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'datasource', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_input'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'type_id', Attribute 'Type' invalid. Should be: 'tinyint(2)', Is: 'tinyint'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_input_data'
ERROR Col: 'data_input_field_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_template_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_input_fields'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_input_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'smallint(5)', Is: 'smallint'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_local'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'data_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_id', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'orphan', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_profiles'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'step', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'heartbeat', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_profiles_cf'
ERROR Col: 'data_source_profile_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'consolidation_function_id', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_profiles_rra'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_source_profile_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'steps', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'rows', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'timespan', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_purge_action'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'action', Attribute 'Type' invalid. Should be: 'tinyint(2)', Is: 'tinyint'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_purge_temp'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'size', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'in_cacti', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERROR Col: 'data_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_stats_daily'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_stats_hourly'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_stats_hourly_cache'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_stats_hourly_last'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_stats_monthly'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_stats_weekly'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_source_stats_yearly'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_template'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_template_data'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_data_template_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'data_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_input_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'rrd_step', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_source_profile_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 7, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'data_template_rrd'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_data_template_rrd_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'data_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'rrd_heartbeat', Attribute 'Type' invalid. Should be: 'mediumint(6)', Is: 'mediumint'
ERROR Col: 'data_source_type_id', Attribute 'Type' invalid. Should be: 'smallint(5)', Is: 'smallint'
ERROR Col: 'data_input_field_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 7, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'external_links'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'sortorder', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'refresh', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_local'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_id', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'snmp_query_graph_id', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_template_input'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_template_input_defs'
ERROR Col: 'graph_template_input_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_template_item_id', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_templates'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_templates_gprint'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_templates_graph'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_graph_template_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'height', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'width', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'base_value', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'right_axis_format', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERRORS: 8, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_templates_item'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_graph_template_item_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'local_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'task_item_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'color_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'graph_type_id', Attribute 'Type' invalid. Should be: 'tinyint(3)', Is: 'tinyint'
ERROR Col: 'dash_offset', Attribute 'Type' invalid. Should be: 'mediumint(4)', Is: 'mediumint'
ERROR Col: 'cdef_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'vdef_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'consolidation_function_id', Attribute 'Type' invalid. Should be: 'tinyint(2)', Is: 'tinyint'
ERROR Col: 'gprint_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 13, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_tree'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERROR Col: 'locked', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERROR Col: 'sort_type', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'modified_by', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 6, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'graph_tree_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'parent', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'position', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'graph_tree_id', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERROR Col: 'local_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'site_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'host_grouping_type', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'sort_children_type', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERRORS: 9, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'poller_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'site_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'host_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_version', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'snmp_port', Attribute 'Type' invalid. Should be: 'mediumint(5) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_timeout', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_sysUpTimeInstance', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'availability_method', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERROR Col: 'ping_method', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERROR Col: 'ping_port', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'ping_timeout', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'ping_retries', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'max_oids', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'bulk_walk_size', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'device_threads', Attribute 'Type' invalid. Should be: 'tinyint(2) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'status', Attribute 'Type' invalid. Should be: 'tinyint(2)', Is: 'tinyint'
ERROR Col: 'status_event_count', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'total_polls', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'failed_polls', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'last_updated', Attribute 'Extra' invalid. Should be: 'on update CURRENT_TIMESTAMP', Is: 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP'
ERRORS: 21, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host_graph'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host_snmp_cache'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'present', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERROR Col: 'last_updated', Attribute 'Extra' invalid. Should be: 'on update CURRENT_TIMESTAMP', Is: 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host_snmp_query'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'reindex_method', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host_template'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host_template_graph'
ERROR Col: 'host_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host_template_snmp_query'
ERROR Col: 'host_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_config'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'status', Attribute 'Type' invalid. Should be: 'tinyint(2)', Is: 'tinyint'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_db_changes'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_hooks'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'status', Attribute 'Type' invalid. Should be: 'int(8)', Is: 'int'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_intropage_dashboard' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_intropage_panel_dashboard' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_intropage_panel_data' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_intropage_panel_definition' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_intropage_trends' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_intropage_user_auth' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_notification_lists' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_realms'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_contacts' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_daemon_data' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_daemon_processes' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_host_failed' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_host_template' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_log' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_template_contact' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'plugin_thold_threshold_contact' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'poller'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERROR Col: 'status', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'dbport', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'dbretries', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'total_polls', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'processes', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'threads', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'sync_interval', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'snmp', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'script', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'server', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 11, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_command'
ERROR Col: 'poller_id', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERROR Col: 'action', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'last_updated', Attribute 'Extra' invalid. Should be: 'on update CURRENT_TIMESTAMP', Is: 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_data_template_field_mappings'
ERROR Col: 'data_template_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'last_updated', Attribute 'Extra' invalid. Should be: 'on update CURRENT_TIMESTAMP', Is: 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_item'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'poller_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'action', Attribute 'Type' invalid. Should be: 'tinyint(2) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'present', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERROR Col: 'last_updated', Attribute 'Extra' invalid. Should be: 'on update CURRENT_TIMESTAMP', Is: 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP'
ERROR Col: 'snmp_version', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'snmp_port', Attribute 'Type' invalid. Should be: 'mediumint(5) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_timeout', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'rrd_num', Attribute 'Type' invalid. Should be: 'tinyint(2) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'rrd_step', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'rrd_next_step', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERRORS: 12, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_output'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_output_boost'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_output_boost_local_data_ids'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'process_handler', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_output_boost_processes'
ERROR Col: 'sock_int_value', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_output_realtime'
ERROR Col: 'local_data_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_reindex'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_query_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'action', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'present', Attribute 'Type' invalid. Should be: 'tinyint(4)', Is: 'tinyint'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_resource_cache'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'attributes', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_time'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'pid', Attribute 'Type' invalid. Should be: 'int(11) unsigned', Is: 'int unsigned'
ERROR Col: 'poller_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'processes'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'pid', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'taskid', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'timeout', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'started', Attribute 'Extra' invalid. Should be: '', Is: 'DEFAULT_GENERATED'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'reports'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'font_size', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'alignment', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'intrvl', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'count', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'offset', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERROR Col: 'mailtime', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERROR Col: 'attachment_type', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'graph_height', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'graph_width', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'graph_columns', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'lastsent', Attribute 'Type' invalid. Should be: 'bigint(20) unsigned', Is: 'bigint unsigned'
ERRORS: 13, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'reports_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'report_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'item_type', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'tree_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'branch_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'site_id', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'host_template_id', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'host_id', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'int(11)', Is: 'int'
ERROR Col: 'local_graph_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'timespan', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'align', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'font_size', Attribute 'Type' invalid. Should be: 'smallint(2) unsigned', Is: 'smallint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'smallint(5) unsigned', Is: 'smallint unsigned'
ERRORS: 14, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'sessions'
ERROR Col: 'access', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'start_time', Attribute 'Extra' invalid. Should be: '', Is: 'DEFAULT_GENERATED'
ERROR Col: 'transactions', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'settings' - Clean
---------------------------------------------------------------------------------------------
Checking Table: 'settings_tree'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'graph_tree_item_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'settings_user'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'smallint(8) unsigned', Is: 'smallint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'settings_user_group'
ERROR Col: 'group_id', Attribute 'Type' invalid. Should be: 'smallint(8) unsigned', Is: 'smallint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'sites'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'zoom', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmp_query'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_input_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmp_query_graph'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'graph_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmp_query_graph_rrd'
ERROR Col: 'snmp_query_graph_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_template_rrd_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmp_query_graph_rrd_sv'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_graph_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'data_template_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmp_query_graph_sv'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'snmp_query_graph_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_cache' - Clean
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_cache_notifications'
ERROR Col: 'sequence_id', Attribute 'Type' invalid. Should be: 'smallint(6)', Is: 'smallint'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_cache_textual_conventions' - Clean
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_managers'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(8)', Is: 'int'
ERROR Col: 'snmp_version', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'snmp_port', Attribute 'Type' invalid. Should be: 'mediumint(5) unsigned', Is: 'mediumint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_managers_notifications'
ERROR Col: 'manager_id', Attribute 'Type' invalid. Should be: 'int(8)', Is: 'int'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_mibs'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(8)', Is: 'int'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_notifications_log'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(12)', Is: 'int'
ERROR Col: 'time', Attribute 'Type' invalid. Should be: 'int(24)', Is: 'int'
ERROR Col: 'manager_id', Attribute 'Type' invalid. Should be: 'int(8)', Is: 'int'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'table_columns'
ERROR Col: 'table_sequence', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'table_indexes'
ERROR Col: 'idx_non_unique', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'idx_seq_in_index', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'idx_cardinality', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'thold_data' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'thold_template' - Plugin Detected
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'realm', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERROR Col: 'policy_graphs', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'policy_trees', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'policy_hosts', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'policy_graph_templates', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'lastchange', Attribute 'Type' invalid. Should be: 'int(12)', Is: 'int'
ERROR Col: 'lastlogin', Attribute 'Type' invalid. Should be: 'int(12)', Is: 'int'
ERROR Col: 'failed_attempts', Attribute 'Type' invalid. Should be: 'int(5)', Is: 'int'
ERROR Col: 'lastfail', Attribute 'Type' invalid. Should be: 'int(12)', Is: 'int'
ERROR Col: 'reset_perms', Attribute 'Type' invalid. Should be: 'int(12) unsigned', Is: 'int unsigned'
ERRORS: 11, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth_cache'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'last_update', Attribute 'Extra' invalid. Should be: '', Is: 'DEFAULT_GENERATED'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth_group'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'policy_graphs', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'policy_trees', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'policy_hosts', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'policy_graph_templates', Attribute 'Type' invalid. Should be: 'tinyint(1) unsigned', Is: 'tinyint unsigned'
ERRORS: 5, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth_group_members'
ERROR Col: 'group_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth_group_perms'
ERROR Col: 'group_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'item_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'type', Attribute 'Type' invalid. Should be: 'tinyint(2) unsigned', Is: 'tinyint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth_group_realm'
ERROR Col: 'group_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'realm_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth_perms'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'item_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'type', Attribute 'Type' invalid. Should be: 'tinyint(2) unsigned', Is: 'tinyint unsigned'
ERRORS: 3, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_auth_realm'
ERROR Col: 'realm_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 2, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_domains'
ERROR Col: 'domain_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'type', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'defdomain', Attribute 'Type' invalid. Should be: 'tinyint(3)', Is: 'tinyint'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_domains_ldap'
ERROR Col: 'domain_id', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'port', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'port_ssl', Attribute 'Type' invalid. Should be: 'int(10) unsigned', Is: 'int unsigned'
ERROR Col: 'proto_version', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'encryption', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'referrals', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'mode', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERROR Col: 'group_member_type', Attribute 'Type' invalid. Should be: 'tinyint(3) unsigned', Is: 'tinyint unsigned'
ERRORS: 8, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'user_log'
ERROR Col: 'user_id', Attribute 'Type' invalid. Should be: 'mediumint(8)', Is: 'mediumint'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'vdef'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'vdef_items'
ERROR Col: 'id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'vdef_id', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'sequence', Attribute 'Type' invalid. Should be: 'mediumint(8) unsigned', Is: 'mediumint unsigned'
ERROR Col: 'type', Attribute 'Type' invalid. Should be: 'tinyint(2)', Is: 'tinyint'
ERRORS: 4, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'version' - Clean
---------------------------------------------------------------------------------------------
ERRORS are fixable using the --repair option. WARNINGS will not be rapaired
due to ambiguous use of the column.
---------------------------------------------------------------------------------------------
What MariaDB/MySQL version are you using? It looks like there is some problem there. Also, for the Host query, you need to replace the ?
with the device_id
.
I'm using MySQL 8.0.29 (Oracle MySQL Enterprise Server), this Version was also used before I upgraded from Cacti 1.2.16. Sorry I got confused by the '?' in your request. The output in the DB looks like this:
mysql> SELECT * FROM host WHERE id = 1201\G
*************************** 1. row ***************************
id: 1201
poller_id: 1
site_id: 2
host_template_id: 36
description: HOSTNAMEREMOVED
hostname: HOSTNAMEREMOVED
location:
notes:
external_id:
snmp_community: COMMUNITY1 COMMUNITY2
snmp_version: 3
snmp_username: MYSNMPV3USER
snmp_password: MYSNMPV3SHA
snmp_auth_protocol: SHA
snmp_priv_passphrase: MYSNMPV3AES
snmp_priv_protocol: AES128
snmp_context:
snmp_engine_id:
snmp_port: 161
snmp_timeout: 500
snmp_sysDescr:
snmp_sysObjectID:
snmp_sysUpTimeInstance: 0
snmp_sysContact:
snmp_sysName:
snmp_sysLocation:
availability_method: 2
ping_method: 1
ping_port: 23
ping_timeout: 400
ping_retries: 1
max_oids: 20
bulk_walk_size: -1
device_threads: 1
deleted: NULL
disabled:
thold_send_email: 0
thold_host_email: 0
thold_failure_count: 0
status: 0
status_event_count: 0
status_fail_date: 0000-00-00 00:00:00
status_rec_date: 0000-00-00 00:00:00
status_last_error:
min_time: 9.99999
max_time: 0.00000
cur_time: 0.00000
avg_time: 0.00000
polling_time: 0
total_polls: 0
failed_polls: 0
availability: 100.00000
last_updated: 2022-08-11 11:26:25
1 row in set (0.00 sec)
mysql>
I have an interesting update. Creating new hosts will set Column "deleted" in Table "host" to Value NULL. Removing this value with the command
UPDATE `cacti`.`host` SET `deleted` = '' WHERE (`id` = '1201');
will make the devices available in the Cacti GUI and after saving them again and re-create the graphs the RRD files get populated by the poller.
This can be repeated for all Devices matching the following query:
SELECT * FROM host WHERE deleted IS NULL\G
ALTER TABLE host MODIFY COLUMN deleted CHAR(2) NOT NULL default '';
Not that you are going to likely have some issues with this MySQL version. For example, the audit script was having some issues that we were unaware of. Keep that in mind. Oracle is breaking compatibility all over the place.
Related to https://github.com/Cacti/cacti/issues/4887
This will be resolved in 1.2.22 by #4887. For now, just do that alter statement and you will be back in business. I'll be opening a new ticket for additional MySQL 8.x testing and certification. Right now, it's not certified (but most things 'should' work).
Describe the bug
When adding a new device (Management -> Devices -> Add) and saving them they do not appear in the Devices List. Changing filters has no effect. The device only exists in the database and can be edited by manually entering the device ID in the URL (host.php?action=edit&id=ENTERID). When creating graphs for those devices the RRD files are not created and therefore no data is collected. Existing devices are not affected and new graphs as well as existing ones are populated with data.
SELECT * FROM cacti.host LIMIT 0, 10000 788 row(s) returned 0.031 sec / 0.063 sec
SPINE Log:
System
Screenshots