problem in nagiosgraph

Nelson Serafica ntserafica at yahoo.com
Fri Jun 27 09:24:05 CEST 2008


The error is now gone after installing perl-rrdtool. However, I'm seeing the error when I'm clicking the icon for nagiosgaph

Nagiosgraph has detected an error in the configuration file: /usr/local/nagios/nagiosgraph/nagiosgraph.conf 
Looks like /usr/local/nagios/nagiosgraph/rrd is empty!

As I check, it is empty. Upon checking the INSTALL file included in the source, there is no steps there saying I need to put something in the rrd directory. I only change the permission. 

Here is my nagiosgraph.log

Fri Jun 27 15:27:47 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - No inputdata. Exiting.
Fri Jun 27 15:27:53 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ debug - nagiosgraph spawned
Fri Jun 27 15:27:53 2008 $RCSfile: insert.pl,v $ $Revision: 1.25 $ info - No inputdata. Exiting.

However, my perfdata.log is empty 

Any suggestions?
 






----- Original Message ----
From: Nelson Serafica <ntserafica at yahoo.com>
To: nagios-users at lists.sourceforge.net
Sent: Friday, June 27, 2008 2:27:50 PM
Subject: [Nagios-users] problem in nagiosgraph


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 
________________________________
 New Email names for you!  
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!


      New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/ph/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080627/f51b5e99/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list