Bug 1108569

Summary: [Nagios] Typo error in auto-config message
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: gluster-nagios-addonsAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: low Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: asrivast, dpati, kmayilsa, rhsc-qe-bugs, rnachimu
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.0.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nagios-server-addons-0.1.7-1.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-15 13:48:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shruti Sampat 2014-06-12 09:16:32 UTC
Description of problem:
-----------------------

Attempting to run auto-config service when glusterd is down on the nodes in the cluster results in the following error message -

# /usr/lib64/nagios/plugins/gluster/discovery.py -c test_cluster -H rhs-client25  │command[check_disk_and_inode]=/usr/lib64/nagios/plugins/gluster/check_disk_and_inode.py -w 80 -c 90 -l 
Failed to execute NRPE command 'discover_volume_list' in host 'rhs-client25'                           │-i /boot -i /var -i /root -n --inode
Error : NRPE: Unable to read output                                                                    │command[check_memory]=/usr/lib64/nagios/plugins/gluster/memory.py -w 80 -c 90 -t 2
Make sure NPRE server in host 'rhs-client25' is configured to accept requests from Nagios server

Notice the "NPRE" in the last line of the error message. It should be NRPE.

Version-Release number of selected component (if applicable):
gluster-nagios-addons-0.1.2-1.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. On a cluster being monitored by Nagios, kill glusterd on all the nodes in the cluster.
2. Run auto-config either from the Nagios UI or at the command line.

Actual results:
The error message pasted above with the typo error is seen.

Expected results:
The message should not have typo errors.

Additional info:

Comment 1 Ramesh N 2014-06-20 11:26:08 UTC
Upstream patch: http://review.gluster.org/#/c/8130/

Comment 4 Shruti Sampat 2014-11-13 09:29:23 UTC
Verified as fixed in nagios-server-addons-0.1.8-1.el6rhs.noarch

Typo error no longer present -

# /usr/lib64/nagios/plugins/gluster/discovery.py -c test-cluster -H 10.70.37.152                                                                                                                   
Failed to execute NRPE command 'discover_volume_list' in host '10.70.37.152' 
Error : NRPE: Unable to read output
Make sure NRPE server in host '10.70.37.152' is configured to accept requests from Nagios server

Comment 6 errata-xmlrpc 2015-01-15 13:48:04 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.

https://rhn.redhat.com/errata/RHBA-2015-0039.html