guest view with password-less login in cacti 0.8.7e, patch?
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
guest view with password-less login in cacti 0.8.7e, patch?
From reading the documentation, it used to be easy, but no more.
http://docs.cacti.net/manual:087:2_basi ... management
says it's disabled.
I edited my guest user, enabled login, but when I go to
http://myhost/cacti/graph_view.php
I still get a login prompt.
I found this patch
http://bugs.cacti.net/view.php?id=1462
Is one supposed to now apply it to get password-less guest graph views?
Thanks,
Marc
http://docs.cacti.net/manual:087:2_basi ... management
says it's disabled.
I edited my guest user, enabled login, but when I go to
http://myhost/cacti/graph_view.php
I still get a login prompt.
I found this patch
http://bugs.cacti.net/view.php?id=1462
Is one supposed to now apply it to get password-less guest graph views?
Thanks,
Marc
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
Well, I hand applied the patch and had to add two entries in the cacti db (I used phpmyadmin):
autologin_guest_login on
guest_user guest
The piece of patch for graph_header.php didn't apply for me, but I couldn't get it to read url_path from the settings table, so I just hardcoded:
<a href="/cacti/login.php">Login</a>
(change /cacti/ as relevant for you).
I hope this gets into the source tree one way or another because it's quite useful.
Marc
autologin_guest_login on
guest_user guest
The piece of patch for graph_header.php didn't apply for me, but I couldn't get it to read url_path from the settings table, so I just hardcoded:
<a href="/cacti/login.php">Login</a>
(change /cacti/ as relevant for you).
I hope this gets into the source tree one way or another because it's quite useful.
Marc
-
- Posts: 18
- Joined: Wed Jul 20, 2005 8:44 am
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
-
- Posts: 18
- Joined: Wed Jul 20, 2005 8:44 am
-
- Cacti User
- Posts: 86
- Joined: Mon Oct 12, 2009 3:11 pm
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
-
- Posts: 18
- Joined: Wed Jul 20, 2005 8:44 am
-
- Posts: 18
- Joined: Wed Jul 20, 2005 8:44 am
-
- Posts: 18
- Joined: Wed Jul 20, 2005 8:44 am
picture-1, enable 'guest' account in special_users session, I can open graph or weathermap or thold. but fail to open 'npc' 'clog' 'camm'.
strange status, the URL always redirect to open 'graph_view.php" regardless of I click npc or camm tab.
1. click 'camm' tab and the web page show below error message
Not Found
The requested URL /nms/plugins/camm/graph_view.php was not found on this server.
2. click 'npc' tab and the web page show below error message
Not Found
The requested URL /nms/plugins/npc/graph_view.php was not found on this server.
strange status, the URL always redirect to open 'graph_view.php" regardless of I click npc or camm tab.
1. click 'camm' tab and the web page show below error message
Not Found
The requested URL /nms/plugins/camm/graph_view.php was not found on this server.
2. click 'npc' tab and the web page show below error message
Not Found
The requested URL /nms/plugins/npc/graph_view.php was not found on this server.
- Attachments
-
- settings->authentication->special_users
- settings_authentication_special_users.jpg (29.57 KiB) Viewed 22199 times
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
Who is online
Users browsing this forum: No registered users and 0 guests