Bug 1135983 - [Nagios] Disk utilization service need not monitor disks that are already monitored as part of brick utilization service
Summary: [Nagios] Disk utilization service need not monitor disks that are already mon...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-nagios-addons
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: RHGS 3.0.4
Assignee: Darshan
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks: 1182947
TreeView+ depends on / blocked
 
Reported: 2014-09-01 12:01 UTC by Shruti Sampat
Modified: 2015-05-13 17:52 UTC (History)
8 users (show)

Fixed In Version: gluster-nagios-addons-0.1.16-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, disks that form bricks were monitored redundantly in both disk utilization and brick utilization service as Disk utilization service monitored all the disks available in the system. With this fix, redundant monitoring of disks is avoided as disk utilization monitors only / , /boot , /home , /var, and /usr mount points.
Clone Of:
Environment:
Last Closed: 2015-03-26 06:32:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0681 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #4 2015-03-26 10:32:40 UTC

Description Shruti Sampat 2014-09-01 12:01:32 UTC
Description of problem:
-------------------------

Currently the disk utilization service monitors all mounted partitions on the RHS node being monitored by nagios. The disks that are used as bricks are monitored also by the brick utilization service. So it would be a good idea not to monitor these disks using the disk utilization service in addition to the brick utilization service.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
gluster-nagios-addons-0.1.10-2.el6rhs.x86_64
nagios-server-addons-0.1.6-1.el6rhs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Monitor an RHS node using nagios.
2. Observe the brick utilization service and the disk utilization service.

Actual results:
Disks that are being used as bricks are monitored both using the brick utilization service as well as the disk utilization service.

Expected results:
Nagios need not monitor disks that are used as bricks using the disk utilization service as they are already monitored using the brick utilization service.

Additional info:

Comment 3 RamaKasturi 2014-12-31 09:17:55 UTC
This issue causes disk utilization to show older bricks even after a snapshot is restored.

Consider a case where there is a volume called "vol1".

1) User takes a snapshot of the volume.
2) Once the snap is taken, the volume has been filled with data so that utilization is reached to 100 percent.
3) Now user restores the volume and the restored volume does not have data in it.
4) Volume utilization, brick utilization goes to zero percent once the restore is performed.
5) Disk utilization still shows as critical.

Comment 4 Dusmant 2015-01-12 09:54:14 UTC
monitor only the 4 mount points, which are needed for the system operation

Comment 6 Darshan 2015-02-18 06:47:26 UTC
Disk utilization service is modified to monitor only the following mount points: / , /boot , /home , /var , /usr.

Comment 7 Darshan 2015-02-18 09:27:49 UTC
patch: http://review.gluster.org/#/c/9673/

Comment 9 Shruti Sampat 2015-03-05 09:24:46 UTC
Verified as fixed in gluster-nagios-addons-0.1.16-1.el6rhs.x86_64

Disk utilization service now monitors the following mount points -
/, /boot, /home, /var and /usr

Tested for space and inode utilization monitoring for the above partitions.

Comment 10 Shalaka 2015-03-13 07:13:27 UTC
Please review and sign-off edited doc text.

Comment 11 Darshan 2015-03-16 05:42:41 UTC
looks good.

Comment 13 errata-xmlrpc 2015-03-26 06:32:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0681.html


Note You need to log in before you can comment on or make changes to this bug.