Bug 1108569 - [Nagios] Typo error in auto-config message
Summary: [Nagios] Typo error in auto-config message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-nagios-addons
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: RHGS 3.0.3
Assignee: Ramesh N
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-12 09:16 UTC by Shruti Sampat
Modified: 2015-05-13 17:42 UTC (History)
5 users (show)

Fixed In Version: nagios-server-addons-0.1.7-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-15 13:48:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0039 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #3 2015-01-15 18:46:40 UTC

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


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