Bug 1232730

Summary: [New] - Incorrect Gluster NFS service status is seen in nagios
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: gluster-nagios-addonsAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: rnachimu, sabose
Target Milestone: ---Keywords: Regression
Target Release: RHGS 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-nagios-addons-0.2.4-1.el7rhgs, gluster-nagios-addons-0.2.4-1.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 05:34:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1202842    

Description RamaKasturi 2015-06-17 11:52:34 UTC
Description of problem:
When gluster nfs is up and running status is shown as "ok" with status information as "OK:No gluster volume uses nfs"

Version-Release number of selected component (if applicable):
gluster-nagios-addons-0.2.3-1.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Add hosts to cluster
2. Create a volume
3. Run configure-gluster-nagios and monitor all the nodes through nagios.
4. In one of the node grep for nfs process.

Actual results:
Gluster NFS process would be running in the backend but nagios displays the status nformation as "No gluster volume uses nfs"

Expected results:
Nagios should display that "Gluster volume uses nfs" when gluster nfs is present on the system.

Additional info:

Comment 3 Ramesh N 2015-06-19 09:42:05 UTC
This issue happens because there was service name change for NFS in the server side but we missed the same in glusterpmd. As a result, passive service is not working for Gluster NFS service. Since active check runs only once in 24 hours, status will not be checked frequently. 

Giving the devel ack.

Comment 5 Sahina Bose 2015-06-23 05:45:11 UTC
http://review.gluster.org/#/c/11349/ - posted to correct the service name that glusterpmd updates

Comment 6 RamaKasturi 2015-06-25 12:12:15 UTC
Verified and works fine with build gluster-nagios-addons-0.2.4-1.el6rhs.x86_64 and  nagios-server-addons-0.2.1-2.el6rhs.noarch

when Gluster NFS  process is down service would be marked critical and when Gluster NFS process comes up it would be marked as OK with status information "gluster-nfs process is running"

Comment 8 errata-xmlrpc 2015-07-29 05:34:07 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/RHEA-2015-1494.html