|
|
| Author |
Message |
oasis
Joined: 23 May 2007 Posts: 10
|
Posted: Sat Jun 02, 2007 9:57 am Post subject: weathermap refresh |
|
|
Hi
I would like to know how can I refresh weathermap every 5 or 1 minute without clicking on recalculate all maps now
I want to do it automaticly please
Thant you |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Sat Jun 02, 2007 10:29 am Post subject: Re: weathermap refresh |
|
|
| oasis wrote: | Hi
I would like to know how can I refresh weathermap every 5 or 1 minute without clicking on recalculate all maps now
I want to do it automaticly please
Thant you |
Just leave it. It recalculates every poller cycle (so 5 minutes by default).
However, if you have been using Recalculate Now, then you may have permissions problems that need to be fixed. All the files in the output directory must be writeable by your cacti user. This is why there is a warning at the top of the Recalculate Now page.
In fact, I think I will make it so that it asks 'are you sure?' each time, just to make it even more clear that the Recalc Now method is not the 'normal' way. |
|
| Back to top |
|
 |
oasis
Joined: 23 May 2007 Posts: 10
|
Posted: Mon Jun 04, 2007 2:28 pm Post subject: |
|
|
Hi
Thant you for your answer
A normal way could be to refresh the page every minute
But if you tell me that it's not possible with that way
No problem
So everytime I want to connect me to weathermap I have to refresh first, and after, I can see the map ?
Thant you |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Mon Jun 04, 2007 2:49 pm Post subject: |
|
|
| oasis wrote: | Hi
Thant you for your answer
A normal way could be to refresh the page every minute
But if you tell me that it's not possible with that way
No problem
So everytime I want to connect me to weathermap I have to refresh first, and after, I can see the map ?
Thant you |
No. Every time Cacti updates (5 minutes by default), Weathermap updates. If it isn't updating every 5 minutes, it's because the file permissions are wrong. You can see this problem by looking in the Cacti log (cacti.log).
If you have permission problems then you need to:
| Code: | | chown -R cactiuser output/ |
from the weathermap directory.
You should never really need to press that "Recalculate Now" button. Cacti does all the work.
There is no point updating more often than Cacti, because there is no new data to draw! |
|
| Back to top |
|
 |
|