[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20050310: rtstats on LDM-6.2.1



Pepo,

The rstats.1 man page in the distribution shows the format of the 
rtstats product that is sent:
:
rtstats-LDMVERSION/LDMHOST/FEEDTYPE/PRODUCT_ORIGIN

That is the format of the product you see:

rtstats-6.2.1/alfa.inm.es/NGRID/grid_v_grid.inm.es

Older versions of rtstats distributed with LDM5 do not report the
LDMVERSION.


Steve Chiswell
Unidata User Support

 
On Thu, 2005-03-10 at 04:13, Pepo Juega wrote:
> Steve Emmerson wrote:
> > Hi Pepo,
> 
> > The cause of this failure to connect was the empty intersection of
> > data-products.  Your ldmd.conf file
> > doesn't appear to have an ACCEPT entry for "localhost" (in fact, it
> > doesn't appear to have any ACCEPT entries).  Try adding the following:
> > 
> >     accept ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
> > 
> > to ldmd.conf.  This should allow the rtstats(1) process to connect.
> 
> That was it ! No errors now, but...
> 
> Mar 10 10:01:39 alfa localhost[18230]:
>      hiya6: TS_ZERO TS_ENDT {{EXP,  ".*"}}
> Mar 10 10:01:39 alfa rtstats[24240]:
>      Sending rtstats-6.2.1/alfa.inm.es/NGRID/grid_v_grid.inm.es,
>      176 bytes
> Mar 10 10:01:39 alfa pqact[24238]:
>      176 20050310100139.662 EXP 921
>      rtstats-6.2.1/alfa.inm.es/NGRID/grid_v_grid.inm.es
> Mar 10 10:02:56 alfa rtstats[24240]:
>      10470484 20050310100229.615   NGRID 000  GRID3340.gz
> Mar 10 10:02:56 alfa pqact[24238]:
>      10470484 20050310100229.615   NGRID 000  GRID3340.gz
> Mar 10 10:02:56 alfa pqact[24238]:
>      pipe: -flush  -close  cnp data/GRID/GRID3340.gz
> 
> Apparently, now rtstats is sending to localhost EXP feedtype
> products, and pqact receives the products. But my data/rtstats
> directory remains empty !!! There are no log entries for
> pqact actually executing FILE to its final destination
> in the data/rtstats direcory. For the NGRID feedtype I get
> these entries, and GRID data ends up in the data/GRID directory.
> 
> Now that I can see the filename that rtstats uses to send an
> EXP feedtype product, I see that the BRE in pqact.conf doesn't
> match this name. I have:
> EXP     ^stats/(.*)/(.*)/(.*)
>          FILE    data/rtstats/\2/%Y%m%d/\1/\3
> so I changed this to:
> EXP     ^rtstats-6.2.1/(.*)/(.*)/(.*)
>          FILE    data/rtstats/\2/%Y%m%d/\1/\3
> 
> Mar 10 10:53:06 alfa rtstats[24240]:
>      Sending rtstats-6.2.1/alfa.inm.es/UNIWISC/meteosat_v_meteosat.inm.es
>      176 bytes
> Mar 10 10:53:06 alfa pqact[24238]:
>      176 20050310105306.496     EXP 961
>      rtstats-6.2.1/alfa.inm.es/UNIWISC/meteosat_v_meteosat.inm.es
> Mar 10 10:53:06 alfa pqact[24238]:                file:
> data/rtstats/UNIWISC/20050310/alfa.inm.es/meteosat_v_meteosat.inm.es
> 
> 
> And finally got to see the statistics in place:
> 
> 20050310104858 20050310104905 alfa UNIWISC meteosat 35  9886408  6.59562 
>       13.64 address@hidden 6.2.1
> 20050310105033 20050310105036 alfa UNIWISC meteosat 36 10252638  3.04114 
>       13.35 address@hidden 6.2.1
> 20050310105109 20050310105136 alfa UNIWISC meteosat 37 10584261 26.6696 
>       13.71 address@hidden 6.2.1
> 
> Txs a lot.
> 
> Pepo
> +*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
> Jose Juega                         Instituto Nacional de Meteorologia
> Tecnico de Sistemas                          Leonardo Prieto Castro,8
> Area de Telematica      JJJJJJJ   JJJJJJJ              E-20071 Madrid
> I.N.M.-Madrid-SPAIN       JJJ       JJJ          Ciudad Universitaria
> UAM (McIDAS)              JJJ       JJJ     Tel :     +34 91 581-9654
> ------------          JJJ JJJ   JJJ JJJ     FAX :     +34 91 544-5307
> ____________           JJJJJ     JJJJJ    e-mail:         address@hidden
> +*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
> Visit http://www.geocities.com/pepoj


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.