Bug 1112201 - [Nagios] - Error message needs to be improved when discovery.py is run with a host which has the same host name of the host which is already being monitored by nagios.
Summary: [Nagios] - Error message needs to be improved when discovery.py is run with a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nagios-server-addons
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: RHGS 3.0.3
Assignee: Ramesh N
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-23 10:28 UTC by RamaKasturi
Modified: 2015-05-13 17:42 UTC (History)
3 users (show)

Fixed In Version: nagios-server-addons-0.1.8-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Cause: TBD Consequence: Fix: Result:
Clone Of:
Environment:
Last Closed: 2015-01-15 13:48:45 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 RamaKasturi 2014-06-23 10:28:47 UTC
Description of problem:
When two of the servers have the same and discovery.py is run, it gives an erro message saying , "Error: Host is already being monitored".

Version-Release number of selected component (if applicable):
nagios-server-addons-0.1.3-3.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Have a node already being monitored by nagios which has the hostname as 'nagios.lab.redhat.com'
2. Now set the same host name to another server and run discovery.py.
3.

Actual results:
Discovery.py gives an error saying, "Error:host is already being monitored'

Expected results:
The message should be read as "Error: Host Name already in use".

Additional info:

Comment 2 Ramesh N 2014-09-22 11:40:33 UTC
Upstream patch http://review.gluster.org/#/c/8658/1

Comment 3 RamaKasturi 2014-11-14 13:00:09 UTC
Verified and works fine with build nagios-server-addons-0.1.8-1.el6rhs.noarch.

When user has a host name which is already being used/ which is already being monitored, running discovery.py displays a message saying "ERROR: Host Name <hostname> is already in use".

Comment 4 Ramesh N 2014-11-24 08:58:29 UTC
Doc text not required as its a  small change in the error message also it was not documented as known issue.

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