nagios graph

Mad Unix madunix at gmail.com
Mon Jan 14 12:14:56 CET 2008


I added the nagiosgraph for current_load when i call it from the web
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
it gave :

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 root at localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.3 (Red Hat) Server at 10.5.1.32 Port 80</address>



in the servicetext form
define serviceextinfo {
       service_description  Current Load
       host_name      linux1, linux2
       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
       #icon_image      linux.gif
       icon_image_alt  View graphs
     }


On Jan 14, 2008 10:22 AM, Alex Dehaini <alexdehaini at gmail.com> wrote:

> Depending on where you installed nagios, run this command
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
> That will tell you what is wrong.
>
> Post the error message and we can help.
>
> Alex
>
>
>
> On Jan 14, 2008 5:05 AM, Brock Kuhse <brock at kuhsefamily.org> wrote:
>
> > 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.
> >
> > - Brock
> >
> > --------------------------------------------------------------------------------
> >
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net
> > ] On Behalf Of Mad Unix
> > Sent: Sunday, January 13, 2008 7:36 AM
> > To: Alex Dehaini
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] nagios graph
> >
> > I installed, but i can get it up
> > [root at linux2 logos]# service nagios restart
> > Running configuration check... FAILED!  Restart aborted.  Check your
> > Nagios configuration.
> >
> > when I add the following only in the commands.cfg
> > ##### nagios_graph
> >  define command {
> >       command_name  process-service-perfdata
> >       command_line  /usr/bin/perl
> > /usr/local/nagios/nagiosgraph/insert.pl
> >     }
> >
> >
> > in the nagios.cfg i done this
> > ###########nagiosgraph#################
> > process_performance_data=1
> > service_perfdata_file=/var/spool/nagios/perfdata.log
> > service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
> >
> > service_perfdata_file_mode=a
> > service_perfdata_file_processing_interval=30
> > service_perfdata_file_processing_command=process-service-perfdata
> >
> >
> > what could be the problem, i did all required steps in the INSTLL
> > document.?
> >
> > Thanks
> >
> >
> > On Jan 12, 2008 2:01 PM, Alex Dehaini <alexdehaini at gmail.com> wrote:
> > Have you read the nagiosgraph manual. Read that first, when you run into
> > any issues, post your errors and then we can help you.
> >
> > Alex
> > On Jan 12, 2008 2:48 AM, Mad Unix < madunix at gmail.com> wrote:
> > am running nagios 2, what would be the best way to add the
> > nagiosgraph......
> > and other packages should be install inorder to install/run nagiosgraph
> >
> > thanks
> >
> > --
> > madunix
> >
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> >
> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > _______________________________________________
> > 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
> >
> >
> >
> > --
> > Alex Dehaini
> > Developer
> > Site - www.alexdehaini.com
> > Email - alexdehaini at gmail.com
> >
> >
> >
> > --
> > madunix
> >
> >
>
>
> --
> Alex Dehaini
> Developer
> Site - www.alexdehaini.com
> Email - alexdehaini at gmail.com
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> 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
>



-- 
madunix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080114/3f449eca/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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- 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