Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 729063

Summary: RFE: include hostname in matahari-hostd heartbeat event
Product: Red Hat Enterprise Linux 6 Reporter: Dave Johnson <dajohnso>
Component: matahariAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED ERRATA QA Contact: Dave Johnson <dajohnso>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: matahari-maint, rbryant, whayutin
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: matahari-0.4.2-4.el6 Doc Type: Enhancement
Doc Text:
Cause: The Host agent produces heartbeat events, but previously included only time related meta data. Consequence: It was in some ways difficult to associate heartbeat events with the host they originated from. This was primarily the case in logs. Change: The heatbeat events produced by the Host agent now include the hostname and the hardware UUID as additional meta data. Result: It is easier to associate the Host agent heartbeat events with the host they originated from.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 11:39:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Johnson 2011-08-08 16:05:34 UTC
Description of problem:
Couldn't the hostname be included in a heartbeat event from to help distinguish between events? 

Mon Aug  8 15:57:21 2011 INFO  org.matahariproject:heartbeat broker=localhost:49000 timestamp=1312819041 sequence=40
Mon Aug  8 15:57:22 2011 INFO  org.matahariproject:heartbeat broker=localhost:49000 timestamp=1312819042 sequence=588


Version-Release number of selected component (if applicable):
matahari-host-0.4.2-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.  Install an local matahari broker and host agent on serverA
2.  Start broker and agent on serverA
3.  run qpid-printevents on serverA, see heartbeat event from local host agent
4.  Install host agent on serverB
5.  configure host agent on serverB to connect to broker @ serverA
6.  start host agent on serverB
7.  see new heartbeat events in qpid-printevents from step 3, no way to distinguish between the events (besides the sequence which really will not work after running any amount of time)

Comment 2 Andrew Beekhof 2011-08-08 19:40:33 UTC
Hardware UUID too

Comment 3 Andrew Beekhof 2011-08-09 02:33:59 UTC
A related patch has been committed upstream: https://github.com/beekhof/matahari/commit/bfa436e

Comment 5 Dave Johnson 2011-08-16 23:08:26 UTC
good 2 go in v0.4.2-6

Comment 6 Russell Bryant 2011-11-16 21:35:05 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: The Host agent produces heartbeat events, but previously included only time related meta data.
Consequence: It was in some ways difficult to associate heartbeat events with the host they originated from.  This was primarily the case in logs.
Change: The heatbeat events produced by the Host agent now include the hostname and the hardware UUID as additional meta data.
Result: It is easier to associate the Host agent heartbeat events with the host they originated from.

Comment 7 errata-xmlrpc 2011-12-06 11:39:32 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.

http://rhn.redhat.com/errata/RHBA-2011-1569.html