Nagiosgrapher errors

hello,
I have nagios 3.0.6 installed (following http://www.nagioswiki.org/wiki/HowTos:BestPractice:NagiosFromSourceDebian) on ubuntu jeos and running, and I installed nagiosgrapher v1.6.1-rc5-0.5 (following http://www.nagioswiki.org/wiki/HowTos:BestPractice:NagiosGrapher). Now, I have problem with displaying graphs… better say I have problem creating them. all I see when clicking on graph icon is:

%between%http://img164.imageshack.us/img164/5070/nagiosgrapher1ir3.th.png

What I noticed is:

  1. there’s no ngraph.pipe in /usr/local/nagios/var/rw
  2. no .rrd files are created in /usr/local/nagios/rrd/hostname directories

any ideas?
regards,
Michał

hello,
here’s some more feedback:

/var/log/apache2/error.log

[Thu Jan 15 10:32:19 2009] graphs.cgi: Use of uninitialized value in hash element at /usr/local/nagios/contrib/perl/NagiosGrapher/HTML.pm line 235.
[Thu Jan 15 10:32:19 2009] graphs.cgi: Use of uninitialized value in hash element at /usr/local/nagios/contrib/perl/NagiosGrapher/HTML.pm line 235.
[Thu Jan 15 10:32:19 2009] graphs.cgi: Use of uninitialized value in hash element at /usr/local/nagios/contrib/perl/NagiosGrapher/HTML.pm line 235, <CGI> line 329.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 622.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 622.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 622.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 622.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 430.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/sbin/rrd2-graph.cgi line 622.

still have no .rrd files and ngraph.pipe file… still don’t know what to do…

regards,
Michał

hello,
nevermind, I fixed it :slight_smile:

regards,
Michał

hello,
new problem arrived… entries in /usr/local/nagios/etc/serviceext/server.cfg are generated incorrectly. What I did is added new config file to get graphs for http service, so I copied the file from the templates directory. My entry for ping service in /usr/local/nagios/etc/serviceext/server.cfg file looke like:

# ExtInfo for server, PING
define serviceextinfo{
    host_name               server
    icon_image              ' dot.png' border="0"></a><A TARGET="_blank" HREF="graphs.cgi?host=server&service=PING"><img src='/nagios/images/logos/graph.png'
    service_description     PING
}

and it works fine. after I added the http service grpahs, I get something like:

# ExtInfo for server, PING
define serviceextinfo{
    host_name       server
    icon_image      ' dot.png' border="0"></a><A TARGET="_blank" HREF="graphs.cgi?
    service_description PING
}

and simmilar ones for other services that I added (I have a few different http services on that machine…). What I also noticed, in

I keep getting

[Wed Jan 21 12:24:05 2009] graphs.cgi: Odd number of elements in hash assignment at /usr/local/nagios/contrib/perl/NagiosGrapher/HTML.pm line 524, <CGI> line 329.
[Wed Jan 21 12:24:05 2009] graphs.cgi: Use of uninitialized value in list assignment at /usr/local/nagios/contrib/perl/NagiosGrapher/HTML.pm line 524, <CGI> line 329.

such an errors when I click on graph icon for any of the http service. Other thing is, the nagios web interface for services for this host looks like this:
%between%http://img205.imageshack.us/img205/2774/cvbnxcbhi0.th.png

I have no idea what can be wrong… any ideas anyone?

regards,
Michał