Bug 1089670 - [Nagios] - Status Information and status of cluster shows 'Cluster Status CRITICAL : All volumes are in critical state' , DOWN when there are no volumes present in the cluster.
Summary: [Nagios] - Status Information and status of cluster shows 'Cluster Status CRI...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nagios-server-addons
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.0.0
Assignee: Nishanth Thomas
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-21 13:11 UTC by RamaKasturi
Modified: 2015-05-15 17:49 UTC (History)
7 users (show)

Fixed In Version: nagios-server-addons-0.1.0-82.git77df8ca.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-22 19:08:31 UTC
Embargoed:


Attachments (Terms of Use)
Adding the attachment for the error (136.89 KB, image/png)
2014-04-21 13:11 UTC, RamaKasturi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1277 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update 2014-09-22 23:06:30 UTC

Description RamaKasturi 2014-04-21 13:11:17 UTC
Created attachment 888094 [details]
Adding the attachment for the error

Description of problem:
When there are no volumes present in the cluster, cluster status and status information says "Down" and "Cluster Status CRITICAL : All volumes are in critical state'.

Version-Release number of selected component (if applicable):
gluster-nagios-common-0.1.0-17.git7bc4063.el6.x86_64
nagios-server-addons-0.1.0-46.git7e39773.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install nagios.
2. create a cluster, make sure that there are no volumes present in the cluster.
3. Now run the auto config script by using the command "su -c '/usr/lib64/nagios/plugins/gluster/discovery.py -c <cluster-name> -H <ip-address>' -s '/bin/bash' nagios"
4. Browse through the ip http://<ip>/nagios

Actual results:
Click on the hosts tab in the nagios web ui, status and status information for a cluster will be showing "DOWN" and "Cluster Status CRITICAL: All volumes are in critical state".

Expected results:
Cluster status should be shown "OK" as there are no volumes present in the cluster.

Additional info:

Comment 1 Nishanth Thomas 2014-05-19 06:40:12 UTC
Fixed in version:
gluster-nagios-addons-0.1.0-66.gitaa44342.el6rhs
nagios-server-addons-0.1.0-75.git2efd1bf.el6rhs

Comment 4 RamaKasturi 2014-05-22 16:40:20 UTC
Verified and works fine with "nagios-server-addons-0.1.0-82.git77df8ca.el6rhs.x86_64" and "gluster-nagios-addons-0.1.0-72.gitb8b7222.el6rhs.x86_64".

When there are no volumes present in the cluster, cluster status shows as "OK" and status information shows "OK : No Volumes present in the cluster".

Comment 6 errata-xmlrpc 2014-09-22 19:08:31 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.

http://rhn.redhat.com/errata/RHEA-2014-1277.html


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