I have just figured out that there is a strange behaviour, let me try to explain.
From the dashboard web page, I have modified the URL putting "1hour" instead of "1day", and it does not change the result, from the dashboard it continues to show me 1 day stats (same result if I reload the web page or if I close and restart my web browser).
Instead, if I copy the URL of the last one hour graph stats in a new tab, I correctly get what I want. It looks like an issue related to the dashboard page.
An idea ?
Thank you :-)
Cédric.
-----Original Message----- From: Orzakiewicz Cedric Sent: venerdì 13 gennaio 2017 09:52 To: 'Morten Brekkevold' morten.brekkevold@uninett.no Cc: nav-users@uninett.no Subject: RE: Graph in Dashboard
This is what I tried but it still show the last 24 hours, even if I have well clicked on "Save changes".
-----Original Message----- From: Morten Brekkevold [mailto:morten.brekkevold@uninett.no] Sent: venerdì 13 gennaio 2017 09:49 To: Orzakiewicz Cedric cedric.orzakiewicz@barilla.com Cc: nav-users@uninett.no Subject: Re: Graph in Dashboard
On Fri, 13 Jan 2017 08:38:56 +0000 Orzakiewicz Cedric cedric.orzakiewicz@barilla.com wrote:
First of all, you are right, I am now adding nav-users on copy.
Thank you :)
In the meanwhile, could you please give me some more precise advice to write the correct code that will allow me to get the right graph ?
Here is the current graph URL that show only the last 24 hours stats (while I would like to get the stat of the last hour with automatic refresh) : /graphite/render?from=-1day&target=alias%28scaleToSeconds%28nonNegativ eDerivative%28scale%28nav.devices.swfrgp01_eu_barilla_net.ports.Gi1_0_ 1.ifInOctets%2C8%29%29%2C1%29%2C%22In%22%29&target=alias%28scaleToSeco nds%28nonNegativeDerivative%28scale%28nav.devices.swfrgp01_eu_barilla_ net.ports.Gi1_0_1.ifOutOctets%2C8%29%29%2C1%29%2C%22Out%22%29&title=Tr affic+on+swfrgp01.eu.barilla.net%3AGi1%2F0%2F1+%28Internet%29&height=2 50&width=0&template=nav&vtitle=bits%2Fs&until=now
Just change "from=-1day" into "from=-1hours".
-- Morten Brekkevold UNINETT