Hi,
I recently downloaded and installed the "graph Explorer" component and it is great. However, I noticed that some graphs that are available for certain hosts are not available for another host.
For example, a CPU Usage graph will be available for Host 1, but it is not available for Host 2. Both hosts have the same CPU service check applied to them. Has this been a reported problem? Is there something I can do/provide to fix the problem?
Much Thanks!
graph Explorer Issue
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Issue
The graph explorer will add links for every host and service that it finds an rrdfile for (which is what stores the performance data). Can you verify that the Host 2 is returning performance data and that a PNP graph exists for that host? You can check via the Home->Host graphs page.
-
- Posts: 26
- Joined: Thu May 12, 2011 3:18 pm
Re: graph Explorer Issue
Yes there is an existing graph for Host 2 with performance data of that specific CPU check. Is there something else I can check?
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Issue
Then there are probably two possibilities:
#1: There could be a permission issue for that directory. Maybe compare the /usr/local/nagios/share/perfdata/<hostname> directories and see if there are any differences.
#2: There could be a bug somewhere that is preventing the host from showing up. What is the hostname for this host? I'll create a dummy host on my test box with the same name and see if the issue can be replicated.
#1: There could be a permission issue for that directory. Maybe compare the /usr/local/nagios/share/perfdata/<hostname> directories and see if there are any differences.
#2: There could be a bug somewhere that is preventing the host from showing up. What is the hostname for this host? I'll create a dummy host on my test box with the same name and see if the issue can be replicated.
-
- Posts: 26
- Joined: Thu May 12, 2011 3:18 pm
Re: graph Explorer Issue
I checked the permissions as well as the files within /usr/local/nagios/share/perfdata/<hostname>, there doesn't seem to be a difference.
The hostnames are slexcat01 and slexcat02.
The same CPU check is being applied to both servers.
In graph explorer, I am able to select the CPU check in the dropdown under the slexcat01 host, but does not appear in the dropdown under the slexcat02 host.
This is also happening to a few other servers in our environment.
The hostnames are slexcat01 and slexcat02.
The same CPU check is being applied to both servers.
In graph explorer, I am able to select the CPU check in the dropdown under the slexcat01 host, but does not appear in the dropdown under the slexcat02 host.
This is also happening to a few other servers in our environment.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Issue
Ok, I think I see where the issue is. It looks like the list is retrieving graphs based on the service list, but if there's a host check only, with no services, then it can get missed. I'll rework that section and try to get an updated version up in the next couple of days. I'll post when it's updated.
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Issue
I have also had similar experience but its unpredictable, for me it wasnt showing load average for localhost !! i.e. the XI box itself
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Issue
Refer my previous post it doesnt seem to be related to the size of rrds http://support.nagios.com/forum/viewtop ... =16&t=2679
-
- Posts: 354
- Joined: Sat Apr 30, 2011 10:24 am
Re: graph Explorer Issue
Hi Mike,
Can you kindly look into this asap. As this is now affecting interfaces on switches etc I can see all graphs in XI but not in the component. Please this is very urgent and would appreciate if you can have a look at this.
Cheers
Arnab
Can you kindly look into this asap. As this is now affecting interfaces on switches etc I can see all graphs in XI but not in the component. Please this is very urgent and would appreciate if you can have a look at this.
Cheers
Arnab
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: graph Explorer Issue
Hey Arnab,
So far I'm having trouble recreating the issue. I added a debug logger to this version of the attached component. Can you install this component, access the graph Explorer->Scalable Performance graphs(tab), and then send me the contents of /tmp/debugger.log
Then I'll also need to compare that to the output from
If you can highlight what services are missing it would save me some time. I'm still working on identifying the source of the problem.
So far I'm having trouble recreating the issue. I added a debug logger to this version of the attached component. Can you install this component, access the graph Explorer->Scalable Performance graphs(tab), and then send me the contents of /tmp/debugger.log
Then I'll also need to compare that to the output from
Code: Select all
ls -R /usr/local/nagios/share/perfdata > perfdata.txt
You do not have the required permissions to view the files attached to this post.