I added the nagiosgraph for current_load when i call it from the web<br><a href="http://10.5.1.32/nagiosgraph/show.cgi?host=linux1&service=&db=load,avg1min,avg5min,avg15min&geom=500x100&rrdopts=%2Dl%200%20%2Du%20%2010%20%2Dt%20CPU%2DLoad">
http://10.5.1.32/nagiosgraph/show.cgi?host=linux1&service=&db=load,avg1min,avg5min,avg15min&geom=500x100&rrdopts=%2Dl%200%20%2Du%20%2010%20%2Dt%20CPU%2DLoad</a><br>it gave :<br><br><pre><font size="4"><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 
2.0//EN"><br><html><head><br><title>500 Internal Server Error</title><br></head><body><br><h1>Internal Server Error</h1><br><p>The server encountered an internal error or
<br>misconfiguration and was unable to complete<br>your request.</p><br><p>Please contact the server administrator,<br> root@localhost and inform them of the time the error occurred,<br>and anything you might have done that may have
<br>caused the error.</p><br><p>More information about this error may be available<br>in the server error log.</p><br><hr><br><address>Apache/2.2.3 (Red Hat) Server at <a href="http://10.5.1.32">
10.5.1.32</a> Port 80</address><br></font></pre><br><br>in the servicetext form<br>define serviceextinfo {<br>       service_description  Current Load<br>       host_name      linux1, linux2<br>       notes_url     /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$ SERVICEDESC$&db=load,avg1min,avg5min,avg15min&geom=500x100&rrdopts=%2Dl%200%20%2Du %2010%20%2Dt%20CPU%2DLoad
<br>       #icon_image      linux.gif<br>       icon_image_alt  View graphs<br>     }<br><br><br><div class="gmail_quote">On Jan 14, 2008 10:22 AM, Alex Dehaini <<a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com
</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Depending on where you installed nagios, run this command <br><br>/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
<br><br>That will tell you what is wrong.<br><br>Post the error message and we can help.<br><font color="#888888">
<br>Alex</font><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Jan 14, 2008 5:05 AM, Brock Kuhse <<a href="mailto:brock@kuhsefamily.org" target="_blank">brock@kuhsefamily.org</a>> wrote:
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Any time you receive that message, try running "nagios –v <config file>".  Look for ERROR indications in the output for a better idea of where your problems lie.<br><br>- Brock<br><br>--------------------------------------------------------------------------------
<br>From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net
</a>] On Behalf Of Mad Unix<br>Sent: Sunday, January 13, 2008 7:36 AM<br>To: Alex Dehaini<br>Cc: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>Subject: Re: [Nagios-users] nagios graph
<br><div><div></div><div><br>I installed, but i can get it up<br>[root@linux2 logos]# service nagios restart<br>Running configuration check... FAILED!  Restart aborted.  Check your Nagios configuration.<br>
<br>when I add the following only in the commands.cfg<br>##### nagios_graph<br> define command {<br>       command_name  process-service-perfdata<br>       command_line  /usr/bin/perl /usr/local/nagios/nagiosgraph/insert.pl
<br>     }<br><br><br>in the nagios.cfg i done this<br>###########nagiosgraph#################<br>process_performance_data=1<br>service_perfdata_file=/var/spool/nagios/perfdata.log<br>service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
<br>service_perfdata_file_mode=a<br>service_perfdata_file_processing_interval=30<br>service_perfdata_file_processing_command=process-service-perfdata<br><br><br>what could be the problem, i did all required steps in the INSTLL document.?
<br><br>Thanks<br><br><br>On Jan 12, 2008 2:01 PM, Alex Dehaini <<a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a>> wrote:<br>Have you read the nagiosgraph manual. Read that first, when you run into any issues, post your errors and then we can help you.
<br><br>Alex<br>On Jan 12, 2008 2:48 AM, Mad Unix < <a href="mailto:madunix@gmail.com" target="_blank">madunix@gmail.com</a>> wrote:<br>am running nagios 2, what would be the best way to add the nagiosgraph......<br>
and other packages should be install inorder to install/run nagiosgraph
<br><br>thanks<br><br>--<br>madunix<br><br>-------------------------------------------------------------------------<br>Check out the new SourceForge.net Marketplace.<br>It's the best place to buy or sell services for
<br>just about anything Open Source.<br><a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a>

<br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">

https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null
<br><br><br><br>--<br>Alex Dehaini<br>Developer<br>Site - <a href="http://www.alexdehaini.com" target="_blank">www.alexdehaini.com</a><br>Email - <a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com
</a><br><br><br>
<br>--<br>madunix<br><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Alex Dehaini<br>Developer<br>Site - <a href="http://www.alexdehaini.com" target="_blank">www.alexdehaini.com</a><br>Email - <a href="mailto:alexdehaini@gmail.com" target="_blank">

alexdehaini@gmail.com</a>
</div></div><br>-------------------------------------------------------------------------<br>Check out the new SourceForge.net Marketplace.<br>It's the best place to buy or sell services for<br>just about anything Open Source.
<br><a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a><br>_______________________________________________
<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>
madunix