|
|
| Author |
Message |
zeki
Joined: 09 Feb 2007 Posts: 47
|
Posted: Fri Nov 16, 2007 8:31 pm Post subject: [SOLVED] polling 10 sec interval does not update weathermap |
|
|
i was wondering if the weathermap is setup properly to update with the new cron system
i have a 10 sec poller setup and the weathermap gets updated every 5 min instead of 10 sec.
in settings i do have map rendering interval set to every poller cycle
in the cacti log file i see this
| Code: | *****************************************************************
11/16/2007 05:19:35 PM - WEATHERMAP: Poller[0] poller_output done
poller_output starting
11/16/2007 05:19:35 PM - WEATHERMAP: Poller[0] *****************************************************************
*****************************************************************
11/16/2007 05:19:34 PM - WEATHERMAP: Poller[0] poller_output done
poller_output starting
11/16/2007 05:19:34 PM - WEATHERMAP: Poller[0] *****************************************************************
*****************************************************************
11/16/2007 05:19:33 PM - WEATHERMAP: Poller[0] poller_output done
poller_output starting
11/16/2007 05:19:33 PM - WEATHERMAP: Poller[0] ***************************************************************** |
and i do have my graphs and data source setup properly.
i can tell the weathermap is not updating because the time stamp and data on the map is not getting updated |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2132 Location: United Kingdom
|
Posted: Sat Nov 17, 2007 6:05 am Post subject: |
|
|
I couldn't figure out how the new polling stuff worked, so I haven't tested it at all. It doesn't even seem to be mentioned in the manual.
Weathermap runs from the poller_bottom plugin hook. If poller_bottom doesn't get called after every poller cycle with fast polling, then there's not a huge amount that can be done... it doesn't look at the time, just the number of cycles, so you're right - 'every poller cycle' should do it. |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9671 Location: MI, USA
|
Posted: Sat Nov 17, 2007 9:03 am Post subject: |
|
|
Hiowie,
If we need another hook, or need to modify it, please let Jimmy know. I will forward this topic to him as well.
Larry |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2132 Location: United Kingdom
|
Posted: Sat Nov 17, 2007 10:01 am Post subject: |
|
|
I don't know, do we?
Does poller_bottom still run every cycle with fast polling? I can't think of a reason why it wouldn't, but I'm no expert on the Cacti internals.
As I said, I haven't managed to get 1-minute polling to work - it seemed to require a lot of manual work to set up. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2132 Location: United Kingdom
|
Posted: Sun Nov 18, 2007 2:00 pm Post subject: |
|
|
From the look of this post, it seems that it might be a problem with PIA 1.3, which is fixed in 1.4, available now for Cacti 0.8.7a.
Please retry with that version, assuming you have also upgraded to 'a'. |
|
| Back to top |
|
 |
mitch
Joined: 18 Nov 2007 Posts: 0
|
Posted: Mon Nov 19, 2007 3:57 pm Post subject: Same problem |
|
|
Hi,
I have the same problem. My poller runs every 10 sec. Weathermaps onlt get updated every 5 minutes. Also the weathermap page does not refresh automatically. Did you solve this problem?
TX...
Mitch |
|
| Back to top |
|
 |
zeki
Joined: 09 Feb 2007 Posts: 47
|
Posted: Mon Nov 19, 2007 6:51 pm Post subject: |
|
|
the new plugin architecture v1.4 and cacti update (0.8.7a) fixes this
thanks for all the hard work. |
|
| Back to top |
|
 |
|