On Wed, 28 Feb 2018 16:59:38 +0100 Karl Gerhard karl_gerh@gmx.at wrote:
This should give us about 12 entries because the interface is being checked every 5min. And we should see the counter rising with each entry.
[snip]
nav.devices.router1_domain_com.ports.ae3.ifInOctets 4306587460714 1519816103 nav.devices.router1_domain_com.ports.ae3.ifInOctets 4310180259720 1519816403
12 entries, just as expected. Apparently everything is working fine, but the graph is still mostly gaps.
Perfect approach :) This means NAV is doing its job, but something is amiss with Graphite, though.
Were you able to confirm that nav/devices/router1_domain_com/ports/ae3/ifInOctets.wsp in the whisper data directory has a first archive with a 300 second resolution?
E.g.:
| $ whisper-info /var/lib/graphite/whisper/nav/devices/router1_domain_com/ports/ae3/ifInOctets.wsp | maxRetention: 51840000 | xFilesFactor: 0.5 | aggregationMethod: last | fileSize: 28864 | | Archive 0 | retention: 180000 | secondsPerPoint: 300 | points: 600 | size: 7200 | ...
Archive 0 has a 'secondsPerPoint: 300', which means it expects a data point every 5 minutes. If this is e.g. 60 instead, you will have mostly gaps, and you likely have (or had, at the time the wsp file was created) a problem with your `storage-schemas.conf`.