Created attachment 1052399 [details] screenshot of trends tab for selected host Description of problem ====================== When I click on "Trends" tab of particular host from nagios enabled cluster, I see 2 grapsh with the same label: "Mount Path: /" Version-Release number of selected component (if applicable) ============================================================ Console server packages: on RHEL 6 rhsc-3.1.0-0.62.el6.noarch nagios-3.5.1-6.el6.x86_64 Storage servers packages: on RHEL 6 gluster-nagios-common-0.2.0-1.el6rhs.noarch nrpe-2.15-4.1.el6rhs.x86_64 Steps to Reproduce ================== 1. Create cluster using gluster storage console 2. Enable nagios monitoring for this cluster 3. Select on host from the cluster and click on it's "Trends" tab Actual results ============== Multiple graphs are presented, but 2 of them have the same label: "Mount Path: /". See attached screenshot. When I look at the output of df on the selected host: ~~~ # df -h Filesystem Size Used Avail Use% Mounted on /dev/vda2 13G 2.0G 11G 17% / tmpfs 939M 0 939M 0% /dev/shm /dev/mapper/vg--brick1-brick1 99G 54G 46G 54% /rhgs/brick1 ~~~ I see that the 2nd graph from the "Trends" tab is for tmpfs /dev/shm filesystem. Expected results ================ Label for disk usage graphs on host should be more descriptive, probably including the device of the filesystem. or Remove tmpfs filesystems from this tab.
Hi Martin, We already have a bug for this and please take a look at the one below: https://bugzilla.redhat.com/show_bug.cgi?id=1167425#c4 Thanks kasturi
Can we close this as duplicate of other bug bz#1167425#c4 mentioned in comment 1?
It depends on how you would like to solve the issue: If you are going to fix the label so that it will contain block device name, feel free to close this as a duplicate of bz#1167425#c4. But if you are going to remove graph for /dev/shm (tmpfs) from host's Trends tab, it would make more sense to let it open.
(In reply to Martin Bukatovic from comment #3) > It depends on how you would like to solve the issue: > > If you are going to fix the label so that it will contain block device name, > feel free to close this as a duplicate of bz#1167425#c4. > Sorry I didn't see the /tmpfs part. Actually we are monitoring multiple aspects of the disk like space used, inodes used, thin pool used (if its a thin lv). So adding a proper label for the graph should fix this issue. > But if you are going to remove graph for /dev/shm (tmpfs) from host's Trends > tab, it would make more sense to let it open. I don't think we are monitoring /dev/shm in nagios. So you won't find any graph for this device.
Created attachment 1052997 [details] nagios Disk Utilization page for given host (In reply to Ramesh N from comment #4) > I don't think we are monitoring /dev/shm in nagios. So you won't find any > graph for this device. It seems that we are. I rechecked nagios web interface and looked at graphs for on Disk Utilization given host, see the attachment. Monitoring has been configured using rhsc-setup and configure-gluster-nagios scripts. But it's not immediately apparent which graph it is as all share the same label - "Mount Path: /". So it seems that the issue with labels makes this issue (monitoring /dev/shm) harder to find.
(In reply to Martin Bukatovic from comment #5) > Created attachment 1052997 [details] > nagios Disk Utilization page for given host > > (In reply to Ramesh N from comment #4) > > I don't think we are monitoring /dev/shm in nagios. So you won't find any > > graph for this device. > > It seems that we are. I rechecked nagios web interface and looked at > graphs for on Disk Utilization given host, see the attachment. Monitoring > has been configured using rhsc-setup and configure-gluster-nagios scripts. > Labels are available in Nagios UI. You can see the text 'Datasource: Disk Utilization(<space/inode>)' in top left corner of all the graphs to see whats the graph is about. From the attachment, I can see graphs for the mount point '/'. So there is no question of '/dev/shm'. > But it's not immediately apparent which graph it is as all share the same > label - "Mount Path: /". So it seems that the issue with labels makes this > issue (monitoring /dev/shm) harder to find.
(In reply to Ramesh N from comment #6) > Labels are available in Nagios UI. You can see the text 'Datasource: Disk > Utilization(<space/inode>)' in top left corner of all the graphs to see > whats the graph is about. From the attachment, I can see graphs for the > mount point '/'. So there is no question of '/dev/shm'. Yes, you are right. The graph is actually for inode utilization. So this can be closed as duplicate as suggested in comment 2 after all.
doc text looks good. Approved.
*** This bug has been marked as a duplicate of bug 1167425 ***