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.
Interface Graphs Not Showing
Moderators: Developers, Moderators
Re: Interface Graphs Not Showing
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.
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.
-
- Posts: 2
- Joined: Tue Feb 25, 2014 1:08 am
Re: Interface Graphs Not Showing
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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests