Interface Graphs Not Showing

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
buddy51820468
Posts: 2
Joined: Tue Feb 25, 2014 1:08 am

Interface Graphs Not Showing

Post by buddy51820468 »

In Preview View my interface graphs have stopped displaying. All the other graphs show ok.

I can click on the link and I am able to view the interface graphs so there isnt any issue with Cacti polling.

I can view the image as such:

http://server/cacti/graph_image.php?loc ... 8&rra_id=0

but if I add parameters it doesn't work therefore the img src tag doesnt work.

http://server/cacti/graph_image.php?loc ... 1393309259

Any help will be much appreciated.

Thanks.
donglee
Posts: 24
Joined: Thu Dec 05, 2013 7:54 pm

Re: Interface Graphs Not Showing

Post by donglee »

Aside from upgrading to the latest 0.8.8, have you confirmed that you (or whatever is attempting to store the rrd information in the .rrd file) can? Are permissions for the file/directory set properly to allow for this?

In reply to your comment that file/directory ownership/permissions may be the issue, I will share what I have found to be useful for my Cacti installations that run on OpenBSD (aka, your placement and syntax may vary with other systems):

chown -R www:www /var/www/htdocs/*
echo 'web directories reset to www:www ownership'
chmod -R 777 /var/www/htdocs/cacti/plugins/*
chmod -R 777 /var/www/htdocs/cacti/log/*
chmod -R 777 /var/www/htdocs/cacti/rra/*
echo 'cacti plugin, log, and rra directories set to full r,w,x'
I use weathermaps heavily in cacti and often find myself having to reset permissions over and over throughout and this has save me the headache of thinking about it constantly.

777 may be too open for these sections security-wise, and if so, I would gladly appreciate a better setting to be mentioned that still provides usability of the application.
Regards,
Dong

Network Engineer
http://www.3Anetwork.com
buddy51820468
Posts: 2
Joined: Tue Feb 25, 2014 1:08 am

Re: Interface Graphs Not Showing

Post by buddy51820468 »

Hi Dong,

Thanks for your reply and suggestion. I am running cacti version 0.8.8b

I do not think it is a permissions issue as all the graphs populate properly. Its just the interface graphs do not show when viewing in "Preview View" http://server/cacti/graph_view.php?action=preview

In "Tree View" http://server/cacti/graph_view.php?acti ... leaf_id=44 the interface graphs show up with out any issues.

I had a look at the permissions in the rra directory and all of them are the same, no difference in the interface graphs.

The logs show no errors. I have even removed the interface graphs and readded them and same thing.
Interface Issue.jpg
Interface Issue.jpg (55.96 KiB) Viewed 1508 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests