Bug 1164682

Summary: [RFE] Add a command to run auto discovery and mention that command as part of rhsc-setup summary to the user.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: medium Docs Contact:
Priority: high    
Version: rhgs-3.0CC: dpati, nlevinki, nsathyan, rhs-bugs, rhsc-qe-bugs, rnachimu, sabose, sharne, ssampat
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: RHGS 3.0.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nagios-server-addons-0.1.12-1.el6rhs.noarch.rpm Doc Type: Enhancement
Doc Text:
A new command 'configure-gluster-nagios' is added to create Nagios configurations to monitor Red Hat Storage nodes. The 'configure-gluster-nagios' command can be used instead of running 'discovery.py' script.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-26 06:33:00 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: 1182947    

Description Shruti Sampat 2014-11-17 06:44:39 UTC
Description of problem:
-------------------------

A command to run the discovery script should be mentioned at the end of the summary provided after running rhsc-setup asking the user to run the command, for using Nagios monitoring.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Ramesh N 2015-01-30 08:44:52 UTC
Any suggestion for the command name? how about command name 'discovery'?

Comment 4 Shruti Sampat 2015-01-30 08:56:10 UTC
How about `discover'?

Comment 5 Ramesh N 2015-01-30 11:12:55 UTC
upstream patch sent: http://review.gluster.org/9514

Comment 6 Sahina Bose 2015-02-13 07:10:50 UTC
This command need to be mentioned while running "rhsc-monitoring enable" as well

Comment 7 Shruti Sampat 2015-02-17 10:41:19 UTC
Verified as fixed in nagios-server-addons-0.1.12-1.el6rhs.noarch.rpm

The following note was seen at the end of rhsc-setup command output -

          --== SUMMARY ==--
         
[ INFO  ] To enable monitoring, ensure that the managed nodes are migrated to Red Hat Storage-3.0. Also ensure that the auto-discovery command (configure-gluster-nagios) is executed to start monitoring the Red Hat Storage Nodes after the nodes are added to Red Hat Storage Console. For more details, refer Red Hat Storage Console Administration Guide.

The following note was seen along with the command output for `rhsc-monitoring enable' -

INFO: Move the nodes of existing cluster (with compatibilty version >= 3.4) to maintenance and re-install them.
Ensure that the auto-discovery command (configure-gluster-nagios) is executed to start monitoring the Red Hat Storage Nodes after the nodes are added to Red Hat Storage Console. For more details, refer Red Hat Storage Console Administration Guide.

Running `configure-gluster-nagios' command works.

Comment 8 Shalaka 2015-03-06 06:17:23 UTC
Please add doc text.

Comment 9 Shalaka 2015-03-13 09:06:40 UTC
Please review and sign-off edited doc text.

Comment 10 Ramesh N 2015-03-16 04:42:36 UTC
doc text looks good to me.

Comment 12 errata-xmlrpc 2015-03-26 06:33:00 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