graph Explorer Component Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

graph Explorer Component Issue

Post by arnab.roy »

Hi All,

It seems like all of a sudden this component stopped picking up one of the graphs , I can still see it in normal ways, under performance graphs.

Cheers
Arnab
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph Explorer Component Issue

Post by mguthrie »

Can you run:

Code: Select all

tail -f /usr/local/nagios/var/graphapi.log
and access that particular graph and see if the rrdtool call gets logged? (It's supposed to log the rrdtool command upon failure).

Does the graph that you're trying to access have a large number of data sets?
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: graph Explorer Component Issue

Post by arnab.roy »

Hi,

I think I understand what was happenning all though yes that's true it has large dataset about 80. It was working for the past week. I have realised by looking at the rrd that the service name contained / in it which could have been a cause I flushed the files and renamed the service I will observe it and see if I am getting any issues with it.

Cheers
Arnab
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: graph Explorer Component Issue

Post by arnab.roy »

Hi Mike,

On further checking their isnt any log files in that location !!

Cheers
Arnab
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph Explorer Component Issue

Post by mguthrie »

Thanks for the heads up on the log file, I'll put that on the TODO.

Let me know how it turns out after the renaming. It's possible the script is hitting a memory limit with that many data sets, having 80 sets of data layered on one graph is a recipe for hitting a threshold somewhere. Do you have any luck loading a filtered graph with a single dataset?

This wiki post explains how to increase your php memory limit if you haven't already.
http://support.nagios.com/wiki/index.ph ... _Completes
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: graph Explorer Component Issue

Post by arnab.roy »

Hi Mike,

I think I havent made it clear as to what I meant by disappearing of the graphs , I meant the link to the graph it self disappeared under the hostname as if the rrd's didnt exist for those. It appears to be working fine at the moment.

Cheers
Arnab
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: graph Explorer Component Issue

Post by arnab.roy »

Hi Mike,
This issue has resurfaced it worked for couple weeks now without any issues, and now the option for viewing the graphs for the service has vanished again , any chance we could debug where its going wrong ?

Cheers
Arnab
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph Explorer Component Issue

Post by mguthrie »

Hey Arnab,

When the graph explorer loads the services list, it does a directory scan in the /usr/local/nagios/share/perfdata directory to look for an rrd file. The graph explorer will only generate a list entry for items that it has data for, and that the XI user has permission to see.

Check to see if an rrd file exists for the missing services, and if it does we'll go from there.
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: graph Explorer Component Issue

Post by arnab.roy »

hi mike

yes it does both rrd and the xml as I can also see it under the normal graphs , also it seems to have reappeared this morning .

cheers
arnab
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph Explorer Component Issue

Post by mguthrie »

Hmm, can you post the service names of a few names that aren't showing up? (PM me if they contain any private info).

Also, is there any relationship as to the type of check that is running for these services? (Are these for routers or switches, etc)