[rrd-users] Can't graph anything from populated rrd

2014-07-07 Thread Victor Mercado
Hi all,

I'm unable to plot the data in my rrd db.

I Installed rrdtool and python-rrd for python 2.7 in a Ubuntu 14.04 os
(inside a virtualbox 32-bit machine).  I created a rrd database using
python-rrd with the following syntax:

rrdtool.create('%s' % rrd_input_file, '--start', 'now', '--step', '120',
   'DS:Jitter:GAUGE:5000:U:U',
   'DS:PacketLossPerc:GAUGE:5000:U:U',
   'RRA:AVERAGE:0.5:1:1440',
   'RRA:AVERAGE:0.5:1:3600',
   'RRA:AVERAGE:0.5:1:1440',
   'RRA:AVERAGE:0.5:1:3600')

I update the rrd database using python-rrd with the following syntax:

for row in iperf_input:
if len(row) == 14:
  epoch = str(time.mktime(time.strptime(row[0], "%Y%m%d%H%M%S")))
   rrdtool.update('%s' % rrd_input_file, '%s:%s:%s' %(epoch,
row[9],row[12]))

If I execute "rrdtool dump " in a terminal window, I can see
the data.  The following is an example of the output:


5.397833e-010.00e+00

4.452000e-010.00e+00





Unfortunately, I'm unable to graph the data.  I'm trying to create a simple
graph without any optional parameters just to see something.  The syntax is
a follows:

$ rrdtool graph -j  > graph.png

Unfortunately, I don't get any output.

I would like to see a graph of my 2 metrics (Jitter and PacketLossPerc) and
the two predefined averages for each of the metrics. Can someone help?

Victor
​ (rrd-beginner)​

-- 
This email and any attachments may contain information that is proprietary,
confidential and/or privileged and for the sole use of the intended 
recipients(s)
only.
If you are not the intended recipient, please notify the sender by return
email and delete all copies of this email and any attachments. Ahold and/or 
its
subsidiaries shall neither be liable for the inaccurate or incomplete 
transmission
of the information contained in this email or any attachments, nor for any 
delay
in its receipt. To the extent this email is intended to create any legal 
obligation,
the obligation shall bind only the contracting entity and not any other 
entity within
the Ahold Group.
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] Can't graph anything from populated rrd

2014-07-07 Thread Alex van den Bogaerdt
> $ rrdtool graph -j  > graph.png
>
> Unfortunately, I don't get any output.
>
> I would like to see a graph of my 2 metrics (Jitter and PacketLossPerc)
> and
> the two predefined averages for each of the metrics. Can someone help?
>
> Victor
> ​ (rrd-beginner)​

You get from RRDtool what you ask for: nothing.

Please work your way through the tutorials.

___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] Can't graph anything from populated rrd

2014-07-07 Thread Simon Hobson
Victor Mercado  wrote:

> rrdtool.create('%s' % rrd_input_file, '--start', 'now', '--step', '120',
>'DS:Jitter:GAUGE:5000:U:U',
>'DS:PacketLossPerc:GAUGE:5000:U:U',
>'RRA:AVERAGE:0.5:1:1440',
>'RRA:AVERAGE:0.5:1:3600',
>'RRA:AVERAGE:0.5:1:1440',
>'RRA:AVERAGE:0.5:1:3600')

You have 3 redundant RRAs there - 1440 is a subset of 3600, and they all 
consolidate the same way (ie nothing as it's one PDP (Primary Data point) per 
CDP (Consolidated Data Point).

> Unfortunately, I'm unable to graph the data.  I'm trying to create a simple 
> graph without any optional parameters just to see something.  The syntax is a 
> follows:
> 
> $ rrdtool graph -j  > graph.png
> 
> Unfortunately, I don't get any output.

You won't because that doesn't tell RRD to produce anything.
See :
http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html
http://www.vandenbogaerdt.nl/rrdtool/

___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] Advice on a ping graph

2014-07-07 Thread Brian
Hi.  I hadn't heard of mrtg-ping-probe, thanks for that.

I decided just to use rrdtool and graph each host as a line every 10 digits
apart, subtracting 5 when it goes down.  It's not ideal, but it works for a
home network.

___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users