Nagios4 prompts for pass but has limited capabilities

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jordanthompson
Posts: 6
Joined: Wed Dec 15, 2010 12:46 pm

Nagios4 prompts for pass but has limited capabilities

Post by jordanthompson »

I followed the instructions from here:
https://support.nagios.com/forum/viewto ... =7&t=56970
And now nagios prompts me to log in.
It is correctly parsing the username/password.

Unfortunately, I cannot access some functions and I get this error:
It appears as though you do not have permission to view information for any of the hosts you requested...


Here is my apache2.conf file:

Code: Select all

listen 8080
<VirtualHost *:8080>
ScriptAlias /cgi-bin/nagios4 /usr/lib/cgi-bin/nagios4
ScriptAlias /nagios4/cgi-bin /usr/lib/cgi-bin/nagios4
Alias /nagios4/stylesheets /etc/nagios4/stylesheets
Alias /nagios4 /usr/share/nagios4/htdocs

<Directory /usr/share/nagios4/htdocs>
    Options     +ExecCGI
    #  SSLRequireSSL
    Options None
    AllowOverride None
    <RequireAll>
         Require all granted
         AuthName "Nagios Access"
         AuthType Basic
         AuthUserFile /etc/nagios4/htdigest.users
         Require valid-user
    </RequireAll>
</Directory>

<DirectoryMatch (/usr/lib/cgi-bin/nagios4|/etc/nagios4/stylesheets)>
    Options FollowSymLinks
    DirectoryIndex index.php index.html
    AllowOverride AuthConfig
    Require ip	::1/128 fc00::/7 fe80::/10 10.0.0.0/8 127.0.0.0/8 169.254.0.0/16 172.16.0.0/12 192.168.0.0/16 10.13.0.0/8
    <Files "cmd.cgi">
 	AuthDigestDomain "Nagios4"
 	AuthDigestProvider file
 	AuthUserFile	"/etc/nagios4/htdigest.users"
 	AuthGroupFile	"/etc/group"
 	AuthName	"Nagios4"
 	#AuthType	Digest
 	AuthType	Basic
 	#Require all	granted
 	Require	valid-user
    </Files>
</DirectoryMatch>

#<Directory /usr/share/nagios4/htdocs>
#    Options	+ExecCGI
#</Directory>
</VirtualHost>
I would appreciate any suggestions anyone may have!
jordanthompson
Posts: 6
Joined: Wed Dec 15, 2010 12:46 pm

Re: Nagios4 prompts for pass but has limited capabilities

Post by jordanthompson »

I am still stuck here. If I could completely disable the login that would be fine. This is just a home server inside a firewall with limited access.

thanks in advance
Locked