I have just installed Nagios Core 4.4.5 on a Solaris 11 system with the following Software configuration:
Code: Select all
SunOS solaris11 5.11 11.4.0.15.0 i86pc i386 i86pc
GCC 7.3.0
GD 2.2.5
PHP 5.6.36
Apache 2.4.33
Nagios 4.4.5
https://support.nagios.com/kb/article/n ... ml#Solaris
After a fresh install, I am now facing 2 main issues that are preventing to use Nagios and deploy it in production:
1) When login into Nagios with nagiosadmin user, the error "Not running" is displayed.
See attached screenshot: https://prnt.sc/te8j9k
However, the services is correctly running:
Code: Select all
STATE STIME FMRI
online 18:28:28 svc:/application/nagios:default
online 19:28:03 svc:/network/http:apache24
2) When trying to navigate using the left hand side menu, the CGI files are being downloaded instead of being executed.
https://prnt.sc/te8r1l
- Apache file /etc/apache2/2.4/httpd.conf seems to be configured with correct directives:
Code: Select all
AddHandler cgi-script .cgi
Options Indexes FollowSymLinks ExecCGI
Code: Select all
<Directory "/usr/local/nagios/sbin">
Options ExecCGI <<<<<<<<<<<<<<<<<<
AllowOverride None
<IfVersion >= 2.3>
<RequireAll>
Require all granted
Kind Regards,