OS: Ubuntu 18.04.4 LTS
Cacti: 1.1.38 (This version is from 'apt install cacti' - Should I download and build it from source?)
PHP: 7.2.4
I cannot seem to get my data to graph. I have only one graph that works, Unix - Load Average. I can see nothing different from the other graphs, I can see the files being created and timestamps updated in /usr/share/cacti/site/rra. When I turn on graph debug mode from within Cacti, I see "RRDTool Says: OK". I have the log turned down to Low, had it on high but was not seeing anything jump out at me, this is what I see on Low:
2020/04/11 13:50:02 - POLLER: Poller[1] ASSERT: '836674<0:2:24:23.72' failed. Recaching host '127.0.0.1', data query #0
2020/04/11 13:50:03 - POLLER: Poller[1] ASSERT: '836763<0:2:24:23.88' failed. Recaching host '127.0.0.1', data query #1
2020/04/11 13:50:03 - POLLER: Poller[1] ASSERT: '836843<0:2:24:24.09' failed. Recaching host '127.0.0.1', data query #2
2020/04/11 13:50:03 - POLLER: Poller[1] ASSERT: '836898<0:2:24:24.17' failed. Recaching host '127.0.0.1', data query #3
2020/04/11 13:50:03 - POLLER: Poller[1] ASSERT: '837058<0:2:24:24.26' failed. Recaching host '127.0.0.1', data query #4
2020/04/11 13:50:03 - POLLER: Poller[1] ASSERT: '837197<0:2:24:24.35' failed. Recaching host '127.0.0.1', data query #5
2020/04/11 13:50:03 - POLLER: Poller[1] ASSERT: '837253<0:2:24:24.44' failed. Recaching host '127.0.0.1', data query #6
2020/04/11 13:50:04 - POLLER: Poller[1] WARNING: Invalid Response(s), Errors[2] Device[2] Thread[1] DS[1, 75]
2020/04/11 13:50:05 - SYSTEM STATS: Time:3.5167 Method:cmd.php Processes:1 Threads:N/A Hosts:1 HostsPerProcess:1 DataSources:45 RRDsProcessed:37
2020/04/11 13:50:05 - PCOMMAND Device[2] WARNING: Recache Event Detected for Device
2020/04/11 13:50:11 - RECACHE STATS: Poller: RecacheTime:6.0344 DevicesRecached:1
Cacti 1.1.38 fails to display graphs and acts erratically
I had read of bug 1779401 in utility.php and I made the changes I found in the patch file:
At Line Number - 462 Changed: $ids = array(); To: $ids = '';
At Line Number - 542 Changed: if (sizeof($ids)) { To: if (strlen($ids)) {
These changes did not make a difference, still no graphs other than the one mentioned above.
I also made the changes to classSNMP.php and snmp.php as shown by Cigamit, restarted everything and still get the same errors and now graphs are showing up.
A bit lost at this point as to what to try next.
Any help is appreciated,
Jon
Graphs not showing
Moderators: Developers, Moderators
Re: Graphs not showing
Just noticed a typo that needs to be changed, above I said, "...restarted everything and still get the same errors and now graphs are showing up."
That should read, "...restarted everything and still get the same errors and no graphs are showing up."
That should read, "...restarted everything and still get the same errors and no graphs are showing up."
Who is online
Users browsing this forum: No registered users and 1 guest