Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to bring Nagios Webinterface alive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Lore
Apprentice
Apprentice


Joined: 16 Feb 2004
Posts: 152
Location: Karlsruhe

PostPosted: Thu Oct 28, 2004 12:34 am    Post subject: How to bring Nagios Webinterface alive Reply with quote

Hi.

I think, i've configured nagios properly. But the webinterface gives me that error-message:
Quote:
It appears as though you do not have permission to view information for any of the hosts you requested...
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.


I'm really a noob in configuring apache. So, what's to do?
Back to top
View user's profile Send private message
jean-michel
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2002
Posts: 142
Location: Somewhere East of the Atlantic

PostPosted: Fri Dec 31, 2004 9:28 pm    Post subject: Reply with quote

did you get it working?

I've run into the same problem, dug through the gentoo forms, and am finding no enlightenment. nagios with mysql starts up and runs just fine, but nothing is accessible via the GUI (except a couple of flat config files)
_________________
The Struggle for the Future of Human Evolution Begins: Autonomy the SciFi Series!
Back to top
View user's profile Send private message
alterself.com
Apprentice
Apprentice


Joined: 13 Nov 2003
Posts: 175
Location: Iowa

PostPosted: Thu Mar 03, 2005 5:59 pm    Post subject: Reply with quote

this is fixable...i have nagios 1.2 running on mysql. let me know if you still need assistance w/ this :)
Back to top
View user's profile Send private message
soth
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 207

PostPosted: Tue Jun 07, 2005 7:27 pm    Post subject: Reply with quote

I have followed all the directives about how to configure apache with nagios and still this same error.
Would appreciate any help!
_________________
- Never argue with an idiot. They just drag you down to your level and beat you with experience.

Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 587
Location: Texas

PostPosted: Fri Jul 29, 2005 6:41 pm    Post subject: Reply with quote

anybody find any answers? I have same error, I used the https://forums.gentoo.org/viewtopic-t-262408-highlight-nagios.html How-to. No problems in setup and double checked my usernames and config files.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Fri Jul 29, 2005 6:49 pm    Post subject: Reply with quote

I've solved telling cgi.cfg not to require authentication...
Back to top
View user's profile Send private message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 587
Location: Texas

PostPosted: Fri Jul 29, 2005 7:43 pm    Post subject: Reply with quote

I found that and got it to work, but thats more of a work around, I still would like to know where I screwed the user. However, this change should at least point me in the right direction.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
soth
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 207

PostPosted: Fri Jul 29, 2005 8:31 pm    Post subject: Reply with quote

Ooops forgot to reply this thread when we got it figured out.

Thing that was missing in our case was a .htaccess in two places, not one.

Code:

/usr/nagios/bin/.htaccess
/usr/nagios/sbin/.htaccess


My mistake was to have the .htaccess in /bin only
_________________
- Never argue with an idiot. They just drag you down to your level and beat you with experience.

Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
rafacouto
n00b
n00b


Joined: 05 Jul 2006
Posts: 1

PostPosted: Wed Jul 05, 2006 4:45 pm    Post subject: Re: How to bring Nagios Webinterface alive Reply with quote

Lore wrote:


I think, i've configured nagios properly. But the webinterface gives me that error-message:
Quote:
It appears as though you do not have permission to view information for any of the hosts you requested...
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.


I'm really a noob in configuring apache. So, what's to do?


If you are using HTTP authentication, put this lines in cgi.cfg with the 'admin' user you have created with htpasswd:

Code:

authorized_for_system_information=admin
authorized_for_system_commands=admin
authorized_for_configuration_information=admin
authorized_for_all_hosts=admin
authorized_for_all_host_commands=admin
authorized_for_all_services=admin
authorized_for_all_service_commands=admin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum