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>
<br>Alex<br><br><br><div class="gmail_quote">On Jan 14, 2008 5:05 AM, Brock Kuhse <<a href="mailto:brock@kuhsefamily.org">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">nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net">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">nagios-users@lists.sourceforge.net</a><br>Subject: Re: [Nagios-users] nagios graph
<br><div><div></div><div class="Wj3C7c"><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">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">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">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">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">www.alexdehaini.com</a><br>Email - <a href="mailto:alexdehaini@gmail.com">
alexdehaini@gmail.com</a>