Hello there,
I'm using Cacti to graph the network usage on some hosts, and now i need to publish these graphs on the company website, but i figured out one problem:
I can copy and paste the URL of the graph, but others will only see it if they log in on cacti.
I'm trying to find a way to publish this without a login/password.
I killed guest user for security reasons.
any suggestions?
thanks!
Public Graphs[SOLVED]
Moderators: Developers, Moderators
Public Graphs[SOLVED]
Last edited by laedrus on Tue May 20, 2008 10:10 pm, edited 1 time in total.
You can use the graph export feature in cacti to automatically create graphs and put them in a specific location at a specified interval.
Prior to 0.8.7 you could go directly to /graph_view.php and view graphs without logging in. I used this quite a bit for guest logins. With 0.8.7 it seems the behavior is changed somewhat and it seems it checks for a cookie before granting access to graph_view.php. Once a user has logged in once, the cookie is stored in the browser and the user can return to graph_view.php without authentication after that. I put a link on my cacti login pages to the graph_view.php url so people can just click that to get in and view stuff.
It'd be nice if I could figure out how to remove that new cookie check in 0.8.7 so a user doesn't have to login once, as I think it's a much better solution then using the graph export feature especially if you have 500+ graphs.
Prior to 0.8.7 you could go directly to /graph_view.php and view graphs without logging in. I used this quite a bit for guest logins. With 0.8.7 it seems the behavior is changed somewhat and it seems it checks for a cookie before granting access to graph_view.php. Once a user has logged in once, the cookie is stored in the browser and the user can return to graph_view.php without authentication after that. I put a link on my cacti login pages to the graph_view.php url so people can just click that to get in and view stuff.
It'd be nice if I could figure out how to remove that new cookie check in 0.8.7 so a user doesn't have to login once, as I think it's a much better solution then using the graph export feature especially if you have 500+ graphs.
Who is online
Users browsing this forum: No registered users and 1 guest