Cacti graphs look weird, not filling color after 1.2.28 upgrade

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

Moderators: Developers, Moderators

Post Reply
Zermus
Posts: 16
Joined: Mon Jan 27, 2020 6:49 pm

Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by Zermus »

So after 1.2.28 upgrade, Firefox looks weird now
Firefox
Firefox
Firefox-cacti.jpg (268.61 KiB) Viewed 1225 times
It's like it worked fine for 10 minutes then started looking like that crap.

Yes I've cleared cookies/cache/etc.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by macan »

try configuration -> settings -> General tab -> RRDtool version
You can try enable Enable Gradient Support on the same page for nicer graphs
Let the Cacti grow!
Zermus
Posts: 16
Joined: Mon Jan 27, 2020 6:49 pm

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by Zermus »

This is weird. I'll flip the gradient setting and it'll fix it, for like 10 minutes, then it'll go back to the crappy looking graph lol. I'll flip the gradient setting again, and rinse and repeat...

Guess I shouldn't have upgraded. :(
Zermus
Posts: 16
Joined: Mon Jan 27, 2020 6:49 pm

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by Zermus »

Yep, this is annoying. Must be a bug. I'll flip the Gradient setting, it'll fix it for maybe 15 minutes, then back to the crap graphs. Flip the Gradient setting again and it'll fix it, then 15 minutes later back to the crap non-filled graphs....

Using rrdtool-1.7.2-21.el9.x86_64

Rocky Linux 9.4
Zermus
Posts: 16
Joined: Mon Jan 27, 2020 6:49 pm

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by Zermus »

All right, back to 1.2.27 lol screw this. I tried a fresh install and the gradients are still screwed up.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by macan »

Management -> graphs -> select any problematic graph -> Turn on graph debug mode and show rrdtool command
Let the Cacti grow!
Zermus
Posts: 16
Joined: Mon Jan 27, 2020 6:49 pm

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by Zermus »

So when I go there in graph management, the graph looks fine, but under the default tree view, it's the crazy non filled graph. LOL wtf.
Zermus
Posts: 16
Joined: Mon Jan 27, 2020 6:49 pm

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by Zermus »

I think this has something to do with 30 second polling. In my cronjob I have it sleep for 30 seconds and re-run so I can get the 30 second polls. Maybe this is throwing things off.

Doesn't make sense that the graphs look fine under Graph management though.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by macan »

Configuration -> Settings -> Poller tab. Is poller interval and cron/daemon interval set correctly?
Let the Cacti grow!
Zermus
Posts: 16
Joined: Mon Jan 27, 2020 6:49 pm

Re: Cacti graphs look weird, not filling color after 1.2.28 upgrade

Post by Zermus »

Yes. I'm thinking this has something to do with my presets.

My poller runs every 30 seconds and the cron runs every minute so that's what they're set for.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests