Skip to content

Instantly share code, notes, and snippets.

@norrs
Created May 24, 2012 12:23
Show Gist options
  • Save norrs/2781276 to your computer and use it in GitHub Desktop.
Save norrs/2781276 to your computer and use it in GitHub Desktop.
In [105]: rrdtool.fetch('/usr/local/nav/var/cricket-data/router-interfaces/teknobyen-gw2.uninett.no/gi2_48.rrd', 'AVERAGE', '-s -10min')
Out[105]:
((1337861400, 1337862300, 300),
('ds0', 'ds1', 'ds2', 'ds3', 'ds4', 'ds5'),
[(1475554.8211598189,
3410796.9613607405,
0.0,
0.0,
3310.0786953319403,
3745.4225857173838),
(2109230.5088412776,
2686027.275938659,
0.0,
0.0,
3410.4191300648204,
3632.1211039434111),
(None, None, None, None, None, None)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment