Bug 1232730 - [New] - Incorrect Gluster NFS service status is seen in nagios
Summary: [New] - Incorrect Gluster NFS service status is seen in nagios
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-nagios-addons
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: Sahina Bose
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-06-17 11:52 UTC by RamaKasturi
Modified: 2015-07-29 05:34 UTC (History)
2 users (show)

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:
Clone Of:
Environment:
Last Closed: 2015-07-29 05:34:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC

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


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