Bug 1162518

Summary: [Nagios] - passive checks for the services nfs,shd,quota,CTDB and SMB does not work when glusterd not running
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: nagios-server-addonsAssignee: Sahina Bose <sabose>
Status: CLOSED CANTFIX QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: high    
Version: rhgs-3.0CC: sabose, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-30 07:55:18 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: 1105568    

Description RamaKasturi 2014-11-11 08:58:14 UTC
Description of problem:
When glusterd is down in all the nodes of the cluster, passive check for ctdb,nfs,shd , quota and smb does not work. The status of these services remain the same state before glusterd was down.

when glusterd is down, code which is present as of now does not check for the services nfs,shd,quota,ctdb and smb.

Version-Release number of selected component (if applicable):
nagios-server-addons-0.1.8-1.el6rhs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install nagios on RHS nodes.
2. Run discovery.py script.
3. Stop glusterd on all the nodes in a cluster.

Actual results:
status of nfs,shd,ctdb,smb does not get updated.

Expected results:
status of nfs,shd,ctdb,smb and quota should be shown as "UNKOWN" with status information as "UNKNOWN: Status could not be determined as glusterd is not running".

Additional info:

Comment 2 Dusmant 2015-01-12 05:55:23 UTC
The services dependant on glusterd should not be checked
when glusterd is down (which is the way it works right now and that's expected)

What needs to be addressed is : 
The e-mail notification for glusterd being down should inform the user that glusterd being down means that status for services like nfs, shd etc. cannot be checked at the moment. This is very crucial, considering most of the customers will be looking forward for a precise information about notifications.

Comment 3 Sahina Bose 2015-02-09 07:21:49 UTC
Related to 1162553 - needs change in email template

Comment 4 Sahina Bose 2015-03-26 05:43:44 UTC
Moving this to 3.1.1 as custom Nagios templates require some amount of work

Comment 6 Sahina Bose 2018-01-30 07:55:18 UTC
Thank you for the bug report. However, closing this as the bug is filed against gluster nagios monitoring for which no further new development is being undertaken.