Fedora Account System
Red Hat Associate
Red Hat Customer
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:
Upstream patch http://review.gluster.org/#/c/8658/1
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".
Doc text not required as its a small change in the error message also it was not documented as known issue.
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