Problems to run my Apache with nagios

Guifre Bosch Fabregas guifre.bosch at gmail.com
Mon Dec 28 11:38:41 CET 2009


I see this error in all my pages in nagios:

*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.
*
When i install nagios i put:


useradd -m nagios
groupadd nagios

usermod -a -G nagcmd nagios
usermod -a -G nagcmd apache

tar xzf nagios-3.2.0.tar.gz
cd nagios-3.2.0
./configure --with-command-group=nagcmd --prefix=/nagios
make all && make install && make install-init && make install-config && make
install-commandmode && make install-webconf

htpasswd -c /nagios/etc/htpasswd.users admin

tar xzf nagios-plugins-1.4.14.tar.gz
cd nagios-plugins-1.4.14
./configure --with-nagios-user=nagios --with-nagios-group=nagcmd
--prefix=/nagios
make && make install

chcon -R -t httpd_sys_content_t /nagios/sbin/
chcon -R -t httpd_sys_content_t /nagios/share/



Where is my problem???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091228/a1dffc66/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list