Graph not added due to invalid data source output
Moderators: Developers, Moderators
Graph not added due to invalid data source output
Hi all,
I just did a clean install of Cacti 1.2.17 on a Windows 10 Pro PC. The installation completed successfully and I am able to log into the interface however for the test device that I added I am unable to view the "Unix - Ping Latency" graph because it shows as "Not Being Graphed".
I had a look at the log file and the only errors I could spot were the below ones:
Please can anyone point me in a direction of where to start looking...?
I just did a clean install of Cacti 1.2.17 on a Windows 10 Pro PC. The installation completed successfully and I am able to log into the interface however for the test device that I added I am unable to view the "Unix - Ping Latency" graph because it shows as "Not Being Graphed".
I had a look at the log file and the only errors I could spot were the below ones:
Please can anyone point me in a direction of where to start looking...?
Re: Graph not added due to invalid data source output
Check your error logs, but also there is a problem with a test_data_source function that has been fixed in the latest github sources. That will porbably be released at the end of this month.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Graph not added due to invalid data source output
Thank you for the feedback - I will wait for the next release then and give it a try. I did go through the logs in the web interface and those were the only errors that I could see with regards to the graph. (unless you're referring to a different error log perhaps?)
I also want to mention that I've created a test install on an Ubuntu VM following this video (https://www.youtube.com/watch?v=u6-Y7AEI1MQ) and on that install the graph is working, however sometimes for newly created devices it will also show as "Not Being Graphed" but then if I remove the graph from the "Associated Graph Templates" section and re-add it again then it shows as "Is Being Graphed"...
Thanks again,
Re: Graph not added due to invalid data source output
That sounds like an issue with the SNMP server not responding in a timely fashion in all cases.
Check for firewall, network or cpu related issues.
As for the test function, there's been a further fix today relating to generic OID template.
Check for firewall, network or cpu related issues.
As for the test function, there's been a further fix today relating to generic OID template.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Graph not added due to invalid data source output
I installed the thold plugin last night and after adding a threshold for my test device I noticed that the ping latency was now showing as being graphed, however the graph itself is remaining blank.
Re: Graph not added due to invalid data source output
Use the Troubleshooter to see if there are any issues between your graph and data source.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Graph not added due to invalid data source output
It comes back with an "Data Source returned Bad Results for ping" error.
Re: Graph not added due to invalid data source output
When you edit the device, what does it show at the top of that screen?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Graph not added due to invalid data source output
Only the results of the latest ping.
Re: Graph not added due to invalid data source output
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Graph not added due to invalid data source output
My troublehoot is not ending!!
- Attachments
-
- cacti ping.PNG (25.08 KiB) Viewed 3003 times
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Graph not added due to invalid data source output
So that sounds like it's not even running a poll against that host at all. Check your error logs and cacti log to make sure that there are no errors being generated. Also, what are your polling stats?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Graph not added due to invalid data source output
No error on any cacti log, no error on http error_log, no error on php-error
and here are the stat:
15/06/2021 15:49:06 - SYSTEM THOLD STATS: Time:0.0865 Tholds:145 TotalDevices:22 DownDevices:2 NewDownDevices:0
15/06/2021 15:49:06 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
15/06/2021 15:49:06 - SYSTEM STATS: Time:4.2584 Method:spine Processes:3 Threads:12 Hosts:22 HostsPerProcess:8 DataSources:566 RRDsProcessed:360
15/06/2021 15:48:05 - SYSTEM SYSLOG STATS: Time:0.01 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
And the stat of the debug:
15/06/2021 15:38:05 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:3, Time:0.0124
15/06/2021 15:37:06 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0112
15/06/2021 15:36:05 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0126
and here are the stat:
15/06/2021 15:49:06 - SYSTEM THOLD STATS: Time:0.0865 Tholds:145 TotalDevices:22 DownDevices:2 NewDownDevices:0
15/06/2021 15:49:06 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
15/06/2021 15:49:06 - SYSTEM STATS: Time:4.2584 Method:spine Processes:3 Threads:12 Hosts:22 HostsPerProcess:8 DataSources:566 RRDsProcessed:360
15/06/2021 15:48:05 - SYSTEM SYSLOG STATS: Time:0.01 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
And the stat of the debug:
15/06/2021 15:38:05 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:3, Time:0.0124
15/06/2021 15:37:06 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0112
15/06/2021 15:36:05 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0126
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Graph not added due to invalid data source output
You make me want to play on your system
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Graph not added due to invalid data source output
sorry Can't give you access to my test bench!
But production has the same issue, and :
17/06/2021 14:21:15 - SYSTEM MONITOR STATS: Time:0.15 Reboots:0 DownDevices:0 Notifications:0 Purges:0
17/06/2021 14:21:15 - SYSTEM SYSLOG STATS: Time:0.01 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
17/06/2021 14:21:15 - SYSTEM THOLD STATS: Time:1.0342 Tholds:2762 TotalDevices:2281 DownDevices:8 NewDownDevices:0
17/06/2021 14:21:14 - SYSTEM STATS: Time:12.5169 Method:spine Processes:5 Threads:12 Hosts:2281 HostsPerProcess:457 DataSources:15292 RRDsProcessed:0
7/06/2021 15:54:14 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:4, Time:0.0145
17/06/2021 15:53:14 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0157
By the way, the case is worsth than what I think!
I try to delete the device (host name cisco with just the IP of cisco web site to see how the external access is ok), but now the RRD is not created at all.
And still no error in any log
But production has the same issue, and :
17/06/2021 14:21:15 - SYSTEM MONITOR STATS: Time:0.15 Reboots:0 DownDevices:0 Notifications:0 Purges:0
17/06/2021 14:21:15 - SYSTEM SYSLOG STATS: Time:0.01 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0
17/06/2021 14:21:15 - SYSTEM THOLD STATS: Time:1.0342 Tholds:2762 TotalDevices:2281 DownDevices:8 NewDownDevices:0
17/06/2021 14:21:14 - SYSTEM STATS: Time:12.5169 Method:spine Processes:5 Threads:12 Hosts:2281 HostsPerProcess:457 DataSources:15292 RRDsProcessed:0
7/06/2021 15:54:14 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:4, Time:0.0145
17/06/2021 15:53:14 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0157
By the way, the case is worsth than what I think!
I try to delete the device (host name cisco with just the IP of cisco web site to see how the external access is ok), but now the RRD is not created at all.
And still no error in any log
- Attachments
-
- cisco ping.png (13.13 KiB) Viewed 2925 times
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Who is online
Users browsing this forum: No registered users and 0 guests