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:
We need to provide the steps, how to disable monitoring.
Please review and signoff edited doc text.
doc-text looks fine
Use the command "rhsc-monitoring disable" from command line to disable already enabled monitoring feature in RHSC.
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?
All that is needed is to refresh the page after enabling/disabling the monitoring feature.
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.
Hi Shubhendu, Can you please review the edited doc text for technical accuracy and sign off?
Did some small changes. Otherwise looks fine.
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