Cacti graphs only showing realtime data & doesnt keep history
Moderators: Developers, Moderators
Cacti graphs only showing realtime data & doesnt keep history
Hi,
I've just installed cacti window package on WinServ2012.
Everything work fine, graph appear but ONLY can view data in REAL TIME mode.
Do I need to config some setting to make it store and draw graph history. I've waited 20 min but it still didn't appear.
Logs is all green / debug troubleshoot 0 issues
2019/10/16 12:10:02 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0374
[URL=https:///][/URL] upload
[URL=https:///][/URL] upload
[URL=https:///][/URL] upload
[URL=https:///][/URL] upload
Thanks for help.
I've just installed cacti window package on WinServ2012.
Everything work fine, graph appear but ONLY can view data in REAL TIME mode.
Do I need to config some setting to make it store and draw graph history. I've waited 20 min but it still didn't appear.
Logs is all green / debug troubleshoot 0 issues
2019/10/16 12:10:02 - SYSTEM DSDEBUG STATS: Type:poller, ChecksPerformed:1, TotalIssues:0, Time:0.0374
[URL=https:///][/URL] upload
[URL=https:///][/URL] upload
[URL=https:///][/URL] upload
[URL=https:///][/URL] upload
Thanks for help.
Re: Cacti graphs only showing realtime data & doesnt keep history
Update: i found this log in data source troubleshoot
Debug not completed after 5 pollings Failed fields: rra_timestamp2 RRDfile not updated after polling
Debug not completed after 5 pollings Failed fields: rra_timestamp2 RRDfile not updated after polling
Re: Cacti graphs only showing realtime data & doesnt keep history
Hey guys,
I've just re-installed from scratch with different spine and rrd tool on download page and it work well
The graph from TEMPLATE work perfectly.
But when I create new graph from DATA QUERY, it only work in REAL TIME.
When not in REAL TIME mode, It appear to Unknow RRD Tool Error . I've tried to rebuild poller cache
---
I've just re-installed from scratch with different spine and rrd tool on download page and it work well
The graph from TEMPLATE work perfectly.
But when I create new graph from DATA QUERY, it only work in REAL TIME.
When not in REAL TIME mode, It appear to Unknow RRD Tool Error . I've tried to rebuild poller cache
---
Re: Cacti graphs only showing realtime data & doesnt keep history
Sounds like a permission problem to me, but hard to say without looking at the machine. RRDtool isn't giving out any great information right now so what I would suggest is going to the graph, get the graph debug command line and then running that as your website user. You can spawn a CMD.EXE using:
After you enter the password, you should have a command prompt that shows the user name in the title. From there, run the command from the graph page and then paste the output from RRDtool.
Code: Select all
runas /user:<machine or domain name>\<website user> cmd.exe
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: Cacti graphs only showing realtime data & doesnt keep history
Dear NetniV,
Thank for your reply.
I checked on Procmon and found some block file with read-only, some registry name not found. Do you think I have to re-install Cacti with Run as admin.
I checked these block files had Full-control access for User/System.
-
Thank for your reply.
I checked on Procmon and found some block file with read-only, some registry name not found. Do you think I have to re-install Cacti with Run as admin.
I checked these block files had Full-control access for User/System.
-
Re: Cacti graphs only showing realtime data & doesnt keep history
Most of those things you've listed in the images seem perfectly normal. You'll get lots of not found errors when it comes to registry nodes and values. You'll have files being locked in different ways too. However, none of that really follows my suggested advice
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: Cacti graphs only showing realtime data & doesnt keep history
Hello NetniV, thank for your reply.
I tried even run cmd as administrator, I cannot execute rrdtool command on the graph debug page.
I tried even run cmd as administrator, I cannot execute rrdtool command on the graph debug page.
Re: Cacti graphs only showing realtime data & doesnt keep history
Yeah the problem there is that there is no datasource called traffic_in in that rrdfile. Does that rrdfile even exist?
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: Cacti graphs only showing realtime data & doesnt keep history
Hi NetniV, thank for your reply. Yes it does exist. I will google and find how to give poller user and web user can access to these files.
Re: Cacti graphs only showing realtime data & doesnt keep history
Hi datgemini
Did you find a solution to this...I'm facing similar issues on RHEL 8
Did you find a solution to this...I'm facing similar issues on RHEL 8
-
- Posts: 12
- Joined: Thu May 30, 2024 1:45 am
Re: Cacti graphs only showing realtime data & doesnt keep history
I am recently facing the same issue, it was an working graph but suddenly there were some data loss from remote device and the graph history are not being recorded.
https://ibb.co/1GjmM9H
I have check data src debug, and the result is
https://ibb.co/Tqvs1YS
In between I have tried Reindex, rebuild pollar cache and nothing helped. But in any another Monitoring panel, it was showing the graph (PRTG)
My query is as I was getting data from snmp query, but that was not getting listed in RRD file. How can I optimize it to get at least the lowest history to the graph, as another monitoring tool were graphing easily
And after 1 hour, it already solved automatically
https://ibb.co/vzLFKT5
Now anyone can suggest how my I get rid of this issue.
Using Collection interval 1, Polling Interval 1m, cron 5m
https://ibb.co/1GjmM9H
I have check data src debug, and the result is
https://ibb.co/Tqvs1YS
In between I have tried Reindex, rebuild pollar cache and nothing helped. But in any another Monitoring panel, it was showing the graph (PRTG)
My query is as I was getting data from snmp query, but that was not getting listed in RRD file. How can I optimize it to get at least the lowest history to the graph, as another monitoring tool were graphing easily
And after 1 hour, it already solved automatically
https://ibb.co/vzLFKT5
Now anyone can suggest how my I get rid of this issue.
Using Collection interval 1, Polling Interval 1m, cron 5m
Re: Cacti graphs only showing realtime data & doesnt keep history
check cacti log, maybe your poller doesn't finish on time. Try to find SYSTEM STATS lines:
2024-07-17 08:56:45 - SYSTEM STATS: Time:105.6283 Method:spine Processes:2 Threads:10 Hosts:401 HostsPerProcess:201 DataSources:18217 RRDsProcessed:0
Show few lines
2024-07-17 08:56:45 - SYSTEM STATS: Time:105.6283 Method:spine Processes:2 Threads:10 Hosts:401 HostsPerProcess:201 DataSources:18217 RRDsProcessed:0
Show few lines
Let the Cacti grow!
Who is online
Users browsing this forum: No registered users and 1 guest