nagios_grapher failing and showing a lot of gaps

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
uselessid
Posts: 12
Joined: Wed Jul 16, 2014 3:30 pm

nagios_grapher failing and showing a lot of gaps

Post 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?!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: nagios_grapher failing and showing a lot of gaps

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
uselessid
Posts: 12
Joined: Wed Jul 16, 2014 3:30 pm

Re: nagios_grapher failing and showing a lot of gaps

Post 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?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: nagios_grapher failing and showing a lot of gaps

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
uselessid
Posts: 12
Joined: Wed Jul 16, 2014 3:30 pm

Re: nagios_grapher failing and showing a lot of gaps

Post by uselessid »

Ok, thanks. I will try to find their forum.
Locked