No graph data only realtime data
Moderators: Developers, Moderators
No graph data only realtime data
HI all
Cacti version 0.8.8c OS - Centos6
I have taken over this system but am not adept at linux or at cacti i have to admin it
For a while now the cacti log has been growing and then truncated/deleted/purged by the previous admin. Recently the log grew to 92gb (120GB drive) and everything stopped and would not restart due to no space. I renamed the log file, waited for a new generation and deleted the old. 25GB used space now. Since then cacti will not display any graph data. It will show realtime data
From the forums I have done the following (its a virtual machine plenty of resources available):
Changed poller times to 5 mins
Rebuilt the poller cache several times
Changed the log retention to 3 days
Changed the permissions on the /usr/share/cacti folder to 777
Changed the owner of the directory from 1000 USERS to CACTI CACTI
Changed the permissions on the /var/lib/cacti folder to 777
Changed the owner of the directory from root USERS to CACTI CACTI
Changed cacti user to bin/bash, su to that user and ran php /usr/local/cacti/poller.php - no output
The cronjob file is empty i dont see any poller reference in there
To be sure i changed the DNS server in resolve.conf and Ifcfg-eth0 to a different DNS server to eliminate connections to the devices
I have checked "System Utilities -> Tech Support" to verify that the table poller output is there but i only have the below which do not look right
poller 0 MyISAM latin1_swedish_ci
poller_command 0 MyISAM latin1_swedish_ci
poller_item 4294 MyISAM latin1_swedish_ci
poller_output_boost_processes 0 MEMORY latin1_swedish_ci
poller_output_rt 0 MyISAM latin1_swedish_ci
poller_reindex 149 MyISAM latin1_swedish_ci
poller_time 1 MyISAM latin1_swedish_ci
Cacti Log file grows at around 10-15gb a day!
Entries include
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-02-Overon-Bckp, target: /usr/share/cacti/rra/thn-nimbra-sw-02_traffic_in_2928.rrd on config line 822 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-02-LON-THN-05, target: /usr/share/cacti/rra/thn-nimbra-sw-02_traffic_in_2688.rrd on config line 816 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-01-Overon-Main, target: /usr/share/cacti/rra/thn-nimbra-sw-01_traffic_in_2917.rrd on config line 809 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-01-LON-THN-04, target: /usr/share/cacti/rra/thn-nimbra-sw-01_traffic_in_2907.rrd on config line 803 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK RO-TNP-01-GCITALY-Intercom, target: /usr/share/cacti/rra/gc-italy-sw-01_traffic_in_2619.rrd on config line 796 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-INFRONT-SA-MGMT-SW-02-INFRONT-Intercom, target: /usr/share/cacti/rra/gc-infront-sa-mgmt-sw2_traffic_in_2581.rrd on config line 786 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-BP-SA-MGMT-SW-02-SYSACCB-R4-A, target: /usr/share/cacti/rra/gc-bp-sa-mgmt-sw2_traffic_in_2491.rrd on config line 777 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-BP-SA-MGMT-SW-01-SYSACCB-R4-A, target: /usr/share/cacti/rra/gc-bp-sa-mgmt-sw1_traffic_in_2476.rrd on config line 768 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-BP-SA-MGMT-SW-02-LON-BP-05_copy, target: /usr/share/cacti/rra/gc-bp-sa-mgmt-sw2_traffic_in_2492.rrd on config line 759 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-INFRONT-SA-MGMT-SW-02-MI-IFT-02_copy, target: /usr/share/cacti/rra/gc-infront-sa-mgmt-sw2_traffic_in_2586.rrd on config line 750 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
I have been at this for a while, with my limited experience i am not getting anywhere fast. Restoring the VM is a no go as this issue started previous to our oldest VM backup
I dont know if this is a poller issue, a RRD ownership issue, an SQL issue or a user permissions issue. I am totally lost. I feel its an SQL issue but have no clue how to manage sql on a linux non domain joined machine
Is there any advice you guys can give where to start?
Many thanks all
Cacti version 0.8.8c OS - Centos6
I have taken over this system but am not adept at linux or at cacti i have to admin it
For a while now the cacti log has been growing and then truncated/deleted/purged by the previous admin. Recently the log grew to 92gb (120GB drive) and everything stopped and would not restart due to no space. I renamed the log file, waited for a new generation and deleted the old. 25GB used space now. Since then cacti will not display any graph data. It will show realtime data
From the forums I have done the following (its a virtual machine plenty of resources available):
Changed poller times to 5 mins
Rebuilt the poller cache several times
Changed the log retention to 3 days
Changed the permissions on the /usr/share/cacti folder to 777
Changed the owner of the directory from 1000 USERS to CACTI CACTI
Changed the permissions on the /var/lib/cacti folder to 777
Changed the owner of the directory from root USERS to CACTI CACTI
Changed cacti user to bin/bash, su to that user and ran php /usr/local/cacti/poller.php - no output
The cronjob file is empty i dont see any poller reference in there
To be sure i changed the DNS server in resolve.conf and Ifcfg-eth0 to a different DNS server to eliminate connections to the devices
I have checked "System Utilities -> Tech Support" to verify that the table poller output is there but i only have the below which do not look right
poller 0 MyISAM latin1_swedish_ci
poller_command 0 MyISAM latin1_swedish_ci
poller_item 4294 MyISAM latin1_swedish_ci
poller_output_boost_processes 0 MEMORY latin1_swedish_ci
poller_output_rt 0 MyISAM latin1_swedish_ci
poller_reindex 149 MyISAM latin1_swedish_ci
poller_time 1 MyISAM latin1_swedish_ci
Cacti Log file grows at around 10-15gb a day!
Entries include
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:16:46 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-02-Overon-Bckp, target: /usr/share/cacti/rra/thn-nimbra-sw-02_traffic_in_2928.rrd on config line 822 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-02-LON-THN-05, target: /usr/share/cacti/rra/thn-nimbra-sw-02_traffic_in_2688.rrd on config line 816 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-01-Overon-Main, target: /usr/share/cacti/rra/thn-nimbra-sw-01_traffic_in_2917.rrd on config line 809 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK THN-NIMBRA-SW-01-LON-THN-04, target: /usr/share/cacti/rra/thn-nimbra-sw-01_traffic_in_2907.rrd on config line 803 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK RO-TNP-01-GCITALY-Intercom, target: /usr/share/cacti/rra/gc-italy-sw-01_traffic_in_2619.rrd on config line 796 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-INFRONT-SA-MGMT-SW-02-INFRONT-Intercom, target: /usr/share/cacti/rra/gc-infront-sa-mgmt-sw2_traffic_in_2581.rrd on config line 786 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-BP-SA-MGMT-SW-02-SYSACCB-R4-A, target: /usr/share/cacti/rra/gc-bp-sa-mgmt-sw2_traffic_in_2491.rrd on config line 777 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-BP-SA-MGMT-SW-01-SYSACCB-R4-A, target: /usr/share/cacti/rra/gc-bp-sa-mgmt-sw1_traffic_in_2476.rrd on config line 768 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-BP-SA-MGMT-SW-02-LON-BP-05_copy, target: /usr/share/cacti/rra/gc-bp-sa-mgmt-sw2_traffic_in_2492.rrd on config line 759 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 02:12:39 PM - WEATHERMAP: Poller[0] WARNING: [Map 121] SerieA-Infront-BP.conf: ReadData: LINK GC-INFRONT-SA-MGMT-SW-02-MI-IFT-02_copy, target: /usr/share/cacti/rra/gc-infront-sa-mgmt-sw2_traffic_in_2586.rrd on config line 750 of /usr/share/cacti/plugins/weathermap/configs/SerieA-Infront-BP.conf had no valid data, according to WeatherMapDataSource_rrd
I have been at this for a while, with my limited experience i am not getting anywhere fast. Restoring the VM is a no go as this issue started previous to our oldest VM backup
I dont know if this is a poller issue, a RRD ownership issue, an SQL issue or a user permissions issue. I am totally lost. I feel its an SQL issue but have no clue how to manage sql on a linux non domain joined machine
Is there any advice you guys can give where to start?
Many thanks all
Re: No graph data only realtime data
You need to run a mysql repair on the cacti database
Re: No graph data only realtime data
Thanks cigamit, but i kind need to know how
Following php /var/www/cacti/cli/repair_database.php there is no folder path and i cannot find this php either
Do you have an alternate path or command I can run?
Many thanks
Following php /var/www/cacti/cli/repair_database.php there is no folder path and i cannot find this php either
Do you have an alternate path or command I can run?
Many thanks
Re: No graph data only realtime data
Ya, you are running a super old version of Cacti, so that script was added later.
You can just run the mysql command yourself from the command line
You can just run the mysql command yourself from the command line
Code: Select all
mysqlcheck -u USERNAME --password=THEPASSWORD --auto-repair --check --all-databases
Re: No graph data only realtime data
I managed to find the php and ran it output is below
Repairing All Cacti Database Tables
Repairing Table -> 'cdef' Successful
Repairing Table -> 'cdef_items' Successful
Repairing Table -> 'colors' Successful
Repairing Table -> 'data_input' Successful
Repairing Table -> 'data_input_data' Successful
Repairing Table -> 'data_input_fields' Successful
Repairing Table -> 'data_local' Successful
Repairing Table -> 'data_source_stats_daily' Successful
Repairing Table -> 'data_source_stats_hourly' Successful
Repairing Table -> 'data_source_stats_hourly_cache' Successful
Repairing Table -> 'data_source_stats_hourly_last' Successful
Repairing Table -> 'data_source_stats_monthly' Successful
Repairing Table -> 'data_source_stats_weekly' Successful
Repairing Table -> 'data_source_stats_yearly' Successful
Repairing Table -> 'data_template' Successful
Repairing Table -> 'data_template_data' Successful
Repairing Table -> 'data_template_data_rra' Successful
Repairing Table -> 'data_template_rrd' Successful
Repairing Table -> 'graph_local' Successful
Repairing Table -> 'graph_template_input' Successful
Repairing Table -> 'graph_template_input_defs' Successful
Repairing Table -> 'graph_templates' Successful
Repairing Table -> 'graph_templates_gprint' Successful
Repairing Table -> 'graph_templates_graph' Successful
Repairing Table -> 'graph_templates_item' Successful
Repairing Table -> 'graph_tree' Successful
Repairing Table -> 'graph_tree_items' Successful
Repairing Table -> 'host' Successful
Repairing Table -> 'host_graph' Successful
Repairing Table -> 'host_snmp_cache' Successful
Repairing Table -> 'host_snmp_query' Successful
Repairing Table -> 'host_template' Successful
Repairing Table -> 'host_template_graph' Successful
Repairing Table -> 'host_template_snmp_query' Successful
Repairing Table -> 'mac_track_approved_macs' Successful
Repairing Table -> 'mac_track_device_types' Successful
Repairing Table -> 'mac_track_devices' Successful
Repairing Table -> 'mac_track_ip_ranges' Successful
Repairing Table -> 'mac_track_ips' Successful
Repairing Table -> 'mac_track_macauth' Successful
Repairing Table -> 'mac_track_macwatch' Successful
Repairing Table -> 'mac_track_oui_database' Successful
Repairing Table -> 'mac_track_ports' Successful
Repairing Table -> 'mac_track_processes' Successful
Repairing Table -> 'mac_track_scan_dates' Successful
Repairing Table -> 'mac_track_scanning_functions' Successful
Repairing Table -> 'mac_track_sites' Successful
Repairing Table -> 'mac_track_temp_ports' Successful
Repairing Table -> 'plugin_color_templates' Successful
Repairing Table -> 'plugin_color_templates_item' Successful
Repairing Table -> 'plugin_config' Successful
Repairing Table -> 'plugin_db_changes' Successful
Repairing Table -> 'plugin_discover_hosts' Successful
Repairing Table -> 'plugin_discover_template' Successful
Repairing Table -> 'plugin_flowview_devices' Successful
Repairing Table -> 'plugin_flowview_dnscache' Successful
Repairing Table -> 'plugin_flowview_queries' Successful
Repairing Table -> 'plugin_flowview_schedules' Successful
Repairing Table -> 'plugin_hmib_hrDevices' Successful
Repairing Table -> 'plugin_hmib_hrProcessor' Successful
Repairing Table -> 'plugin_hmib_hrSWInstalled' Successful
Repairing Table -> 'plugin_hmib_hrSWRun' Successful
Repairing Table -> 'plugin_hmib_hrSWRun_ignore' Successful
Repairing Table -> 'plugin_hmib_hrSWRun_last_seen' Successful
Repairing Table -> 'plugin_hmib_hrStorage' Successful
Repairing Table -> 'plugin_hmib_hrSystem' Successful
Repairing Table -> 'plugin_hmib_hrSystemTypes' Successful
Repairing Table -> 'plugin_hmib_processes' Successful
Repairing Table -> 'plugin_hmib_types' Successful
Repairing Table -> 'plugin_hooks' Successful
Repairing Table -> 'plugin_nectar' Successful
Repairing Table -> 'plugin_nectar_items' Successful
Repairing Table -> 'plugin_realms' Successful
Repairing Table -> 'plugin_routerconfigs_accounts' Successful
Repairing Table -> 'plugin_routerconfigs_backups' Successful
Repairing Table -> 'plugin_routerconfigs_devices' Successful
Repairing Table -> 'plugin_routerconfigs_devicetypes' Successful
Repairing Table -> 'plugin_update_info' Successful
Repairing Table -> 'plugin_wmi_accounts' Successful
Repairing Table -> 'plugin_wmi_queries' Successful
Repairing Table -> 'poller' Successful
Repairing Table -> 'poller_command' Successful
Repairing Table -> 'poller_item' Successful
Repairing Table -> 'poller_output' Successful
Repairing Table -> 'poller_output_boost_processes' Successful
Repairing Table -> 'poller_output_rt' Successful
Repairing Table -> 'poller_reindex' Successful
Repairing Table -> 'poller_time' Successful
Repairing Table -> 'quicktree_graphs' Successful
Repairing Table -> 'reportit_cache_measurands' Successful
Repairing Table -> 'reportit_cache_reports' Successful
Repairing Table -> 'reportit_cache_variables' Successful
Repairing Table -> 'reportit_measurands' Successful
Repairing Table -> 'reportit_presets' Successful
Repairing Table -> 'reportit_recipients' Successful
Repairing Table -> 'reportit_reports' Successful
Repairing Table -> 'reportit_rvars' Successful
Repairing Table -> 'reportit_templates' Successful
Repairing Table -> 'reportit_variables' Successful
Repairing Table -> 'rra' Successful
Repairing Table -> 'rra_cf' Successful
Repairing Table -> 'settings' Successful
Repairing Table -> 'settings_graphs' Successful
Repairing Table -> 'settings_tree' Successful
Repairing Table -> 'snmp_query' Successful
Repairing Table -> 'snmp_query_graph' Successful
Repairing Table -> 'snmp_query_graph_rrd' Successful
Repairing Table -> 'snmp_query_graph_rrd_sv' Successful
Repairing Table -> 'snmp_query_graph_sv' Successful
Repairing Table -> 'syslog' Successful
Repairing Table -> 'syslog_alert' Successful
Repairing Table -> 'syslog_facilities' Successful
Repairing Table -> 'syslog_host_facilities' Successful
Repairing Table -> 'syslog_hosts' Successful
Repairing Table -> 'syslog_incoming' Successful
Repairing Table -> 'syslog_logs' Successful
Repairing Table -> 'syslog_priorities' Successful
Repairing Table -> 'syslog_remove' Successful
Repairing Table -> 'syslog_removed' Successful
Repairing Table -> 'syslog_reports' Successful
Repairing Table -> 'syslog_statistics' Successful
Repairing Table -> 'user_auth' Successful
Repairing Table -> 'user_auth_perms' Successful
Repairing Table -> 'user_auth_realm' Successful
Repairing Table -> 'user_log' Successful
Repairing Table -> 'version' Successful
Repairing Table -> 'weathermap_auth' Successful
Repairing Table -> 'weathermap_data' Successful
Repairing Table -> 'weathermap_groups' Successful
Repairing Table -> 'weathermap_maps' Successful
Repairing Table -> 'weathermap_settings' Successful
NOTE: Checking for Invalid Cacti Templates
NOTE: No Invalid Cacti Template Records found in your Database
No graphs still, so i rebuilt the poller cache and rebooted still no data displayed in the graphs
Log section
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK WLC-5520-01-GC-AP-GIR-2ND-02, target: /usr/share/cacti/rra/useraccg5_traffic_in_3510.rrd on config line 118 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK WLC-5520-01-GC-AP-GIR-2ND-01, target: /usr/share/cacti/rra/useraccg-mcr_traffic_in_3508.rrd on config line 112 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK INTERNETGCGUEST-WLC-5508, target: /usr/share/cacti/rra/gir-pa5020-1_traffic_in_3506.rrd on config line 106 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK INTERNETGCGUEST-WLC-5520-01, target: /usr/share/cacti/rra/gir-pa5020-1_traffic_in_3507.rrd on config line 100 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 148] AMC-PLAYOUT.conf: ReadData: LINK INGEST-SW2-BP-INGEST-PA220-2, target: /usr/share/cacti/rra/bp-amc-playout-ingest-sw_traffic_in_3910.rrd on config line 82 of /usr/share/cacti/plugins/weathermap/configs/AMC-PLAYOUT.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 148] AMC-PLAYOUT.conf: ReadData: LINK INGEST-SW1-BP-INGEST-PA220-1, target: /usr/share/cacti/rra/bp-amc-playout-ingest-sw_traffic_in_3909.rrd on config line 75 of /usr/share/cacti/plugins/weathermap/configs/AMC-PLAYOUT.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - SYSTEM STATS: Time:25.9952 Method:spine Processes:1 Threads:20 Hosts:146 HostsPerProcess:146 DataSources:4294 RRDsProcessed:0
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id "
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
I ran your command and results are
cacti.cdef OK
cacti.cdef_items OK
cacti.colors OK
cacti.data_input OK
cacti.data_input_data OK
cacti.data_input_fields OK
cacti.data_local OK
cacti.data_source_stats_daily OK
cacti.data_source_stats_hourly OK
cacti.data_source_stats_hourly_cache
note : The storage engine for the table doesn't support check
cacti.data_source_stats_hourly_last
note : The storage engine for the table doesn't support check
cacti.data_source_stats_monthly OK
cacti.data_source_stats_weekly OK
cacti.data_source_stats_yearly OK
cacti.data_template OK
cacti.data_template_data OK
cacti.data_template_data_rra OK
cacti.data_template_rrd OK
cacti.graph_local OK
cacti.graph_template_input OK
cacti.graph_template_input_defs OK
cacti.graph_templates OK
cacti.graph_templates_gprint OK
cacti.graph_templates_graph OK
cacti.graph_templates_item OK
cacti.graph_tree OK
cacti.graph_tree_items OK
cacti.host OK
cacti.host_graph OK
cacti.host_snmp_cache OK
cacti.host_snmp_query OK
cacti.host_template OK
cacti.host_template_graph OK
cacti.host_template_snmp_query OK
cacti.mac_track_approved_macs OK
cacti.mac_track_device_types OK
cacti.mac_track_devices OK
cacti.mac_track_ip_ranges OK
cacti.mac_track_ips
note : The storage engine for the table doesn't support check
cacti.mac_track_macauth OK
cacti.mac_track_macwatch OK
cacti.mac_track_oui_database OK
cacti.mac_track_ports OK
cacti.mac_track_processes OK
cacti.mac_track_scan_dates OK
cacti.mac_track_scanning_functions OK
cacti.mac_track_sites OK
cacti.mac_track_temp_ports
note : The storage engine for the table doesn't support check
cacti.plugin_color_templates OK
cacti.plugin_color_templates_item OK
cacti.plugin_config OK
cacti.plugin_db_changes OK
cacti.plugin_discover_hosts OK
cacti.plugin_discover_template OK
cacti.plugin_flowview_devices OK
cacti.plugin_flowview_dnscache
note : The storage engine for the table doesn't support check
cacti.plugin_flowview_queries OK
cacti.plugin_flowview_schedules OK
cacti.plugin_hmib_hrDevices OK
cacti.plugin_hmib_hrProcessor OK
cacti.plugin_hmib_hrSWInstalled OK
cacti.plugin_hmib_hrSWRun OK
cacti.plugin_hmib_hrSWRun_ignore OK
cacti.plugin_hmib_hrSWRun_last_seen OK
cacti.plugin_hmib_hrStorage OK
cacti.plugin_hmib_hrSystem OK
cacti.plugin_hmib_hrSystemTypes OK
cacti.plugin_hmib_processes
note : The storage engine for the table doesn't support check
cacti.plugin_hmib_types OK
cacti.plugin_hooks OK
cacti.plugin_nectar OK
cacti.plugin_nectar_items OK
cacti.plugin_realms OK
cacti.plugin_routerconfigs_accounts OK
cacti.plugin_routerconfigs_backups OK
cacti.plugin_routerconfigs_devices OK
cacti.plugin_routerconfigs_devicetypes OK
cacti.plugin_update_info OK
cacti.plugin_wmi_accounts OK
cacti.plugin_wmi_queries OK
cacti.poller OK
cacti.poller_command OK
cacti.poller_item OK
cacti.poller_output
Error : Can't find file: 'poller_output' (errno: 2)
status : Operation failed
cacti.poller_output_boost_processes
note : The storage engine for the table doesn't support check
cacti.poller_output_rt OK
cacti.poller_reindex OK
cacti.poller_time OK
cacti.quicktree_graphs OK
cacti.reportit_cache_measurands OK
cacti.reportit_cache_reports OK
cacti.reportit_cache_variables OK
cacti.reportit_measurands OK
cacti.reportit_presets OK
cacti.reportit_recipients OK
cacti.reportit_reports OK
cacti.reportit_rvars OK
cacti.reportit_templates OK
cacti.reportit_variables OK
cacti.rra OK
cacti.rra_cf OK
cacti.settings OK
cacti.settings_graphs OK
cacti.settings_tree OK
cacti.snmp_query OK
cacti.snmp_query_graph OK
cacti.snmp_query_graph_rrd OK
cacti.snmp_query_graph_rrd_sv OK
cacti.snmp_query_graph_sv OK
cacti.syslog OK
cacti.syslog_alert OK
cacti.syslog_facilities OK
cacti.syslog_host_facilities OK
cacti.syslog_hosts OK
cacti.syslog_incoming OK
cacti.syslog_logs OK
cacti.syslog_priorities OK
cacti.syslog_remove OK
cacti.syslog_removed OK
cacti.syslog_reports OK
cacti.syslog_statistics OK
cacti.user_auth OK
cacti.user_auth_perms OK
cacti.user_auth_realm OK
cacti.user_log OK
cacti.version OK
cacti.weathermap_auth OK
cacti.weathermap_data OK
cacti.weathermap_groups OK
cacti.weathermap_maps OK
cacti.weathermap_settings OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Repairing tables
test.poller_output
Error : Table 'test.poller_output' doesn't exist
status : Operation failed
Output after the run
08/19/2020 06:15:28 PM - SYSTEM STATS: Time:26.1081 Method:spine Processes:1 Threads:20 Hosts:146 HostsPerProcess:146 DataSources:4294 RRDsProcessed:0
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id "
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
What you think?
Repairing All Cacti Database Tables
Repairing Table -> 'cdef' Successful
Repairing Table -> 'cdef_items' Successful
Repairing Table -> 'colors' Successful
Repairing Table -> 'data_input' Successful
Repairing Table -> 'data_input_data' Successful
Repairing Table -> 'data_input_fields' Successful
Repairing Table -> 'data_local' Successful
Repairing Table -> 'data_source_stats_daily' Successful
Repairing Table -> 'data_source_stats_hourly' Successful
Repairing Table -> 'data_source_stats_hourly_cache' Successful
Repairing Table -> 'data_source_stats_hourly_last' Successful
Repairing Table -> 'data_source_stats_monthly' Successful
Repairing Table -> 'data_source_stats_weekly' Successful
Repairing Table -> 'data_source_stats_yearly' Successful
Repairing Table -> 'data_template' Successful
Repairing Table -> 'data_template_data' Successful
Repairing Table -> 'data_template_data_rra' Successful
Repairing Table -> 'data_template_rrd' Successful
Repairing Table -> 'graph_local' Successful
Repairing Table -> 'graph_template_input' Successful
Repairing Table -> 'graph_template_input_defs' Successful
Repairing Table -> 'graph_templates' Successful
Repairing Table -> 'graph_templates_gprint' Successful
Repairing Table -> 'graph_templates_graph' Successful
Repairing Table -> 'graph_templates_item' Successful
Repairing Table -> 'graph_tree' Successful
Repairing Table -> 'graph_tree_items' Successful
Repairing Table -> 'host' Successful
Repairing Table -> 'host_graph' Successful
Repairing Table -> 'host_snmp_cache' Successful
Repairing Table -> 'host_snmp_query' Successful
Repairing Table -> 'host_template' Successful
Repairing Table -> 'host_template_graph' Successful
Repairing Table -> 'host_template_snmp_query' Successful
Repairing Table -> 'mac_track_approved_macs' Successful
Repairing Table -> 'mac_track_device_types' Successful
Repairing Table -> 'mac_track_devices' Successful
Repairing Table -> 'mac_track_ip_ranges' Successful
Repairing Table -> 'mac_track_ips' Successful
Repairing Table -> 'mac_track_macauth' Successful
Repairing Table -> 'mac_track_macwatch' Successful
Repairing Table -> 'mac_track_oui_database' Successful
Repairing Table -> 'mac_track_ports' Successful
Repairing Table -> 'mac_track_processes' Successful
Repairing Table -> 'mac_track_scan_dates' Successful
Repairing Table -> 'mac_track_scanning_functions' Successful
Repairing Table -> 'mac_track_sites' Successful
Repairing Table -> 'mac_track_temp_ports' Successful
Repairing Table -> 'plugin_color_templates' Successful
Repairing Table -> 'plugin_color_templates_item' Successful
Repairing Table -> 'plugin_config' Successful
Repairing Table -> 'plugin_db_changes' Successful
Repairing Table -> 'plugin_discover_hosts' Successful
Repairing Table -> 'plugin_discover_template' Successful
Repairing Table -> 'plugin_flowview_devices' Successful
Repairing Table -> 'plugin_flowview_dnscache' Successful
Repairing Table -> 'plugin_flowview_queries' Successful
Repairing Table -> 'plugin_flowview_schedules' Successful
Repairing Table -> 'plugin_hmib_hrDevices' Successful
Repairing Table -> 'plugin_hmib_hrProcessor' Successful
Repairing Table -> 'plugin_hmib_hrSWInstalled' Successful
Repairing Table -> 'plugin_hmib_hrSWRun' Successful
Repairing Table -> 'plugin_hmib_hrSWRun_ignore' Successful
Repairing Table -> 'plugin_hmib_hrSWRun_last_seen' Successful
Repairing Table -> 'plugin_hmib_hrStorage' Successful
Repairing Table -> 'plugin_hmib_hrSystem' Successful
Repairing Table -> 'plugin_hmib_hrSystemTypes' Successful
Repairing Table -> 'plugin_hmib_processes' Successful
Repairing Table -> 'plugin_hmib_types' Successful
Repairing Table -> 'plugin_hooks' Successful
Repairing Table -> 'plugin_nectar' Successful
Repairing Table -> 'plugin_nectar_items' Successful
Repairing Table -> 'plugin_realms' Successful
Repairing Table -> 'plugin_routerconfigs_accounts' Successful
Repairing Table -> 'plugin_routerconfigs_backups' Successful
Repairing Table -> 'plugin_routerconfigs_devices' Successful
Repairing Table -> 'plugin_routerconfigs_devicetypes' Successful
Repairing Table -> 'plugin_update_info' Successful
Repairing Table -> 'plugin_wmi_accounts' Successful
Repairing Table -> 'plugin_wmi_queries' Successful
Repairing Table -> 'poller' Successful
Repairing Table -> 'poller_command' Successful
Repairing Table -> 'poller_item' Successful
Repairing Table -> 'poller_output' Successful
Repairing Table -> 'poller_output_boost_processes' Successful
Repairing Table -> 'poller_output_rt' Successful
Repairing Table -> 'poller_reindex' Successful
Repairing Table -> 'poller_time' Successful
Repairing Table -> 'quicktree_graphs' Successful
Repairing Table -> 'reportit_cache_measurands' Successful
Repairing Table -> 'reportit_cache_reports' Successful
Repairing Table -> 'reportit_cache_variables' Successful
Repairing Table -> 'reportit_measurands' Successful
Repairing Table -> 'reportit_presets' Successful
Repairing Table -> 'reportit_recipients' Successful
Repairing Table -> 'reportit_reports' Successful
Repairing Table -> 'reportit_rvars' Successful
Repairing Table -> 'reportit_templates' Successful
Repairing Table -> 'reportit_variables' Successful
Repairing Table -> 'rra' Successful
Repairing Table -> 'rra_cf' Successful
Repairing Table -> 'settings' Successful
Repairing Table -> 'settings_graphs' Successful
Repairing Table -> 'settings_tree' Successful
Repairing Table -> 'snmp_query' Successful
Repairing Table -> 'snmp_query_graph' Successful
Repairing Table -> 'snmp_query_graph_rrd' Successful
Repairing Table -> 'snmp_query_graph_rrd_sv' Successful
Repairing Table -> 'snmp_query_graph_sv' Successful
Repairing Table -> 'syslog' Successful
Repairing Table -> 'syslog_alert' Successful
Repairing Table -> 'syslog_facilities' Successful
Repairing Table -> 'syslog_host_facilities' Successful
Repairing Table -> 'syslog_hosts' Successful
Repairing Table -> 'syslog_incoming' Successful
Repairing Table -> 'syslog_logs' Successful
Repairing Table -> 'syslog_priorities' Successful
Repairing Table -> 'syslog_remove' Successful
Repairing Table -> 'syslog_removed' Successful
Repairing Table -> 'syslog_reports' Successful
Repairing Table -> 'syslog_statistics' Successful
Repairing Table -> 'user_auth' Successful
Repairing Table -> 'user_auth_perms' Successful
Repairing Table -> 'user_auth_realm' Successful
Repairing Table -> 'user_log' Successful
Repairing Table -> 'version' Successful
Repairing Table -> 'weathermap_auth' Successful
Repairing Table -> 'weathermap_data' Successful
Repairing Table -> 'weathermap_groups' Successful
Repairing Table -> 'weathermap_maps' Successful
Repairing Table -> 'weathermap_settings' Successful
NOTE: Checking for Invalid Cacti Templates
NOTE: No Invalid Cacti Template Records found in your Database
No graphs still, so i rebuilt the poller cache and rebooted still no data displayed in the graphs
Log section
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK WLC-5520-01-GC-AP-GIR-2ND-02, target: /usr/share/cacti/rra/useraccg5_traffic_in_3510.rrd on config line 118 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK WLC-5520-01-GC-AP-GIR-2ND-01, target: /usr/share/cacti/rra/useraccg-mcr_traffic_in_3508.rrd on config line 112 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK INTERNETGCGUEST-WLC-5508, target: /usr/share/cacti/rra/gir-pa5020-1_traffic_in_3506.rrd on config line 106 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 138] WIFI-INFRASTRUCTURE.conf: ReadData: LINK INTERNETGCGUEST-WLC-5520-01, target: /usr/share/cacti/rra/gir-pa5020-1_traffic_in_3507.rrd on config line 100 of /usr/share/cacti/plugins/weathermap/configs/WIFI-INFRASTRUCTURE.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 148] AMC-PLAYOUT.conf: ReadData: LINK INGEST-SW2-BP-INGEST-PA220-2, target: /usr/share/cacti/rra/bp-amc-playout-ingest-sw_traffic_in_3910.rrd on config line 82 of /usr/share/cacti/plugins/weathermap/configs/AMC-PLAYOUT.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - WEATHERMAP: Poller[0] WARNING: [Map 148] AMC-PLAYOUT.conf: ReadData: LINK INGEST-SW1-BP-INGEST-PA220-1, target: /usr/share/cacti/rra/bp-amc-playout-ingest-sw_traffic_in_3909.rrd on config line 75 of /usr/share/cacti/plugins/weathermap/configs/AMC-PLAYOUT.conf had no valid data, according to WeatherMapDataSource_rrd
08/19/2020 06:10:28 PM - SYSTEM STATS: Time:25.9952 Method:spine Processes:1 Threads:20 Hosts:146 HostsPerProcess:146 DataSources:4294 RRDsProcessed:0
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id "
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:10:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
I ran your command and results are
cacti.cdef OK
cacti.cdef_items OK
cacti.colors OK
cacti.data_input OK
cacti.data_input_data OK
cacti.data_input_fields OK
cacti.data_local OK
cacti.data_source_stats_daily OK
cacti.data_source_stats_hourly OK
cacti.data_source_stats_hourly_cache
note : The storage engine for the table doesn't support check
cacti.data_source_stats_hourly_last
note : The storage engine for the table doesn't support check
cacti.data_source_stats_monthly OK
cacti.data_source_stats_weekly OK
cacti.data_source_stats_yearly OK
cacti.data_template OK
cacti.data_template_data OK
cacti.data_template_data_rra OK
cacti.data_template_rrd OK
cacti.graph_local OK
cacti.graph_template_input OK
cacti.graph_template_input_defs OK
cacti.graph_templates OK
cacti.graph_templates_gprint OK
cacti.graph_templates_graph OK
cacti.graph_templates_item OK
cacti.graph_tree OK
cacti.graph_tree_items OK
cacti.host OK
cacti.host_graph OK
cacti.host_snmp_cache OK
cacti.host_snmp_query OK
cacti.host_template OK
cacti.host_template_graph OK
cacti.host_template_snmp_query OK
cacti.mac_track_approved_macs OK
cacti.mac_track_device_types OK
cacti.mac_track_devices OK
cacti.mac_track_ip_ranges OK
cacti.mac_track_ips
note : The storage engine for the table doesn't support check
cacti.mac_track_macauth OK
cacti.mac_track_macwatch OK
cacti.mac_track_oui_database OK
cacti.mac_track_ports OK
cacti.mac_track_processes OK
cacti.mac_track_scan_dates OK
cacti.mac_track_scanning_functions OK
cacti.mac_track_sites OK
cacti.mac_track_temp_ports
note : The storage engine for the table doesn't support check
cacti.plugin_color_templates OK
cacti.plugin_color_templates_item OK
cacti.plugin_config OK
cacti.plugin_db_changes OK
cacti.plugin_discover_hosts OK
cacti.plugin_discover_template OK
cacti.plugin_flowview_devices OK
cacti.plugin_flowview_dnscache
note : The storage engine for the table doesn't support check
cacti.plugin_flowview_queries OK
cacti.plugin_flowview_schedules OK
cacti.plugin_hmib_hrDevices OK
cacti.plugin_hmib_hrProcessor OK
cacti.plugin_hmib_hrSWInstalled OK
cacti.plugin_hmib_hrSWRun OK
cacti.plugin_hmib_hrSWRun_ignore OK
cacti.plugin_hmib_hrSWRun_last_seen OK
cacti.plugin_hmib_hrStorage OK
cacti.plugin_hmib_hrSystem OK
cacti.plugin_hmib_hrSystemTypes OK
cacti.plugin_hmib_processes
note : The storage engine for the table doesn't support check
cacti.plugin_hmib_types OK
cacti.plugin_hooks OK
cacti.plugin_nectar OK
cacti.plugin_nectar_items OK
cacti.plugin_realms OK
cacti.plugin_routerconfigs_accounts OK
cacti.plugin_routerconfigs_backups OK
cacti.plugin_routerconfigs_devices OK
cacti.plugin_routerconfigs_devicetypes OK
cacti.plugin_update_info OK
cacti.plugin_wmi_accounts OK
cacti.plugin_wmi_queries OK
cacti.poller OK
cacti.poller_command OK
cacti.poller_item OK
cacti.poller_output
Error : Can't find file: 'poller_output' (errno: 2)
status : Operation failed
cacti.poller_output_boost_processes
note : The storage engine for the table doesn't support check
cacti.poller_output_rt OK
cacti.poller_reindex OK
cacti.poller_time OK
cacti.quicktree_graphs OK
cacti.reportit_cache_measurands OK
cacti.reportit_cache_reports OK
cacti.reportit_cache_variables OK
cacti.reportit_measurands OK
cacti.reportit_presets OK
cacti.reportit_recipients OK
cacti.reportit_reports OK
cacti.reportit_rvars OK
cacti.reportit_templates OK
cacti.reportit_variables OK
cacti.rra OK
cacti.rra_cf OK
cacti.settings OK
cacti.settings_graphs OK
cacti.settings_tree OK
cacti.snmp_query OK
cacti.snmp_query_graph OK
cacti.snmp_query_graph_rrd OK
cacti.snmp_query_graph_rrd_sv OK
cacti.snmp_query_graph_sv OK
cacti.syslog OK
cacti.syslog_alert OK
cacti.syslog_facilities OK
cacti.syslog_host_facilities OK
cacti.syslog_hosts OK
cacti.syslog_incoming OK
cacti.syslog_logs OK
cacti.syslog_priorities OK
cacti.syslog_remove OK
cacti.syslog_removed OK
cacti.syslog_reports OK
cacti.syslog_statistics OK
cacti.user_auth OK
cacti.user_auth_perms OK
cacti.user_auth_realm OK
cacti.user_log OK
cacti.version OK
cacti.weathermap_auth OK
cacti.weathermap_data OK
cacti.weathermap_groups OK
cacti.weathermap_maps OK
cacti.weathermap_settings OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Repairing tables
test.poller_output
Error : Table 'test.poller_output' doesn't exist
status : Operation failed
Output after the run
08/19/2020 06:15:28 PM - SYSTEM STATS: Time:26.1081 Method:spine Processes:1 Threads:20 Hosts:146 HostsPerProcess:146 DataSources:4294 RRDsProcessed:0
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id "
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/19/2020 06:15:28 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1017', SQL:"select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
What you think?
Re: No graph data only realtime data
That means the table is missing. You will need to run this mysql statementcacti.poller_output
Error : Can't find file: 'poller_output' (errno: 2)
status : Operation failed
Code: Select all
DROP TABLE IF EXISTS poller_output;
CREATE TABLE poller_output (
local_data_id mediumint(8) unsigned NOT NULL default '0',
rrd_name varchar(19) NOT NULL default '',
time datetime NOT NULL default '0000-00-00 00:00:00',
output text NOT NULL,
PRIMARY KEY (local_data_id,rrd_name,time) /*!50060 USING BTREE */
) ENGINE=MyISAM;
Code: Select all
mysql -u USERNAME -p
use CACTIDBNAME;
Re: No graph data only realtime data
Hi cigamit
found the db, cacti as the generic name
Ran your command against it, and then verified with the repair db and no error completed sucessfully
rebuilt poller, restarted cacti to be sure and changed polling back to 1 minute
We got data on the graphs!
You sir are a Gentlemen and a Scholar (a British saying)
Thank you for taking the time to help me out today really appreciated it
Many thanks keep well and keep safe
found the db, cacti as the generic name
Ran your command against it, and then verified with the repair db and no error completed sucessfully
rebuilt poller, restarted cacti to be sure and changed polling back to 1 minute
We got data on the graphs!
You sir are a Gentlemen and a Scholar (a British saying)
Thank you for taking the time to help me out today really appreciated it
Many thanks keep well and keep safe
Re: No graph data only realtime data
NP, glad we could resolve it.
Who is online
Users browsing this forum: No registered users and 1 guest