Daniel Sanchez Dorado | 9 Jul 2008 13:50
Favicon

URL encoding question

Hello,
I have a problem with the cricket url encoding. I have link to my 
cricket installacion from another software that don't allow the ";" 
character.
This software doesn't accept urls like
:
"http://XXX/cricket/grapher.cgi?target=%2FNetwork%2Fa5x4%2Fa5x4-fastethernet0_02;view=Octets" 

because of the ";".
I have tried to enconde the ";" character:
"http://XXX/cricket/grapher.cgi?target=%2FNetwork%2Fa5x4%2Fa5x4-fastethernet0_02%3Bview=Octets"
but the grapher doesn't work. It seems to be a parser problem. It's 
normal that cricket doesn't accept "%3B" like ";"?

Thank you.

--

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O O O Daniel Sanchez Dorado
O O O Responsable de Redes  LCFIB
O O O Facultad Informatica Barcelona
  UPC  Tel. 934016933  dani <at> fib.upc.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
(Continue reading)

Kiss Gabor (Bitman | 9 Jul 2008 14:02
Picon

Re: URL encoding question

> I have tried to enconde the ";" character:
> "http://XXX/cricket/grapher.cgi?target=%2FNetwork%2Fa5x4%2Fa5x4-fastethernet0_02%3Bview=Octets"
> but the grapher doesn't work. It seems to be a parser problem. It's 
> normal that cricket doesn't accept "%3B" like ";"?

It is the web server who splits tail of URL (after '?') by ';'
and passes chunks to CGI program.
If you write %3B web server does not split param list but replaces
encoded char with a simple semicolon.
That is unparseable by grapher.cgi.

Regards

Gabor

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Carville, Stephen | 9 Jul 2008 20:49
Favicon

Re: URL encoding question

> Hello,
> I have a problem with the cricket url encoding. I have link to my
> cricket installacion from another software that don't allow the ";"
> character.
> This software doesn't accept urls like :
> "http://XXX/cricket/grapher.cgi?target=%2FNetwork%2Fa5x4%2Fa5x4-
> fastethernet0_02;view=Octets"

Try changing the semicolon (;) to an ampersand (&).

What software are you using that rejects the semicolon BTW?

--
Stephen Carville <scarville <at> landam.com>
Systems Engineer
Land America
1.626.667.1450 X1326
#####################################################################
That which does not kill us often hurts us a lot.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
jeanphilippe.pastre | 10 Jul 2008 14:27

I have a problem with y max axis


Hi,

I have a problem with max axis : all the graphs with target 0 have y-max
blocked to 100.

I made a Defaults file with several viewes, for one I defined y-max to
100 because of %value ( target0 )
then I  copied this file on 17 others directories ( /dirA/dirB/dir 0 ->
6 /dir 0 -> 3 /dirC/dirD/dirE/ )
so all the graphs with target0 in each dirE had y-max blocked to 100
I removed the option y-max=100 in all defaults file but the result is
the same : the auto-scale is nok !!
can you help me ?

BR
jph

*********************************
This message and any attachments (the "message") are confidential and intended solely for the
addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
(Continue reading)

Marc Powell | 10 Jul 2008 15:33
Favicon

Re: I have a problem with y max axis


On Jul 10, 2008, at 7:27 AM, <jeanphilippe.pastre <at> orange-ftgroup.com>  
wrote:

>
> Hi,
>
> I have a problem with max axis : all the graphs with target 0 have y- 
> max
> blocked to 100.
>
> I made a Defaults file with several viewes, for one I defined y-max to
> 100 because of %value ( target0 )
> then I  copied this file on 17 others directories ( /dirA/dirB/dir 0  
> ->
> 6 /dir 0 -> 3 /dirC/dirD/dirE/ )
> so all the graphs with target0 in each dirE had y-max blocked to 100
> I removed the option y-max=100 in all defaults file but the result is
> the same : the auto-scale is nok !!
> can you help me ?

I can think of a few possibilities off hand --

- The new configuration was not compiled
- There still exists a Defaults file high up in the hierarchy that  
includes y-max=100
- The rrdfile was created such that the max permitted value to be  
stored for that ds is 100 (rrdtool info /path/to/rrdfile will show  
this).

(Continue reading)

jeanphilippe.pastre | 10 Jul 2008 16:23

Re: I have a problem with y max axis


Thank's for your response

Compilation have been made many times, 
only the top defaults file contains options for graph but no more for y-max 
rrdfile contains no information on y-max value 

Other information : all the graphs with target0 have the pb under level dirC

br
Jean-PhilippePastré

-----Message d'origine-----
De : cricket-users-bounces <at> lists.sourceforge.net
[mailto:cricket-users-bounces <at> lists.sourceforge.net] De la part de Marc Powell
Envoyé : jeudi 10 juillet 2008 15:34
À : cricket-users <at> lists.sourceforge.net
Objet : Re: [cricket-users] I have a problem with y max axis

On Jul 10, 2008, at 7:27 AM, <jeanphilippe.pastre <at> orange-ftgroup.com>
wrote:

>
> Hi,
>
> I have a problem with max axis : all the graphs with target 0 have y- 
> max
> blocked to 100.
>
> I made a Defaults file with several viewes, for one I defined y-max to
(Continue reading)

Marc Powell | 10 Jul 2008 16:54
Favicon

Re: I have a problem with y max axis


On Jul 10, 2008, at 9:23 AM, <jeanphilippe.pastre <at> orange-ftgroup.com>
<jeanphilippe.pastre <at> orange-ftgroup.com 
 > wrote:

> rrdfile contains no information on y-max value

There is no 'y-max' value within the rrd. I was referring to the ds[<#  
or name>].max parameter within the rrdtool info output. It should be  
NAN or something > 100. Is that what you were looking for?

--
Marc

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
jeanphilippe.pastre | 10 Jul 2008 17:22

Re: I have a problem with y max axis


No ! But here a print of the file ...

rrd_version = "0001"
step = 900
last_update = 1215702512
ds[ds0].type = "GAUGE"
ds[ds0].minimal_heartbeat = 1800
ds[ds0].min = 0.0000000000e+00
ds[ds0].max = NaN
ds[ds0].last_ds = "UNKN"
ds[ds0].value = 1.0023414400e+08
ds[ds0].unknown_sec = 0
ds[ds1].type = "GAUGE"
ds[ds1].minimal_heartbeat = 1800
ds[ds1].min = 0.0000000000e+00
ds[ds1].max = NaN
ds[ds1].last_ds = "UNKN"
ds[ds1].value = 2.5984736400e+08
ds[ds1].unknown_sec = 0
ds[ds2].type = "GAUGE"
ds[ds2].minimal_heartbeat = 1800
ds[ds2].min = 0.0000000000e+00
ds[ds2].max = NaN
ds[ds2].last_ds = "UNKN"
ds[ds2].value = 9.8892104000e+07
ds[ds2].unknown_sec = 0 

Jean-PhilippePastré

(Continue reading)

Marc Powell | 10 Jul 2008 17:29
Favicon

Re: I have a problem with y max axis


On Jul 10, 2008, at 10:22 AM, <jeanphilippe.pastre <at> orange-ftgroup.com>  
wrote:

>
> No ! But here a print of the file ...
>
> ds[ds0].max = NaN
>
> ds[ds1].max = NaN
>
> ds[ds2].max = NaN
>

This looks fine. I'm out of suggestions.

--
Marc

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Carville, Stephen | 10 Jul 2008 17:58
Favicon

Re: I have a problem with y max axis


> On Jul 10, 2008, at 10:22 AM, <jeanphilippe.pastre <at> orange-ftgroup.com>
> wrote:
> 
> >
> > No ! But here a print of the file ...
> >
> > ds[ds0].max = NaN
> >
> > ds[ds1].max = NaN
> >
> > ds[ds2].max = NaN
> >
> 
> This looks fine. I'm out of suggestions.

Try deleting the png files in /var/cricket-cache.  Not likely but it
could be some cached image.

--
Stephen Carville <scarville <at> landam.com>
Systems Engineer
Land America
1.626.667.1450 X1326
#####################################################################
That which does not kill us often hurts us a lot.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
(Continue reading)


Gmane