Created attachment 883985 [details] Attaching the screenshot for the same. Description of problem: clicking on cluster utilization graph gives an error when there are no volumes present in the cluster. Version-Release number of selected component (if applicable): gluster-nagios-common-0.1.0-6.gitb73c5a2.el6.x86_64 nagios-server-addons-0.1.0-24.git7f06a5c.el6.x86_64 nagios-plugins-nrpe-2.14-6.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. Install nagios on rhs nodes, create a cluster. 2. Do not add any volumes to the cluster. 2. Run the discovery.py file 3. Now open the nagios web-UI. Actual results: Now, click on the graph next to cluster Utilization. It gives the error attached in the screenshot. Expected results: When clicked on graph next to cluster utilization, display some message which is relevant. Additional info:
This is the default error handler for pnp4nagios. When service performance data is not found, the error displayed is as in attachment. To override this, we would need to build a custom error page and error handler and have an RHSC specific build for pnp4nagios. In my opinion, it's ok to go with the default error page as we are using the standard pnp4nagios build Alok, Dusmant - please comment.
As discussed over e-mail, we will document this behaviour (fixing it would require a good amount of effort and customization for the pnp4nagios and maintaining it for RHSC), so that customer does not get confused. I have marked this bug with "requires_doc_text?".
@Sahina, Please change the need_info on me as Dusmant has already updated the bug.
Please add doc text for this known issue.
This issue no longer exists when there are no volumes in the cluster. When there are no volumes present - the Cluster Utilization service is not created. However this issue could happen when the volume utilization service has not yet returned results. Hence leaving it open.
Review and signoff edited doc text.
Doc text looks fine
The chances of this error has been reduced. Closing as WONTFIX for the case where volume utilization data is not present and graph cannot be displayed. The utilization data will be returned within 5 minutes, and the graphs will be shown properly