<div dir="ltr"><div dir="ltr">On Sat, 6 Mar 2021 at 02:04, Scot Kreienkamp <<a href="mailto:Scot.Kreienkamp@la-z-boy.com">Scot.Kreienkamp@la-z-boy.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_1483381233910693595WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif">2021-03-03 01:24:19.002264 xxx/netstat.rrd: Bug - duplicate RRD data with same timestamp 1614731059, different data<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif">That usually happens because graphs by default store data once every 5 minutes.  However, if it receives data more often, say every minute, then it can’t store that in the
 RRD because it can only store one data point every 5 minutes.  Since it’s receiving data more often than once in the 5 minute window the RRD backend triggers that message. </span></p></div></div></blockquote><div><br></div><div>Yes, what Scott said. This could mean you have two different sources of both client data messages and status messages, as if you have two copies of the Xymon client running on the host being monitored.</div><div><br></div><div>However, duplicate messages would, not in itself, lead to missing data. It would only cause the extra data to be dropped, but the first data point in a 5-minute window would be accepted, and no gaps in the data. The only way I can see this being a symptom of a problem that also causes gaps in graphs, is if the clock on the host is jittering wildly (such as if it was a VM on a heavily-loaded host server) and causing some sequential messages to arrive at the Xymon server too close together. This is quite unlikely, so I'm not sure this is related to the gaps. Instead, you might just have two problems to solve: duplicate data sources, and an as-yet unexplained gaps in your graphs.</div><div><br></div><div>Are you receiving these "duplicate RRD data" messages every 5 minutes, or only occasionally (such as when you're seeing gaps in your graphs)?</div><div><br></div><div>It might be helpful to see one of your graphs with gaps in it.</div><div><br></div><div>Also, can you provide maybe 10 sequential log messages with the "duplicate RRD data" in them? I'd like to get a sense of their regularity and frequency.</div><div><br></div><div>One last thing to look at. Are the gaps actual missing data points, or are they values of zero? The way to tell this is to dump the RRD file's contents using something like "rrdtool fetch netstat.rrd AVERAGE | tail -100" (or "less rather than tail -100) and look for either zero or low numbers, or NaN (not a number) entries. [Note that the last few are usually NaN because they're still waiting for updates, so you can ignore those.]</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div></div>