i have running Nagios 2.10. I decided to add nagiosgraph to have graph
result of my nagios. However, I can't make it work. Here is the things
that I do:
tar xvzf nagiosgraph-0.9.0.tgz
cd nagiosgraph-0.9.0
mkdir /usr/local/nagios/nagiosgraph
cp nagiosgraph.conf map insert.pl show.cgi /usr/local/nagios/nagiosgraph/
vi /usr/local/nagios/nagiosgraph/nagiosgraph.conf (Edit logfile and perflog)
chown nagios:nagios /usr/local/nagios/var/nagiosgraph.log
mkdir /usr/local/nagios/nagiosgraph/rrd
chown nagios:nagios /usr/local/nagios/nagiosgraph/rrd
chown -R nagios:nagios /usr/local/nagios/nagiosgraph
touch /usr/local/nagios/var/perfdata.log
vi insert.pl and show.cgi (Change nagiosgraph.conf file)
chown nagios:nagios /usr/local/nagios/var/perfdata.log
chmod 664 /usr/local/nagios/var/nagiosgraph.log
chmod 664 /usr/local/nagios/var/perfdata.log
chmod 775 /usr/local/nagios/nagiosgraph/rrd/
chmod 666 /usr/local/nagios/var/nagiosgraph.log
THen I edit checkocmmands.to put process-service-perfdata
Here is my added config in my http.conf
ScriptAlias /nagiosgraph/ /usr/local/nagios/nagiosgraph/
<Directory "/usr/local/nagios/nagiosgraph">
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
Then I restart nagios. Then when I click the icon for nagiosgraph, it says:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Could this be only a http error? I dont see any error
Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
http://mail.promotions.yahoo.com/newdomains/ph/
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null