Missing RRD data
Posted: Thu Nov 14, 2019 10:01 pm
Hi guys
I made a post back in March about some missing data in my graphs. Unfortunately, other work got in the way which prevented me from investigating further. That was at a time when the missing data was minimal and there was lower impact. I've since returned to the original post, but it appears to be locked. I guess because I left it too long
-Sorry.
The original post was:
"Missing data in graph, but not in RRD file"
https://support.nagios.com/forum/viewto ... 16&t=52944
What I've learnt so far, is that it seems the original RRD files contain data in the following location:
/var/lib/mrtg/my_hostname.rrd -Performing an rrdtool dump reveals all the data appears to be present.
It seems we also create data in the following location:
/usr/local/nagios/share/perfdata/my_hostname/GigabitEthernet0_0_Bandwidth.rrd -Performing an rrdtool dump reveals large chunks of zero'd data. Here is how it looks:
<!-- 2019-11-13 13:17:00 AEDT / 1573611420 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:18:00 AEDT / 1573611480 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:19:00 AEDT / 1573611540 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:20:00 AEDT / 1573611600 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:21:00 AEDT / 1573611660 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
Omitted data from 13:22:00 to 15:03:00 - It was all zero'd
<!-- 2019-11-13 15:04:00 AEDT / 1573617840 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:05:00 AEDT / 1573617900 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:06:00 AEDT / 1573617960 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:07:00 AEDT / 1573618020 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:08:00 AEDT / 1573618080 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:09:00 AEDT / 1573618140 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:10:00 AEDT / 1573618200 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:11:00 AEDT / 1573618260 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:12:00 AEDT / 1573618320 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:13:00 AEDT / 1573618380 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:14:00 AEDT / 1573618440 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:15:00 AEDT / 1573618500 --> <row><v>3.8701069667e+00</v><v>1.1528206667e+00</v></row>
<!-- 2019-11-13 15:16:00 AEDT / 1573618560 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:17:00 AEDT / 1573618620 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:18:00 AEDT / 1573618680 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:19:00 AEDT / 1573618740 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:20:00 AEDT / 1573618800 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:21:00 AEDT / 1573618860 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
From time to time, I can see some data. -See 15:11:00 to 15:15:00 above.
I'm hoping to find some sort of log that might reveal what is causing the zero'd data in the rrd file. I'm guessing there will be a config file somewhere that might need tweaking.
Can someone point me in the right direction?
Thanks in advance
Stel
I made a post back in March about some missing data in my graphs. Unfortunately, other work got in the way which prevented me from investigating further. That was at a time when the missing data was minimal and there was lower impact. I've since returned to the original post, but it appears to be locked. I guess because I left it too long
The original post was:
"Missing data in graph, but not in RRD file"
https://support.nagios.com/forum/viewto ... 16&t=52944
What I've learnt so far, is that it seems the original RRD files contain data in the following location:
/var/lib/mrtg/my_hostname.rrd -Performing an rrdtool dump reveals all the data appears to be present.
It seems we also create data in the following location:
/usr/local/nagios/share/perfdata/my_hostname/GigabitEthernet0_0_Bandwidth.rrd -Performing an rrdtool dump reveals large chunks of zero'd data. Here is how it looks:
<!-- 2019-11-13 13:17:00 AEDT / 1573611420 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:18:00 AEDT / 1573611480 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:19:00 AEDT / 1573611540 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:20:00 AEDT / 1573611600 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 13:21:00 AEDT / 1573611660 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
Omitted data from 13:22:00 to 15:03:00 - It was all zero'd
<!-- 2019-11-13 15:04:00 AEDT / 1573617840 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:05:00 AEDT / 1573617900 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:06:00 AEDT / 1573617960 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:07:00 AEDT / 1573618020 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:08:00 AEDT / 1573618080 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:09:00 AEDT / 1573618140 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:10:00 AEDT / 1573618200 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:11:00 AEDT / 1573618260 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:12:00 AEDT / 1573618320 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:13:00 AEDT / 1573618380 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:14:00 AEDT / 1573618440 --> <row><v>3.9357020000e+00</v><v>1.1723600000e+00</v></row>
<!-- 2019-11-13 15:15:00 AEDT / 1573618500 --> <row><v>3.8701069667e+00</v><v>1.1528206667e+00</v></row>
<!-- 2019-11-13 15:16:00 AEDT / 1573618560 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:17:00 AEDT / 1573618620 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:18:00 AEDT / 1573618680 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:19:00 AEDT / 1573618740 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:20:00 AEDT / 1573618800 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
<!-- 2019-11-13 15:21:00 AEDT / 1573618860 --> <row><v>0.0000000000e+00</v><v>0.0000000000e+00</v></row>
From time to time, I can see some data. -See 15:11:00 to 15:15:00 above.
I'm hoping to find some sort of log that might reveal what is causing the zero'd data in the rrd file. I'm guessing there will be a config file somewhere that might need tweaking.
Can someone point me in the right direction?
Thanks in advance
Stel