Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1085331 - [Nagios] cliking on Cluster utilization graph results in a error when there are no volumes are present in the cluster.
[Nagios] cliking on Cluster utilization graph results in a error when there a...
Status: CLOSED WONTFIX
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: nagios-server-addons (Show other bugs)
2.1
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Sahina Bose
RamaKasturi
:
Depends On:
Blocks: 1087818
  Show dependency treegraph
 
Reported: 2014-04-08 07:42 EDT by RamaKasturi
Modified: 2015-05-13 14:15 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Volume Utilization graph displays the error "perfdata directory for <host_directory> for <host_name> does not exist", when volume utilization data is not available.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-17 04:11:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
asrivast: needinfo-


Attachments (Terms of Use)
Attaching the screenshot for the same. (69.89 KB, image/png)
2014-04-08 07:42 EDT, RamaKasturi
no flags Details

  None (edit)
Description RamaKasturi 2014-04-08 07:42:11 EDT
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:
Comment 1 Sahina Bose 2014-05-26 06:57:42 EDT
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.
Comment 2 Dusmant 2014-05-27 02:24:24 EDT
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?".
Comment 4 Alok 2014-06-09 08:49:32 EDT
@Sahina, Please change the need_info on me as Dusmant has already updated the bug.
Comment 5 Shalaka 2014-06-18 01:47:55 EDT
Please add doc text for this known issue.
Comment 6 Sahina Bose 2014-06-24 05:34:17 EDT
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.
Comment 7 Shalaka 2014-06-25 09:22:08 EDT
Review and signoff edited doc text.
Comment 8 Sahina Bose 2014-09-17 01:26:08 EDT
Doc text looks fine
Comment 9 Sahina Bose 2015-02-17 04:11:41 EST
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

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