Page 1 of 1

nagios_grapher failing and showing a lot of gaps

Posted: Tue Jul 29, 2014 3:23 pm
by uselessid
Hello.

Some of our graphics, using nagios grapher (1.7.1) is just not graphing some services in some hosts (the graph is working for the same service in other hosts) and some of them are just showing a lot of gaps.

What can be causing this and how to diagnose it?!

Re: nagios_grapher failing and showing a lot of gaps

Posted: Tue Jul 29, 2014 11:38 pm
by Box293
It's best you contact the developer of this project to diagnose these problems.

Perhaps see what's in the httpd error log:

Code: Select all

tail /var/log/httpd/error_log
Or you could use rrdtool with the fetch argument to see if the .rrd files actually contain data.

Re: nagios_grapher failing and showing a lot of gaps

Posted: Fri Aug 01, 2014 10:00 am
by uselessid
RDD is being updated.

We have the following errors in /var/log/httpd/error.log

Aug 01 11:56:43 2014] [error] [client ] [Fri Aug 1 11:56:43 2014] graphs.cgi: Argument "-1w" isn't numeric in multiplication (*) at /usr/lib64/nagios/cgi-bin/graphs.cgi line 479, <CGI> line 366.
[Fri Aug 01 11:56:43 2014] [error] [client ] [Fri Aug 1 11:56:43 2014] graphs.cgi: Argument "-1m" isn't numeric in multiplication (*) at /usr/lib64/nagios/cgi-bin/graphs.cgi line 479, <CGI> line 366.
[Fri Aug 01 11:56:43 2014] [error] [client ] [Fri Aug 1 11:56:43 2014] graphs.cgi: Argument "-1y" isn't numeric in multiplication (*) at /usr/lib64/nagios/cgi-bin/graphs.cgi line 479, <CGI> line 366.
[Fri Aug 01 11:56:48 2014] [error] [client ] Use of uninitialized value $upper_limit in numeric gt (>) at /usr/lib64/nagios/cgi-bin/rrd2-graph.cgi line 433., referer: http://xxx/nagios/cgi-bin//status.cgi?n ... 1&host=yyy
[Fri Aug 01 11:56:48 2014] [error] [client ] Use of uninitialized value $upper_limit in numeric gt (>) at /usr/lib64/nagios/cgi-bin/rrd2-graph.cgi line 433., referer: http://xxx/nagios/cgi-bin//status.cgi?n ... 1&host=yyy

We are using the version 1.7.1.

Any idea?

Re: nagios_grapher failing and showing a lot of gaps

Posted: Fri Aug 01, 2014 2:12 pm
by sreinhardt
As tlea suggested, we do not create nagios_grapher, and very minimally support it. I would highly suggest talking with the developer of the tool instead, as it looks like there is either a bug with your installation or with the version as a whole, it is impossible for me to know though.

Re: nagios_grapher failing and showing a lot of gaps

Posted: Mon Aug 04, 2014 12:11 pm
by uselessid
Ok, thanks. I will try to find their forum.