Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Geant RRD MA failing

Subject: perfsonar development work

List archive

Re: [pS-dev] Geant RRD MA failing


Chronological Thread 
  • From: David Schmitz <>
  • To: Roman Lapacz <>
  • Cc:
  • Subject: Re: [pS-dev] Geant RRD MA failing
  • Date: Thu, 5 Apr 2007 11:57:08 +0200 (CEST)

Hi Roman,

> David,
>
> use other eventType values
>
> http://ggf.org/ns/nmwg/characteristic/utilization/2.0 instead of
> utilization
> http://ggf.org/ns/nmwg/ops/select/2.0 instead of select
I changed our CNM fetch script to
use these new values for querying Geant MA and it seems to work.

Thanks A Lot
David

>
>
> example request:
>
> http://anonsvn.internet2.edu/svn/perfsonar/trunk/perfsonar/schema/example-instances/perfSONAR/SetupDataRequest-FilterRRDSelect-2.xml
>
>
> Roman
>
>
>
>
> David Schmitz wrote:
> > Hi Loukik,
> >
> > Unfortunately, requests from CNM metric fetch scripts
> > to Geant RRD MA are failing (see attachment) since 27.03.2007.
> >
> >
> > Best Regards
> > David
> >
> > ------------------------------------------------------------------------
> >
> >
> > Request:
> >
> > POST
> > http://stats.geant2.net/perfsonar/RRDMA-access/MeasurementArchiveService
> > HTTP/1.1
> > Accept: text/xml
> > Accept: multipart/*
> > Accept: application/soap
> > Content-Length: 1686
> > Content-Type: text/xml; charset=utf-8
> > SOAPAction: "http://ggf.org/ns/nmwg/base/2.0/#message";
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <soap:Envelope
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> > <soap:Body>
> > <nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
> > xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
> > type="SetupDataRequest"
> > xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
> > xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
> > <nmwg:metadata id="meta1">
> > <netutil:subject id="iusub1">
> > <nmwgt:interface>
> > <nmwgt:ifName>ge-0/1/0</nmwgt:ifName>
> >
> > <nmwgt:ifAddress type="ipv4">62.40.103.145</nmwgt:ifAddress>
> >
> > <nmwgt:direction>in</nmwgt:direction>
> > </nmwgt:interface>
> > </netutil:subject>
> >
> > <nmwg:eventType>utilization</nmwg:eventType>
> > </nmwg:metadata>
> >
> > <nmwg:metadata id="meta2">
> > <select:subject metadataIdRef="meta1" id="iusub2" />
> >
> > <nmwg:eventType>select</nmwg:eventType>
> >
> > <select:parameters id="param1">
> > <nmwg:parameter name="startTime">1175759100</nmwg:parameter>
> >
> > <nmwg:parameter name="endTime">1175759400</nmwg:parameter>
> >
> > <nmwg:parameter
> > name="consolidationFunction">AVERAGE</nmwg:parameter>
> >
> > <nmwg:parameter name="resolution">300</nmwg:parameter>
> > </select:parameters>
> > </nmwg:metadata>
> >
> > <nmwg:data metadataIdRef="meta2" id="data1" />
> > </nmwg:message>
> > </soap:Body>
> > </soap:Envelope>
> >
> > ###############################################################################################
> > # Response
> >
> > HTTP/1.1 200 OK
> > Connection: close
> > Date: Thu, 05 Apr 2007 08:14:33 GMT
> > Server: Apache/2.0.52 (Red Hat)
> > Content-Length: 914
> > Content-Type: text/xml;charset=utf-8
> > Client-Date: Thu, 05 Apr 2007 07:59:59 GMT
> > Client-Peer: 62.40.122.146:80
> > Client-Response-Num: 1
> > Set-Cookie: JSESSIONID=4532DDCA832B82347FC7E2DD76BF6E85; Path=/
> >
> > <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><nmwg:message
> > id="localhost.localdomain.35530a35:111bf8565c1:7c25_resp"
> > messageIdRef="localhost.localdomain.35530a35:111bf8565c1:7c25"
> > type="SetupDataResponse"
> > xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";><nmwg:metadata
> > id="resultCodeMetadata"><nmwg:eventType>warning.common.no_metadata</nmwg:eventType></nmwg:metadata><nmwg:data
> > id="resultDescriptionData_for_resultCodeMetadata"
> > metadataIdRef="resultCodeMetadata"><nmwgr:datum
> > xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>No output metadata was
> > returned by MessageHandler. Maybe there was no data trigger, or data
> > trigger
> > didn't have valid metadataIdRef?
> > </nmwgr:datum></nmwg:data></nmwg:message></soapenv:Body></soapenv:Envelope>
> >
> >
> >
>
>
>

--

David Schmitz

Boltzmannstraße 1, 85748 Garching
Telefon: +49 89 35831-8765
Fax: +49 89 35831-9700
Leibniz-Rechenzentrum, Germany
Mail:





Archive powered by MHonArc 2.6.16.

Top of Page