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.
First configure the web server to run the nagiosgraph CGI scripts. For
example, with Apache do something like this in the Apache configuration:
ScriptAlias /nagiosgraph/cgi-bin /usr/local/nagiosgraph/cgi-bin
<Directory "/usr/local/nagiosgraph/cgi-bin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /nagiosgraph "/usr/local/nagiosgraph/share"
<Directory "/usr/local/nagiosgraph/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Restart the web server:
/etc/init.d/apache2 restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
ls -ld /usr/local/nagiosgraph/cgi
ls -ld /usr/local/nagiosgraph
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Well the folder permissions do have other+RX, so technically apache should be able to access at least those folders. Let's have you su into apache, and try to list and execute it.
su -s /bin/bash apache (if this is ubuntu\debian the user would be apache2)
ls -lart /usr/local/nagiosgraph
ls -lart /usr/local/nagiosgraph/cgi
/usr/local/nagiosgraph/cgi/show.cgi
exit
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.