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:
Fixed in version: gluster-nagios-addons-0.1.0-66.gitaa44342.el6rhs nagios-server-addons-0.1.0-75.git2efd1bf.el6rhs
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".
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