Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Webinterface of Nagios4 is not working....

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
nigratruo
Posts: 22
Joined: 2017-08-12 22:46
Has thanked: 1 time

Webinterface of Nagios4 is not working....

#1 Post by nigratruo »

After installing the nagios4 package and dependencies, the apache webserver is active, with the debian default page, but [hostname]/nagios does not work, it returns 404.
Are there any instructions how to setup the web interface of nagios after setup? Are there steps that need to be done that the apt installer does not do?

Also: Why do all setup articles (even for Debian) compile nagios4 from scratch???
I want to use the debian package, that is what it is for.
I don't like installing stuff without the package manager, as it is really messy.

alvena
Posts: 1
Joined: 2020-12-04 04:33

Re: Webinterface of Nagios4 is not working....

#2 Post by alvena »

It says "No such file or directory" when I run exactly your command but If I run cat /etc/httpd/conf.d/nagios.conf I obtain this:

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"

<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Allow from all
# Order deny,allow
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>

Alias /nagios "/usr/local/nagios/share"

<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>


PrepaidGiftBalance

Post Reply