Problem with trends.cgi, statusmap.cgi and Histogram
Posted: Fri Mar 13, 2015 7:20 pm
Hello,
I have Nagios® Core⢠Version 4.0.8 on a Ubuntu Linux 14.04.1, and everything seems to be working fine, except that when clicking on the links for Trend reports, Histogram and Maps, I get the following error :
The cgi files seem to be installed..
The cgi module seems to be loaded in apache: /etc/apache2/mods-enabled/cgi.load
I Have PHP% installed, and also seems to have the libraries installed..
If any of you have any idea on what could be the problem.. I would really appreciated.
Thank you...
I have Nagios® Core⢠Version 4.0.8 on a Ubuntu Linux 14.04.1, and everything seems to be working fine, except that when clicking on the links for Trend reports, Histogram and Maps, I get the following error :
This is what I have configured in the apache config file: (/etc/apache2/apache2.conf)Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
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>
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>
Code: Select all
/usr/local/nagios/sbin$ ls
archivejson.cgi cmd.cgi extinfo.cgi history.cgi objectjson.cgi showlog.cgi statusjson.cgi statuswml.cgi summary.cgi trends.cgi
avail.cgi config.cgi histogram.cgi notifications.cgi outages.cgi status.cgi statusmap.cgi statuswrl.cgi tac.cgi
Code: Select all
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.soCode: Select all
php5 -m | grep -i gd
gdThank you...