.rrd files for sanity check


New NetworkWeathermap user here. I have a fairly noobish question, but here goes:

I’m trying to recreate this:

as a basic sanity check and to learn the basics, then my goal is to modify the layout/styling into what the production network looks like then integrate it with OpenNMS.

The issue current issue that I am having is that there is not a copy of the data directory or any of the .rrd files used to generate the example weathermap and my google-fu has left me empty-handed. Does anybody know where i can find them?

They don’t actually exist. Part of the script that generates the manual pages runs this map, but fills in random data. However, a standard Cacti network traffic rrd file (which is what it works with by default), looks something like this:

filename = "switch_traffic_in_22.rrd"
rrd_version = "0003"
step = 300
last_update = 1497011702
header_size = 5216
ds[traffic_in].index = 0
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0.0000000000e+00
ds[traffic_in].max = 1.0000000000e+13
ds[traffic_in].last_ds = "0"
ds[traffic_in].value = 0.0000000000e+00
ds[traffic_in].unknown_sec = 0
ds[traffic_out].index = 1
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0.0000000000e+00
ds[traffic_out].max = 1.0000000000e+13
ds[traffic_out].last_ds = "0"
ds[traffic_out].value = 0.0000000000e+00
ds[traffic_out].unknown_sec = 0

which (according to this tool), comes from:

rrdtool create switch_traffic_in_22.rrd --start 1497012302 --step 300 \
             DS:traffic_out:COUNTER:600:0.0000000000e+00:1.0000000000e+13 \
             DS:traffic_in:COUNTER:600:0.0000000000e+00:1.0000000000e+13 \
             RRA:AVERAGE:0.5:1:600 \
             RRA:AVERAGE:0.5:6:700 \
             RRA:AVERAGE:0.5:24:775 \
             RRA:AVERAGE:0.5:288:797 \
             RRA:MIN:0.5:1:600 \
             RRA:MIN:0.5:6:700 \
             RRA:MIN:0.5:24:775 \
             RRA:MIN:0.5:288:797 \
             RRA:MAX:0.5:1:600 \

All weathermap actually cares about is the ds names. You can specify them in the TARGET though, and use any rrd file you already have.

I’m having some additional issues with test data. I converted some test files from OpenNMS from JRobin to rrd and am having issues with rrdtool itself. They are detailed, along with my attempts to troubleshoot the issue, in my StackOverflow Post.

Network Weathermap cannot graph the state of the link as rrdtool always returns:

rdtool fetch ifInOctets.rrd AVERAGE --start now-800 --end now 

1497899700: -nan
1497900000: -nan
1497900300: -nan