LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-02-2013, 04:35 PM   #1
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Rep: Reputation: 15
Nagios Webinterface


Hi all ,

I had just installed NAGIOS 2.x using my yum i know i am using old version of it,but later i will upgrade it.
i am facing problem regarding web interface of nagios means when ever i click on any option in the web interface i got this permission issues message which irritating me alot because i allowed all in my nagios.conf file but sill i am getting this message

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.


below is my nagios.conf [ /etc/httpd/conf.d/nagios.conf]

ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi-bin/
<Directory /usr/lib/nagios/cgi-bin/>
Options ExecCGI
order deny,allow
Allow from all
Allow from 127.0.0.1
AuthType Basic
AuthUserFile /etc/nagios/passwd
AuthName "nagios"
require valid-user
</Directory>

Alias /nagios/ /usr/share/nagios/html/
<Directory /usr/share/nagios/html/>
Options None
order deny,allow
Allow from all
Allow from 127.0.0.1
AuthType Basic
AuthUserFile /etc/nagios/passwd
AuthName "nagios"
require valid-user
</Directory>

# For SSL-servers
#<Directory /usr/lib/nagios/cgi-bin/>
# Options ExecCGI
# SSLRequireSSL
# order deny,allow
# deny from all
# allow from 127.0.0.1
# AuthType Basic
# AuthUserFile /etc/nagios/passwd
# AuthName "nagios"
# require valid-user
#</Directory>
#
#Alias /nagios/ /usr/share/nagios/html/
#<Directory /usr/share/nagios/html/>
# Options None
# SSLRequireSSL
# order deny,allow
# deny from all
# allow from 127.0.0.1
# AuthType Basic
# AuthUserFile /etc/nagios/passwd
# AuthName "nagios"
# require valid-user
#</Directory>



Please let me know where is the problem resides.

Last edited by Ashish Sood; 04-02-2013 at 04:39 PM.
 
Old 04-02-2013, 04:46 PM   #2
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Original Poster
Rep: Reputation: 15
I just solved my own question by allowing this two parameter in cgi.cfg file

authorized_for_system_information=nagiosadmin
authorized_for_all_hosts=nagiosadmin


Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Thruk a Monitoring Webinterface for Nagios LXer Syndicated Linux News 0 07-28-2011 03:10 PM
nagios newbie - how to add a host in webinterface? browny_amiga Linux - General 2 08-15-2008 09:25 PM
Which is the best webinterface for configuring Nagios? mrcoffee11 Linux - Software 1 11-11-2007 09:13 AM
Nagios alternate php-webinterface suresheva31 Linux - Software 0 12-20-2004 11:13 AM
Webinterface for Courier jriis Debian 1 04-26-2004 11:52 AM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration