| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Change to 1minute interval http://www.steveshipway.org/forum/viewtopic.php?f=2&t=4342 |
Page 1 of 1 |
| Author: | fuinessa [ Sat Jun 04, 2011 8:41 am ] |
| Post subject: | Change to 1minute interval |
Hello everybody, I use the Router2 a long time, but now I decided to customize more, and I also have the need to have a more detailed chart, in this case by the minute. For this I enabled the option: 6hour = yes I add in server.cfg MRTG option: Interval: 01 [: 00] But the chart of 6 hours, does not show the real situation from minute to minute, he repeats the same value in the range of 5 minutes, or is the same as the daily chart, but more stretched. Did I make myself clear? I used the google translator, which can be a little confusing text. Below is the original text. Olá pessoal, eu já uso o router2 há um bom tempo, porém agora resolvi customizar mais, e também tenho a necessidade de tem um gráfico mais detalhado, nesse caso de minuto em minuto. Para isso eu habilitei a opção: 6hour = yes E também coloquei no server.cfg do MRTG a opção: Interval: 01[:00] Porém o gráfico de 6 horas, não mostra a situação real de minuto em minuto, ele repete o mesmo valor no intervalo de 5 minutos, ou seja, fica da mesma forma que o gráfico diário, porém mais esticado. Será que fui claro ? Utilizei o tradutor do google, o que pode confundir um pouco o texto. |
|
| Author: | stevesh [ Sat Jun 04, 2011 1:27 pm ] |
| Post subject: | Re: Change to 1minute interval |
This is because your .rrd files were created using the default 5min interval. Although Routers2 can see the change, the RRD file is still storing data in 5min intervals. You need to do 2 things. 1. Delete your old .rrd file. Then, MRTG will create a new one with a 1minute interval. 2. Make sure you are running MRTG every 1minute now, not every 5minutes! If you are using daemon mode then you must make sure all the other components are 1minute intervals as well. If you are using a scheduler like cron, you must start polling every 1 minutes instead of every 5minutes. How to do this depends on how you have installed MRTG. If you dont do this correctly, you will get all 'unknown' data in the graphs as you will only have 1 data point in every 5. |
|
| Author: | fuinessa [ Sun Jun 05, 2011 1:01 am ] |
| Post subject: | Re: Change to 1minute interval |
Steve, first thank you for responding so quickly and I'm sorry if I did not post in the right place. It was exactly as I said, I deleted the rrd files on it, and began to generate graphics from minute to minute. Thanks Leandro Carlos Original text: Steve, primeiramente muito obrigado por responder tão rápido e me desculpe se não postei no lugar certo. Foi exatamente como disse, eu deletei os aquivos rrd, e passou a gerar gráficos de minuto a minuto. Obrigado Leandro Carlos |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|