Skip to Content.
Sympa Menu

perfsonar-dev - [Fwd: Re: [pS-dev] Re: Store request in RRD-MA 2.3. rc3]

Subject: perfsonar development work

List archive

[Fwd: Re: [pS-dev] Re: Store request in RRD-MA 2.3. rc3]


Chronological Thread 
  • From: Ilias Tsompanidis <>
  • To: "" <>
  • Subject: [Fwd: Re: [pS-dev] Re: Store request in RRD-MA 2.3. rc3]
  • Date: Fri, 05 Oct 2007 15:10:19 +0300



-------- Original Message --------
Subject: Re: [pS-dev] Re: Store request in RRD-MA 2.3. rc3
Date: Fri, 05 Oct 2007 15:07:23 +0300
From: Ilias Tsompanidis
To: Szymon Trocha
References:


Szymon Trocha wrote:
Ilias Tsompanidis wrote:
Jason Zurawski wrote:
Ilias;


I think that if rrd has been created then data were accepted. I'm not sure about rrdtool itself how/if this keeps only single value.
What's the problem?
I've been populating the rrd-ma via the Store functionality and I  ... can't find the data I stored.
Just for testing purposes, i let a script send Storerequests with the same data, for "current" timestamps , every 3 minutes all night. Then I passed the key to a SetupDataRequest, and all I've got was "0"...

If you were always sending the same data, the change in data over time would be 0, so it is behaving correctly :)

Exactly. RRD doesn't store actual data (at least those pS is using) but it calculates delta and then stores average bps.

You're probably right, but the thing is that I am supposed to be sending bps - a data rate.

You are supposed to send counter value i.e. number o bits read from your interface.
OK, got that. Thanks!

The store-eps-request.xml is the one that produces NaN. Any ideas?  I get NaN also with store-eps-request2.xml
The first has optional parameter dataSourceType ABSOLUTE and the latter GAUGE.
The both created new rrd files and I let them populate for at least 15 minutes.

The rrdtool info output is :
rrd_version = "0003"
step = 300
last_update = 1191585752
ds[ds].type = "COUNTER"
ds[ds].minimal_heartbeat = 1800
ds[ds].min = 0.0000000000e+00
ds[ds].max = 1.0000000000e+13
ds[ds].last_ds = "U"
ds[ds].value = NaN
ds[ds].unknown_sec = 152
.
.
.

Ilias

Regards,


<nmwg:message id="msg4" type="MeasurementArchiveStoreRequest" 
              xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
              xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"; 
              xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; 
              xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";>
         <!--Optional message level parameters-->
        <nmwg:parameters id="msgparam1">
                <nmwg:parameter name="authToken">Internet2</nmwg:parameter>
                <nmwg:parameter name="timeValue">1138699951</nmwg:parameter>
                <nmwg:parameter name="timeType">unix</nmwg:parameter>
        </nmwg:parameters>
        <nmwg:metadata id="meta1">
                <errors:subject id="subj1">
                        <nmwgt:interface>
                                <nmwgt:hostName>data</nmwgt:hostName>
                                <nmwgt:ifName>data</nmwgt:ifName>
                                <nmwgt:ifAddress type="ipv4">155.207.1.100</nmwgt:ifAddress>
                                <nmwgt:ifIndex>3</nmwgt:ifIndex>
                                <nmwgt:direction>out</nmwgt:direction>
                                <nmwgt:capacity>1000000000</nmwgt:capacity>
                        </nmwgt:interface>
                </errors:subject>
                <nmwg:parameters>
                        <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
                        <nmwg:parameter name="dataSourceType">ABSOLUTE</nmwg:parameter>
                        <nmwg:parameter name="dataSourceHeartbeat">1800</nmwg:parameter>
                        <nmwg:parameter name="dataSourceMinValue">0</nmwg:parameter>
                        <nmwg:parameter name="dataSourceMaxValue">10000000000000</nmwg:parameter>
                </nmwg:parameters>

                <nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:eventType>
        </nmwg:metadata>
        <nmwg:data id="data1" metadataIdRef="meta1">
                <nmwg:datum value="12894" timeValue="N" timeType="unix" valueUnits="Eps"/>
        </nmwg:data>
</nmwg:message>
<nmwg:message id="msg4" type="MeasurementArchiveStoreRequest" 
              xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
              xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"; 
              xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; 
              xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";>
         <!--Optional message level parameters-->
        <nmwg:parameters id="msgparam1">
                <nmwg:parameter name="authToken">Internet2</nmwg:parameter>
                <nmwg:parameter name="timeValue">1138699951</nmwg:parameter>
                <nmwg:parameter name="timeType">unix</nmwg:parameter>
        </nmwg:parameters>
        <nmwg:metadata id="meta1">
                <errors:subject id="subj1">
                        <nmwgt:interface>
                                <nmwgt:hostName>data2</nmwgt:hostName>
                                <nmwgt:ifName>data2</nmwgt:ifName>
                                <nmwgt:ifAddress type="ipv4">155.207.1.200</nmwgt:ifAddress>
                                <nmwgt:ifIndex>3</nmwgt:ifIndex>
                                <nmwgt:direction>out</nmwgt:direction>
                                <nmwgt:capacity>1000000000</nmwgt:capacity>
                        </nmwgt:interface>
                </errors:subject>
                <nmwg:parameters>
                        <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
                        <nmwg:parameter name="dataSourceType">GAUGE</nmwg:parameter>
                        <nmwg:parameter name="dataSourceHeartbeat">1800</nmwg:parameter>
                        <nmwg:parameter name="dataSourceMinValue">0</nmwg:parameter>
                        <nmwg:parameter name="dataSourceMaxValue">10000000000000</nmwg:parameter>
                </nmwg:parameters>

                <nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:eventType>
        </nmwg:metadata>
        <nmwg:data id="data1" metadataIdRef="meta1">
                <nmwg:datum value="12894" timeValue="N" timeType="unix" valueUnits="Eps"/>
        </nmwg:data>
</nmwg:message>


  • [Fwd: Re: [pS-dev] Re: Store request in RRD-MA 2.3. rc3], Ilias Tsompanidis, 10/05/2007

Archive powered by MHonArc 2.6.16.

Top of Page