ragraph vs. Ubuntu 16.04 (probably a Perl issue)
Wim Biemolt via Argus-info
argus-info at lists.andrew.cmu.edu
Thu Jul 21 09:29:42 EDT 2016
Hello,
On 08/07/16 14:38, Carter Bullard via Argus-info wrote:
> Can you run with the -debug option … that should show us what is being
> stuffed into the rdd ??? Any chance you can generate a minimum data
> file that replicates the problem ???
In case of problems first consult this list. ;-) Since I seem to have
roughly the same issue (on a different os). The result with the debug.
I'm having rrdtool-1.6.0_1 installed. The rrd seems fine with me.
> ragraph -debug pkts dport -M 5m -r argus-id5-log - port 53
> DEBUG: RagraphProcessArgusData: exec: /usr/local/bin/rabins -c, -M hard zero -p6 -GL0 -s ltime pkts dport -M 5m -r argus-id5-log - port 53 > /tmp/tmp.0.t1443Z
> DEBUG: RagraphReadInitialValues(/tmp/tmp.0.t1443Z)
> DEBUG: RagraphReadInitialValue(/tmp/tmp.0.t1443Z): start 1469102400 stop 1469103000 last 1469103000 seconds 900 step 300 Columns LastTime,TotPkts,Dport bins 3
> DEBUG: RagraphGenerateRRDParameters(/tmp/tmp.0.t1443Z)
> DEBUG: RagraphGenerateRRD: split 0 lower 0
> DEBUG: RagraphGenerateRRD(/tmp/tmp.0.t1443Z)
> DEBUG: RagraphGenerateRRD: RRDs::create /tmp/tmp.0.t1443Z.rrd, --start 1469102400 --step 300 DS:objectIn0:GAUGE:300:U:U RRA:AVERAGE:0.5:1:3
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - thisobject is domain
> DEBUG: RagraphGenerateRRD - RRDs::update /tmp/tmp.0.t1443Z.rrd, 1469102700:13
> DEBUG: RagraphGenerateRRD - RRDs::update /tmp/tmp.0.t1443Z.rrd, 1469103000:4
> DEBUG: RagraphGeneratePNG - rrd_pngs /tmp/tmp.0.t1443Z.rrd ragraph.png
> DEBUG: RagraphGeneratePNG - rrd_args --base 1000 --vertical-label Total Packets --start 1469102400 --end 1469103000 --color BACK#EAEAE0 --color SHADEA#EAEAE0 --color SHADEB#EAEAE0 --color CANVAS#FAFAF0 --imgformat PNG
> DEBUG: RRDs::last /tmp/tmp.0.t1443Z.rrd
> DEBUG: RagraphGeneratePNG RRDs::graph ragraph.png, --base 1000 --vertical-label Total Packets --start 1469102400 --end 1469103000 --color BACK#EAEAE0 --color SHADEA#EAEAE0 --color SHADEB#EAEAE0 --color CANVAS#FAFAF0 --imgformat PNG --width 651 --height 353 DEF:alphaIn0=/tmp/tmp.0.t1443Z.rrd:objectIn0:AVERAGE CDEF:ralphaIn0=alphaIn0,300,/ COMMENT:Thu Jul 21 2016\c COMMENT:\s HRULE:0#888888 AREA:ralphaIn0#e000e0: domain : COMMENT:\s COMMENT:\s COMMENT:\s COMMENT:\s COMMENT:\s COMMENT:\s
> ERROR: Unused Arguments "" in command : AREA:ralphaIn0#e000e0: domain :
> DEBUG: RagraphCleanUp - rm -f /tmp/tmp.0.t1443Z /tmp/tmp.0.t1443Z.rrd /tmp/tmp.0.t1443Z.rrdargs
I have the impression the .rrd itself is ok. Only the final command to
generate a graph seems a bit unexpected. Any idea what is going wrong?
> rrdtool dump /tmp/tmp.0.t1443Z.rrd
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
> <!-- Round Robin Database Dump -->
> <rrd>
> <version>0003</version>
> <step>300</step> <!-- Seconds -->
> <lastupdate>1469103000</lastupdate> <!-- 2016-07-21 14:10:00 CEST -->
>
> <ds>
> <name> objectIn0 </name>
> <type> GAUGE </type>
> <minimal_heartbeat>300</minimal_heartbeat>
> <min>NaN</min>
> <max>NaN</max>
>
> <!-- PDP Status -->
> <last_ds>4</last_ds>
> <value>0.0000000000e+00</value>
> <unknown_sec> 0 </unknown_sec>
> </ds>
>
> <!-- Round Robin Archives -->
> <rra>
> <cf>AVERAGE</cf>
> <pdp_per_row>1</pdp_per_row> <!-- 300 seconds -->
>
> <params>
> <xff>5.0000000000e-01</xff>
> </params>
> <cdp_prep>
> <ds>
> <primary_value>4.0000000000e+00</primary_value>
> <secondary_value>0.0000000000e+00</secondary_value>
> <value>NaN</value>
> <unknown_datapoints>0</unknown_datapoints>
> </ds>
> </cdp_prep>
> <database>
> <!-- 2016-07-21 14:00:00 CEST / 1469102400 --> <row><v>NaN</v></row>
> <!-- 2016-07-21 14:05:00 CEST / 1469102700 --> <row><v>1.3000000000e+01</v></row>
> <!-- 2016-07-21 14:10:00 CEST / 1469103000 --> <row><v>4.0000000000e+00</v></row>
> </database>
> </rra>
> </rrd>
Cheers,
-Wim
More information about the argus
mailing list