| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| The default graph type parameter http://www.steveshipway.org/forum/viewtopic.php?f=2&t=4344 |
Page 1 of 1 |
| Author: | fuinessa [ Wed Jun 08, 2011 6:26 am ] |
| Post subject: | The default graph type parameter |
Hello everybody! Inside the file "routers2.conf" there is a parameter called "The default graph type, " where I choose the type of graph that will be shown as default in my case would like the graph of 6 hours, but when I put the parameter "graphtype = 6, the program ignores it and continues to show the diary. All options work properly except the "6 ". Someone can tell me why this occurs? Thanks. Original text: Olá pessoal! Dentro do arquivo "routers2.conf" existe um parâmetro chamado "The default graph type", onde eu escolho o tipo de gráfico que será mostrado como padrão, no meu caso gostaria que fosse o gráfico de 6 horas, porem quando coloco o parâmetro "graphtype = 6", o programa ignora e continua exibindo o diário. Todas as opções funcionam corretamente, exceto a opção "6". Alguém sabe me dizer porque isso ocorre ? Obrigado. |
|
| Author: | stevesh [ Wed Jun 08, 2011 10:59 am ] |
| Post subject: | Re: The default graph type parameter |
You can only have graphtype '6' if your Target has an Interval of 1, and you have 6hour=yes in the routers2.conf. Otherwise, routers2 will default to the first item in the gorder array (daily). Also, if your RRD file has a 5min stepand Routers2 is in chekcing mode then again 6hour will be disabled. Check that: 1. You have Interval:1 for this device 2. The RRD file has a 60second step 3. You have 6hour=yes or 6hour=always in the routers2.conf 4. If ALL your graphs should have 6hour enabled, then use 6hour=always (this disables some sanity checks) Steve |
|
| Author: | fuinessa [ Thu Jun 09, 2011 12:50 am ] |
| Post subject: | Re: The default graph type parameter |
Hello Steve, this translator google think that distorts things, (lol) All items you mention are correct. The only problem is the default view page, that is, when I access the page by default it should show the graph of 6 hours, but this does not happen. But if I go into "preferences"and set the default graph type for six hours, he accepts, but as a "cookie", the setting is lost when we delete cookies from your browser. You can see my MRTG at: http://bravopalmas.dyndns.org/cgi-bin/routers2.cgi Probably when you login to the page you will see by default the daily summary, it should be shown the summary of 6 hours. Do not know if I was clear, and if the google translator will help, lol But I'm trying ... Original text: Olá Steve, esse tradutor do google acho que distorce as coisas, (rsss) Todos os itens que voce mencionou estao corretos. O problema é só na visualização padrão da página, isto é, quando eu acesso a página ele deve mostrar por padrão o gráfico de 6 horas, mas isto não acontece. Porém se eu for nas "preferencias" e definir o tipo de grafico padrao para 6 horas, ele aceita, porem como é "cookie", a configuração é perdida quando apagamos os "cookies" do navegador. Voce pode ver meu MRTG no endereço: http://bravopalmas.dyndns.org/cgi-bin/routers2.cgi Provavelmente quando voce entar na página, vai ver por padrão o resumo diario, quando deveria ser mostrado o resumo de 6 horas. Não sei se fui claro, e se o google translator vai ajudar, rsss Mas estou tentando. |
|
| Author: | fuinessa [ Sat Jun 11, 2011 6:52 am ] |
| Post subject: | Re: The default graph type parameter |
| Author: | stevesh [ Thu Jun 16, 2011 10:55 am ] |
| Post subject: | Re: The default graph type parameter |
(spam post removed) Try using 6hour=always in your routers2.conf, this might solve the issue. The problem is that the code which validates your default type (6) comes before the code which validates the available types (IE if the current graph supports a 6hour type) and so it can fail back to daily. Can you confirm that you have the latest available version of Routers2? |
|
| Author: | fuinessa [ Fri Jun 17, 2011 3:30 am ] |
| Post subject: | Re: The default graph type parameter |
Hello, in my routers2.conf already "6hour = always. " And he still does not defaults graphs 6 hours. The version I use is 2.22. But it is working very well, this is hardly a problem. Maybe you can implement it in next version. A hug. Leandro Original text: Olá, no meu routers2.conf já está "6hour=always". E mesmo assim não ele não assume como padrão os gráficos de 6 horas. A versão que utilizo é a 2.22. Mas está funcionando muito bem, isso não chega a ser um problema. Talvez voce consiga implementar isso na próxima versão. Um abraço. Leandro |
|
| Author: | stevesh [ Fri Jun 17, 2011 10:40 am ] |
| Post subject: | Re: The default graph type parameter |
Things are busy at the moment, but I'll list this as a possible bug, then. I will investigate it when there is a chance... It maybe caused by the sanity checks and processing order in which case it will be hard to avoid |
|
| Author: | fuinessa [ Fri Jun 17, 2011 3:23 pm ] |
| Post subject: | Re: The default graph type parameter |
Relax Steve, when you can fix. Thank you. |
|
| Author: | fuinessa [ Tue Jun 21, 2011 12:37 am ] |
| Post subject: | Re: The default graph type parameter |
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|