Graphs do not work
Moderators: Developers, Moderators
Graphs do not work
I'm not seeing any data in my graphs, but when I open real time graphs i can see everything.
My version is 1.1.10
What should I check?
My version is 1.1.10
What should I check?
Re: Graphs do not work
2017/06/22 05:10:03 - RECACHE STATS: Poller: RecacheTime:0.3021 DevicesRecached:1
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_commands.php: 139 cacti_log)(/lib/functions.php: 594 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/functions.php on line: 594
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_commands.php: 112 run_data_query)(/lib/data_query.php: 144 update_poller_cache_from_query)(/lib/utility.php: 117 api_data_source_cache_crc_update)(/lib/api_data_source.php: 30 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/api_data_source.php on line: 30
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_maintenance.php: 128 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/poller_maintenance.php on line: 128
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_automation.php: 210 api_automation_is_time_to_start)(/lib/api_automation.php: 3201 strtotime)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/api_automation.php on line: 3201
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_automation.php: 210 api_automation_is_time_to_start)(/lib/api_automation.php: 3200 strtotime)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/api_automation.php on line: 3200
2017/06/22 05:10:03 - PCOMMAND Device[2] Description[2960G] WARNING: Recache Event Detected for Device
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_commands.php: 107 cacti_log)(/lib/functions.php: 594 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/functions.php on line: 594
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_commands.php: 139 cacti_log)(/lib/functions.php: 594 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/functions.php on line: 594
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_commands.php: 112 run_data_query)(/lib/data_query.php: 144 update_poller_cache_from_query)(/lib/utility.php: 117 api_data_source_cache_crc_update)(/lib/api_data_source.php: 30 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/api_data_source.php on line: 30
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_maintenance.php: 128 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/poller_maintenance.php on line: 128
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_automation.php: 210 api_automation_is_time_to_start)(/lib/api_automation.php: 3201 strtotime)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/api_automation.php on line: 3201
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_automation.php: 210 api_automation_is_time_to_start)(/lib/api_automation.php: 3200 strtotime)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/api_automation.php on line: 3200
2017/06/22 05:10:03 - PCOMMAND Device[2] Description[2960G] WARNING: Recache Event Detected for Device
2017/06/22 05:10:03 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_commands.php: 107 cacti_log)(/lib/functions.php: 594 date)(CactiErrorHandler)(/lib/functions.php: 4363 cacti_debug_backtrace)
2017/06/22 05:10:03 - ERROR PHP WARNING: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in file: /usr/share/cacti/lib/functions.php on line: 594
Re: Graphs do not work
set the timezone in your PHP.INI
Re: Graphs do not work
Errors are gone, But still no data. Real time works perfectly.
2017/06/22 01:20:01 - POLLER: Poller[1] ASSERT: 'Null0=Vlan1' failed. Recaching host '192.168.200.201', data query #1
2017/06/22 01:15:03 - RECACHE STATS: Poller: RecacheTime:0.2857 DevicesRecached:1
2017/06/22 01:15:03 - PCOMMAND Device[2] Description[2960G] WARNING: Recache Event Detected for Device
2017/06/22 01:15:02 - SYSTEM STATS: Time:1.2383 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:133 RRDsProcessed:70
2017/06/22 01:20:01 - POLLER: Poller[1] ASSERT: 'Null0=Vlan1' failed. Recaching host '192.168.200.201', data query #1
2017/06/22 01:15:03 - RECACHE STATS: Poller: RecacheTime:0.2857 DevicesRecached:1
2017/06/22 01:15:03 - PCOMMAND Device[2] Description[2960G] WARNING: Recache Event Detected for Device
2017/06/22 01:15:02 - SYSTEM STATS: Time:1.2383 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:133 RRDsProcessed:70
Re: Graphs do not work
Change your logging to Medium mode so we can see what it is returning
Re: Graphs do not work
No difference between low and medium.
If I do Managment > Graphs > Debug
RRDTool Says:
OK
If I do Managment > Graphs > Debug
RRDTool Says:
OK
Re: Graphs do not work
DEBUG:
2017/06/22 01:55:03 - RECACHE STATS: Poller: RecacheTime:0.3190 DevicesRecached:1
AND enabled='on' - found: 0
WHERE snmp_query_id=1
FROM automation_graph_rules AS agr
agr.snmp_query_id, agr.graph_type_id
2017/06/22 01:55:03 - AUTOM8 TRACE automation_execute_data_query Device[2] Description[2960G] - sql: SELECT agr.id, agr.name,
2017/06/22 01:55:03 - AUTOM8 TRACE automation_execute_data_query Device[2] Description[2960G] - start - data query: 1
2017/06/22 01:55:03 - PCOMMAND Device[2] Description[2960G] WARNING: Recache Event Detected for Device
2017/06/22 01:55:03 - SYSTEM STATS: Time:1.5507 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:131 RRDsProcessed:69
2017/06/22 01:55:03 - POLLER: Poller[1] Parsed MULTI output field '10min:0.09' [map 10min->load_15min]
2017/06/22 01:55:03 - POLLER: Poller[1] Parsed MULTI output field '5min:0.11' [map 5min->load_5min]
2017/06/22 01:55:03 - POLLER: Poller[1] Parsed MULTI output field '1min:0.13' [map 1min->load_1min]
2017/06/22 01:55:02 - POLLER: Poller[1] Time: 0.2735 s, Poller: , Theads: N/A, Devices: 1
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[134] Graphs['3560E - Traffic - GigabitEthernet0/51/10151'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[134] Graphs['3560E - Traffic - GigabitEthernet0/51/10151'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[133] Graphs['3560E - Traffic - GigabitEthernet0/50/10150'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[133] Graphs['3560E - Traffic - GigabitEthernet0/50/10150'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[132] Graphs['3560E - Traffic - GigabitEthernet0/49/10149'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[132] Graphs['3560E - Traffic - GigabitEthernet0/49/10149'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Time: 0.2784 s, Poller: , Theads: N/A, Devices: 2
2017/06/22 01:55:02 - POLLER: Poller[1] Device[2] Description[2960G] DS[81] Graphs['2960G - Traffic - Null0/10501'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[2] Description[2960G] DS[81] Graphs['2960G - Traffic - Null0/10501'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] ASSERT: 'Null0=Vlan1' failed. Recaching host '192.168.200.201', data query #1
2017/06/22 01:55:02 - PING Device[3] Description[3560E] SNMP: Device responded to SNMP
2017/06/22 01:55:02 - PING Device[2] Description[2960G] SNMP: Device responded to SNMP
2017/06/22 01:55:02 - PING Device[1] Description[Local Linux Machine] PING: Ping not performed due to setting.
2017/06/22 01:55:01 - POLLER: Poller[1] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300.89', Max Runtime '298', Poller Runs: '1'
2017/06/22 01:50:02 - RECACHE STATS: Poller: RecacheTime:0.3013 DevicesRecached:1
2017/06/22 01:55:03 - RECACHE STATS: Poller: RecacheTime:0.3190 DevicesRecached:1
AND enabled='on' - found: 0
WHERE snmp_query_id=1
FROM automation_graph_rules AS agr
agr.snmp_query_id, agr.graph_type_id
2017/06/22 01:55:03 - AUTOM8 TRACE automation_execute_data_query Device[2] Description[2960G] - sql: SELECT agr.id, agr.name,
2017/06/22 01:55:03 - AUTOM8 TRACE automation_execute_data_query Device[2] Description[2960G] - start - data query: 1
2017/06/22 01:55:03 - PCOMMAND Device[2] Description[2960G] WARNING: Recache Event Detected for Device
2017/06/22 01:55:03 - SYSTEM STATS: Time:1.5507 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:131 RRDsProcessed:69
2017/06/22 01:55:03 - POLLER: Poller[1] Parsed MULTI output field '10min:0.09' [map 10min->load_15min]
2017/06/22 01:55:03 - POLLER: Poller[1] Parsed MULTI output field '5min:0.11' [map 5min->load_5min]
2017/06/22 01:55:03 - POLLER: Poller[1] Parsed MULTI output field '1min:0.13' [map 1min->load_1min]
2017/06/22 01:55:02 - POLLER: Poller[1] Time: 0.2735 s, Poller: , Theads: N/A, Devices: 1
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[134] Graphs['3560E - Traffic - GigabitEthernet0/51/10151'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[134] Graphs['3560E - Traffic - GigabitEthernet0/51/10151'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[133] Graphs['3560E - Traffic - GigabitEthernet0/50/10150'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[133] Graphs['3560E - Traffic - GigabitEthernet0/50/10150'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[132] Graphs['3560E - Traffic - GigabitEthernet0/49/10149'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[3] Description[3560E] DS[132] Graphs['3560E - Traffic - GigabitEthernet0/49/10149'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Time: 0.2784 s, Poller: , Theads: N/A, Devices: 2
2017/06/22 01:55:02 - POLLER: Poller[1] Device[2] Description[2960G] DS[81] Graphs['2960G - Traffic - Null0/10501'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] Device[2] Description[2960G] DS[81] Graphs['2960G - Traffic - Null0/10501'] WARNING: Result from SNMP not valid. Partial Result: U
2017/06/22 01:55:02 - POLLER: Poller[1] ASSERT: 'Null0=Vlan1' failed. Recaching host '192.168.200.201', data query #1
2017/06/22 01:55:02 - PING Device[3] Description[3560E] SNMP: Device responded to SNMP
2017/06/22 01:55:02 - PING Device[2] Description[2960G] SNMP: Device responded to SNMP
2017/06/22 01:55:02 - PING Device[1] Description[Local Linux Machine] PING: Ping not performed due to setting.
2017/06/22 01:55:01 - POLLER: Poller[1] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300.89', Max Runtime '298', Poller Runs: '1'
2017/06/22 01:50:02 - RECACHE STATS: Poller: RecacheTime:0.3013 DevicesRecached:1
Re: Graphs do not work
Hi,
I have same issue with graphs... it only works in real-time mode.
There're any news about this topic?
Thank you for your time!
Regards,
Luis
I have same issue with graphs... it only works in real-time mode.
There're any news about this topic?
Thank you for your time!
Regards,
Luis
Re: Graphs do not work
Please don't hijack posts. You problem is likely permissions. You can search for solutions via Google.
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 1 guest