Cacti graph shows in squares

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Seyma
Posts: 5
Joined: Sun Feb 19, 2023 10:39 pm

Cacti graph shows in squares

Post by Seyma »

Hello,

I am currently facing one issue with the Cacti graph showing in square when browsing for data history. Here is the situation,
1. When I try to view the graph for the past 1 week, it shows a good graph
Screenshot_1.png
Screenshot_1.png (180.05 KiB) Viewed 412 times
2. When I view the graph for the past 2 weeks or older, the graph starts showing in square
Screenshot_2.png
Screenshot_2.png (104.94 KiB) Viewed 412 times
Any suggestions to fix this issue?

Regards,
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti graph shows in squares

Post by cigamit »

Welcome to the world of consolidated data. You would need to change your Data Profiles to retain the Hourly / Daily data for much much longer. This will only work on new graphs, not old (basically recreate them or delete the RRD). What you are going to find is that if you want the finer data for much longer, your RRD files are going to get huge.
Seyma
Posts: 5
Joined: Sun Feb 19, 2023 10:39 pm

Re: Cacti graph shows in squares

Post by Seyma »

Hello cigamit,

Thanks for pointing that out. We have Data Profile modified, which is the root cause of the problem, I believe. We are currently facing 2 problems with our current Data Profile setting,
1. We lost graph visibility after 5 months.
2. History graph is shown as squares.

Below is the setting from our Cacti, would you mind suggesting what the setting might be if we want to keep historical data for let's say 2 years? Also, fix the square shape issue for the whole 2 years' data?
Screenshot_3.png
Screenshot_3.png (18.89 KiB) Viewed 391 times
Appreciate it if you could provide a suggestion on that.

Regards.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti graph shows in squares

Post by cigamit »

How long data is kept is all based upon the rows. So if you increase the rows for each of those, it will retain it longer (but only for newly created RRDs).
Seyma
Posts: 5
Joined: Sun Feb 19, 2023 10:39 pm

Re: Cacti graph shows in squares

Post by Seyma »

Thanks for pointing that out, I will try to get it modified and see.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests