Nagiosgraph problem

Alberto xagonzalezm at gmail.com
Tue Feb 28 08:15:09 CET 2006


Yes. It's called because if I rename it I get error 127 not found on
nagios.log.

nagios doesnt generate any file inside rrd/ but if I manually run
insert.plwith user nagios I get files inside rrd/.

I get this in nagiosgraph.log:

Tue Feb 28 08:09:42 2006 CGI debug: @db=
Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in
/usr/share/nagios/nagiosgraph/rrd/:
Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start -3024000 -w
350 -h 100 -l 0 -u 100
Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph
without contents
Tue Feb 28 08:09:42 2006 CGI debug: Config debug:5
Tue Feb 28 08:09:42 2006 CGI debug: Config
logfile:/var/log/nagios/nagiosgraph.log
Tue Feb 28 08:09:42 2006 CGI debug: Config
rrddir:/usr/share/nagios/nagiosgraph/rrd/
Tue Feb 28 08:09:42 2006 CGI debug: Config
mapfile:/usr/share/nagios/nagiosgraph/map
Tue Feb 28 08:09:42 2006 CGI debug: Config colorscheme:1
Tue Feb 28 08:09:42 2006 CGI debug: Config heartbeat:10
Tue Feb 28 08:09:42 2006 CGI debug: Config
perflog:/var/log/nagios/perfdata.log
Tue Feb 28 08:09:42 2006 CGI debug: Config rrdtool:/usr/bin/rrdtool
Tue Feb 28 08:09:42 2006 CGI debug: @db=
Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in
/usr/share/nagios/nagiosgraph/rrd/:
Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start -34560000 -w
350 -h 100 -l 0 -u 100
Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph
without contents

I have this in nagios.cfg:

process_performance_data=1
service_perfdata_file=/var/log/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

and this in command.cfg

     define command{
       command_name    process-service-perfdata
       command_line  /usr/local/nagios/nagiosgraph/insert.pl
     }




On 2/27/06, Hugo van der Kooij <hvdkooij at vanderkooij.org> wrote:
>
> On Mon, 27 Feb 2006, Alberto wrote:
>
> > I get this in nagiosgraph.log:
> >
> > CGI error: RRDs::graph ERR can't make a graph without contents
> >
> > I get the blue screen of nagiosgraph but no images on it... what is the
> > probleam? I have no data on rrd/ folder but if I execute insert.plmanually
> > as nagios user I get date in the folder but if I delete it and run
> nagios it
> > doesnt generate rrd files.
>
> So what does your log tell you about storing the data? Does it attempt to
> create the RRD files? (Should it?)
>
> How did you add the insert.pl in your config? Is it called at all?
>
> Hugo.
>
> --
>         I hate duplicates. Just reply to the relevant mailinglist.
>         hvdkooij at vanderkooij.org                http://hvdkooij.xs4all.nl/
>                 Don't meddle in the affairs of magicians,
>                 for they are subtle and quick to anger.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060228/20171ede/attachment.html>


More information about the Users mailing list