Public Graphs[SOLVED]

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

Moderators: Developers, Moderators

Post Reply
laedrus
Posts: 27
Joined: Fri Mar 07, 2008 10:28 am

Public Graphs[SOLVED]

Post by laedrus »

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!
Last edited by laedrus on Tue May 20, 2008 10:10 pm, edited 1 time in total.
nate450
Posts: 17
Joined: Mon Mar 13, 2006 1:45 pm
Location: Seattle, WA

Post by nate450 »

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.
laedrus
Posts: 27
Joined: Fri Mar 07, 2008 10:28 am

Post by laedrus »

Ok, seeing the export options i had all i needed, thanks a lot, solved ;-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest