[SOLVED] public access to cacti

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

Moderators: Developers, Moderators

Post Reply
bilbus
Cacti User
Posts: 57
Joined: Sat Sep 15, 2007 2:38 pm

[SOLVED] public access to cacti

Post by bilbus »

Is there a way to permit public access to cacti without requiring a login?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Change the default webpage for /cacti/ to graph_view.php.

In 0.8.6 a guest user was automatically granted access. In 0.8.7, you must explicitly grant guess access.
bilbus
Cacti User
Posts: 57
Joined: Sat Sep 15, 2007 2:38 pm

Post by bilbus »

great thanks
bilbus
Cacti User
Posts: 57
Joined: Sat Sep 15, 2007 2:38 pm

Post by bilbus »

Still having problems permiting guest access.
Last edited by bilbus on Wed Jan 09, 2008 9:23 pm, edited 1 time in total.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Check you Cacti Settings -> Authenication -> Guest User

Make sure you have selected "guest".
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Also, close your browser or use another browser (Safari, Firefox, IE, Opera, etc) to test guest access.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
bilbus
Cacti User
Posts: 57
Joined: Sat Sep 15, 2007 2:38 pm

Post by bilbus »

I was trying from another PC.

My goal is to be able to give somone a link and have no login page come up, i have seen this on other cacti webpages.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Did you check your guest user setting in Authentication Settings?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
bilbus
Cacti User
Posts: 57
Joined: Sat Sep 15, 2007 2:38 pm

Post by bilbus »

I did not even see that. I enabled it and still get "ACCESS DENIED" on tree mode.

I can view graphs using preview mode
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Make sure you have the default policy for trees set correctly on the guest users graph permissions.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
bilbus
Cacti User
Posts: 57
Joined: Sat Sep 15, 2007 2:38 pm

Post by bilbus »

looks like i was denying access by adding trees. I thought i was allowing access.

That screen is a bit confusing.
bilbus
Cacti User
Posts: 57
Joined: Sat Sep 15, 2007 2:38 pm

Post by bilbus »

i thought i was adding allow rules, but it would seem i was adding deny rules. Worksing now thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest