Menu

#4475 [HHQ-4327] Agent SenderThread sending same measurements more

Bug
open
None
5
2012-10-09
2010-10-05
No

http://jira.hyperic.com/browse/HHQ-4327
This is easily reproducible with 4.5 agent. Agent is sending 2 or more measurement data points in the same SenderThread batch.



Here's a sample debug log from agent. Note that measurement id 10001 and 10645 are sent twice in the same batch. Timestamp for id 10001 values were 15 ms apart but 1 minute apart for 10645



2010-09-24 12:08:46,718 DEBUG [SenderThread] [SenderThread] Woke up, sending batch of metrics.


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Sending batch to server:


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10645 r=10645 t=1285355280062 v=10


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10642 r=10642 t=1285355280062 v=16


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10637 r=10637 t=1285355280046 v=1


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10643 r=10643 t=1285355280062 v=0


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10645 r=10645 t=1285355220062 v=10.003


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10634 r=10634 t=1285355280046 v=0


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10001 r=10001 t=1285355280015 v=1


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10639 r=10639 t=1285355280062 v=34.535


2010-09-24 12:08:46,734 DEBUG [SenderThread] [SenderThread] Data: d=10001 r=10001 t=1285355280000 v=1


...



Here's corresponding server.log entries. Note that server woo-doo makes both measurement timestamps same.



2010-09-24 12:08:46,781 DEBUG [Thread-531] [org.hyperic.hq.measurement.server.session.ReportProcessorImpl@117] availability -> id=10001 val=1.0 time=1285355280000


2010-09-24 12:08:46,781 DEBUG [Thread-531] [org.hyperic.hq.measurement.server.session.ReportProcessorImpl@117] availability -> id=10001 val=1.0 time=1285355280000

Discussion

Anonymous
Anonymous

Add attachments
Cancel