Bug 1120832
| Summary: | [EARLY ACCESS] glusterpmd.log very chatty | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | James Rankin <jrankin> |
| Component: | gluster-nagios-addons | Assignee: | Darshan <dnarayan> |
| Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | rhgs-3.0 | CC: | dnarayan, dpati, kmayilsa, knarra, nlevinki, nsathyan, psriniva, rhs-bugs, rhsc-qe-bugs, rnachimu, sasundar, ssampat, tjeyasin |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.0.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | gluster-nagios-addons-0.1.12-1.el6rhs | Doc Type: | Bug Fix |
| Doc Text: |
Previously, when the value for the hostname_in_nagios parameter was not configured in the '/etc/nagios/nagios_server.conf' file, the corresonding log message that was recorded, was unclear. With this fix, a clear message is displayed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-15 13:49:09 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
James Rankin
2014-07-17 19:48:54 UTC
This error is thrown because 'hostname_in_nagios' is not filled in '/etc/nagios/nagios_server.conf' file. This will be populated automatically once discovery.py completed successfully. Also this will consume more space, it has log rotate implemented already. (In reply to Kanagaraj from comment #2) > This error is thrown because 'hostname_in_nagios' is not filled in > '/etc/nagios/nagios_server.conf' file. > > This will be populated automatically once discovery.py completed > successfully. This log could be more meaningful. "Hostname not configured" creates a confusion as though the local hostname is not configured kind of sense. It would be better, if log says as, 'hostname_in_nagios' is not configured in '/etc/nagios/nagios_server.conf' Lets fix it as suggested by Satheesaran. Modified the log message to "'hostname_in_nagios' is not configured in '/etc/nagios/nagios_server.conf'" as suggested by Satheesaran. Fix link: http://review.gluster.org/#/c/8920/ Verified and works fine with build gluster-nagios-addons-0.1.12-1.el6rhs.x86_64. When glusterpmd is started and discovery.py is not run on RHS nodes, the following would be logged in /var/log/glusterpmd.log. 2014-11-12 16:50:16,558 - GlusterProcLog - WARNING - 'hostname_in_nagios' is not configured in /etc/nagios/nagios_server.conf User will be able to see this issue when he adds RHS nodes to Console and enable external monitoring and not running discovery.py script. This issue will not be seen during upgrades. please ignore comment 8. Please Read as below : Verified and works fine with build gluster-nagios-addons-0.1.12-1.el6rhs.x86_64. When glusterpmd is started and discovery.py is not run on RHS nodes, the following would be logged in /var/log/glusterpmd.log. 2014-11-12 16:50:16,558 - GlusterProcLog - WARNING - 'hostname_in_nagios' is not configured in /etc/nagios/nagios_server.conf If discovery.py is not run, User will be able to see the issue when he adds RHS nodes to Console and enable external monitoring. Hi Darshan, Can you please review the edited doc text for technical accuracy and sign off? Looks good. 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 |