It's Cacti 1.2.27 (latest build).
yes some error in the log:
Code: Select all
28/05/2024 09:35:02 - POLLER: Poller[Main Poller] PID[3164422] WARNING: Poller Output Table not Empty. Issues: 4143, DS[Missing Datasource 117886, Missing Datasource 155761, Missing Datasource 168541, Missing Datasource 143284, Missing Datasource 130441, Missing Datasource 92284, Missing Datasource 117613, Missing Datasource 143293, Missing Datasource 143296, Missing Datasource 78466, Missing Datasource 194479, Missing Datasource 156049, Missing Datasource 156052, Missing Datasource 117694], Additional Issues Remain. Only showing first 20
The poller is fine, even when I had 150'000 RRD it was running under 1 minutes, and now here it is:
Code: Select all
28/05/2024 09:58:29 - SYSTEM FLOWVIEW STATS: Time:0.05 Listeners:13 Newrecs:47670 Schedules:0
28/05/2024 09:58:28 - SYSTEM STATS: WEATHERMAP Time:11.56 Maps:8 Warnings:0 Notes:None
28/05/2024 09:58:28 - SYSTEM THOLD STATS: Time:10.96 Tholds:4733 TotalDevices:1258 DownDevices:12 NewDownDevices:0
28/05/2024 09:58:19 - SYSTEM DSSTATS STATS: Time:1.49 Type:HOURLY
28/05/2024 09:58:17 - SYSTEM MONITOR STATS: Time:0.05 Reboots:0 DownDevices:0 Notifications:0 Purges:0
28/05/2024 09:58:17 - SYSTEM SYSLOG STATS: Time:0.04 Deletes:0 Incoming:36 Removes:7 XFers:7 Alerts:4 Alarms:0 Reports:0
28/05/2024 09:58:17 - SYSTEM MAINT STATS: Time:0.01
28/05/2024 09:58:17 - SYSTEM STATS: Time:15.1085 Method:spine Processes:5 Threads:20 Hosts:1258 HostsPerProcess:252 DataSources:22003 RRDsProcessed:0
So for the audit_database (here is what I get with something other than Clean):
Code: Select all
Checking Table: 'automation_devices'
ERROR Col: 'snmp_priv_protocol', Attribute 'Type' invalid. Should be: 'char(6)', Is: 'char(7)'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'automation_snmp_items'
ERROR Col: 'snmp_priv_protocol', Attribute 'Type' invalid. Should be: 'char(6)', Is: 'char(7)'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'host'
ERROR Col: 'snmp_priv_protocol', Attribute 'Type' invalid. Should be: 'char(6)', Is: 'char(7)'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'poller_item'
ERROR Col: 'snmp_priv_protocol', Attribute 'Type' invalid. Should be: 'char(6)', Is: 'char(7)'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'settings_user'
ERROR Col: 'value', Attribute 'Type' invalid. Should be: 'varchar(4096)', Is: 'varchar(2048)'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'snmpagent_managers'
ERROR Col: 'snmp_priv_protocol', Attribute 'Type' invalid. Should be: 'char(6)', Is: 'char(7)'
ERRORS: 1, WARNINGS: 0
---------------------------------------------------------------------------------------------
Checking Table: 'syslog_programs' - Does not Exist. Possible Plugin
---------------------------------------------------------------------------------------------
Checking Table: 'weathermap_auth' - Does not Exist. Possible Plugin
---------------------------------------------------------------------------------------------
Checking Table: 'weathermap_config_cache' - Does not Exist. Possible Plugin
---------------------------------------------------------------------------------------------
Checking Table: 'weathermap_data' - Does not Exist. Possible Plugin
---------------------------------------------------------------------------------------------
Checking Table: 'weathermap_groups' - Does not Exist. Possible Plugin
---------------------------------------------------------------------------------------------
Checking Table: 'weathermap_maps' - Does not Exist. Possible Plugin
---------------------------------------------------------------------------------------------
Checking Table: 'weathermap_settings' - Does not Exist. Possible Plugin
---------------------------------------------------------------------------------------------
ERRORS are fixable using the --repair option. WARNINGS will not be repaired
due to ambiguous use of the column.
---------------------------------------------------------------------------------------------
I did the rebuild poller cache, 2 times, I will do it again, I also did 'Rebuild Resource Cache'.
Code: Select all
[root@cacti]# php cli/rebuild_poller_cache.php
WARNING: Do not interrupt this script. Rebuilding Poller Cache can take quite some time
There are 1258 hosts, 5 threads and 252 hosts to process per thread