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
graph Explorer Component Issue
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Component Issue
Can you run:
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?
Code: Select all
tail -f /usr/local/nagios/var/graphapi.log
Does the graph that you're trying to access have a large number of data sets?
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Component Issue
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
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
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Component Issue
Hi Mike,
On further checking their isnt any log files in that location !!
Cheers
Arnab
On further checking their isnt any log files in that location !!
Cheers
Arnab
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Component Issue
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
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
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Component Issue
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
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
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Component Issue
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
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
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Component Issue
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.
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.
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Component Issue
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
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
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Component Issue
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)
Also, is there any relationship as to the type of check that is running for these services? (Are these for routers or switches, etc)