Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1111079 - No option provided to DISABLE Nagios Monitoring either from RHSC UI or from CLI
No option provided to DISABLE Nagios Monitoring either from RHSC UI or from CLI
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc (Show other bugs)
3.0
Unspecified Unspecified
high Severity medium
: ---
: RHGS 3.0.3
Assigned To: Shubhendu Tripathi
RamaKasturi
: ZStream
Depends On:
Blocks: 1087818 1111087 1161068
  Show dependency treegraph
 
Reported: 2014-06-19 04:22 EDT by Prasanth
Modified: 2015-05-13 13:42 EDT (History)
10 users (show)

See Also:
Fixed In Version: rhsc-setup-plugins-3.0.1-1.0.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, the Red Hat Storage Console installed Nagios and enabled monitoring by default. After the installation, if the user disabled the monitoring feature, the Nagios server would not stop running on the Red Hat Storage Console node. With this fix, to disable the monitoring feature, execute the 'rhsc-monitoring disable' command on the command line interface. This would stop the Nagios Server and Nagios Service Check Acceptor (NSCA) server.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-01-15 08:48:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0039 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #3 2015-01-15 13:46:40 EST

  None (edit)
Description Prasanth 2014-06-19 04:22:24 EDT
Description of problem:

Currently RHSC will install Nagios and enable it by default. Also, after the installation, if anytime user chooses to disable monitoring, he/she should be able to do so, without impacting any other RHSC functionality. When the user disables monitoring, the Trends tab should not be seen any more by Admin in RHSC UI, Nagios server should stop running and NRPE and NSCA services should stop communicating with the nodes.

Above is the Acceptance Critieria for the feature which was designed. However, currently there is No option to disable Nagios Monitoring either from RHSC UI or using any script

Version-Release number of selected component (if applicable): 
rhsc-3.0.0-0.11.el6_5.noarch
rhsc-monitoring-uiplugin-0.1.0-3.el6rhs.noarch

How reproducible: 100%


Steps to Reproduce:
1. Install and setup RHSC + Nagios Server using http://rhsm.pad.engineering.redhat.com/rhsc-nagios-release-denali-8 with Monitoring enabled.
2. Now try to disable Monitoring from UI or from CLI
3.

Actual results: No option to disable Nagios Monitoring either from RHSC UI or using script


Expected results: As described in the Acceptance Critieria, there should be an option available to disable Nagios Monitoring either from RHSC UI or using script or both.


Additional info:
Comment 1 Dusmant 2014-06-25 02:03:53 EDT
We need to provide the steps, how to disable monitoring.
Comment 2 Shalaka 2014-06-25 09:25:30 EDT
Please review and signoff edited doc text.
Comment 3 Shubhendu Tripathi 2014-06-25 23:58:01 EDT
doc-text looks fine
Comment 5 Shubhendu Tripathi 2014-11-06 23:59:40 EST
Use the command "rhsc-monitoring disable" from command line to disable already enabled monitoring feature in RHSC.
Comment 6 RamaKasturi 2014-11-13 05:17:35 EST
Hi Shubhendu,

   I ran the command "rhsc-monitoring disable" from CLI and restarted ovirt-engine.

The following is expected :

1) Trends tab should not be present.

2) Glusterfs Monitoring Home link should not be clickable.

3) If user has configured for any email/snmp config, it has to be stopped.

The following happens:

1) Trends tab is still present

2) Glusterfs Monitoring Home link is still active.

3) Nagios and nsca is stopped.

Could you please tell me if all the things under expected is covered?
Comment 7 Shubhendu Tripathi 2014-11-13 05:44:19 EST
All that is needed is to refresh the page after enabling/disabling the monitoring feature.
Comment 8 RamaKasturi 2014-11-14 03:23:29 EST
Verified and works fine with build rhsc-3.0.3-1.17.el6rhs.noarch.

When "rhsc-monitoring disable" is run and user refreshes the page, the following happens:

1) Trends tab is no more present.

2) Nagios and nsca services are stopped.

3) Email and snmp notifications are not sent.
Comment 9 Pavithra 2014-12-26 02:11:56 EST
Hi Shubhendu,

Can you please review the edited doc text for technical accuracy and sign off?
Comment 10 Shubhendu Tripathi 2014-12-28 23:18:53 EST
Did some small changes.
Otherwise looks fine.
Comment 12 errata-xmlrpc 2015-01-15 08:48:29 EST
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-0039.html

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