|
|
| Author |
Message |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Mon Aug 18, 2008 5:17 am Post subject: Weathermap not working after cacti upgrade |
|
|
I upgraded my cacti installation from 0.8.7 to 0.8.7b and weathermap was no longer appearing on the web interface.
The readme for weathermap states that the $plugins entries for 0.8.7 versions of cacti should be in include\global.php to work. Mine are in include\config.php.
I tried adding the lines to global.php instead but the weathermap options still did not appear under User Manager.
I am using version 0.92 of weathermap.
/edit
I've just upgraded to version 0.95b - does it usually take a couple of polling cycles for the thumbnails & pages to be recreated for the maps I already have? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Aug 18, 2008 12:43 pm Post subject: Re: Weathermap not working after cacti upgrade |
|
|
| cahonis wrote: |
/edit
I've just upgraded to version 0.95b - does it usually take a couple of polling cycles for the thumbnails & pages to be recreated for the maps I already have? |
between 0.94 and 0.95 it will - the file naming scheme changed, so it would take at least one poller cycle before that is reflected.
All working OK now? |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Aug 19, 2008 5:41 am Post subject: |
|
|
No.
I had to revert my cacti installation to 0.8.7 as we rely on weathermap for our network state monitoring.
So now I am running cacti 0.8.7 with Weathermap 0.95b and all is well.
When I upgrade cacti to 0.8.7.b I don't have the weathermap options within the User Manager, even after putting the $plugins entries into include\global.php. Mine are currently in include\config.php in version 0.8.7 of cacti.
What am I not doing right? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Aug 19, 2008 6:03 am Post subject: |
|
|
| cahonis wrote: | No.
I had to revert my cacti installation to 0.8.7 as we rely on weathermap for our network state monitoring.
So now I am running cacti 0.8.7 with Weathermap 0.95b and all is well.
When I upgrade cacti to 0.8.7.b I don't have the weathermap options within the User Manager, even after putting the $plugins entries into include\global.php. Mine are currently in include\config.php in version 0.8.7 of cacti.
What am I not doing right? |
But other plugins show up?
It sounds like you have done things right to me... my first guess would have been that you didn't re-apply the PA patches after upgrading. The plugins stuff should be in global.php, even in 0.8.7 as far as I remember. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Aug 19, 2008 6:22 am Post subject: |
|
|
| Howie wrote: |
But other plugins show up?  |
Yes, my only other plugin (Boost) is showing up.
| Howie wrote: | | It sounds like you have done things right to me... my first guess would have been that you didn't re-apply the PA patches after upgrading. The plugins stuff should be in global.php, even in 0.8.7 as far as I remember. |
The PA patches? What are they? Doesn't sound familiar to me  |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Aug 19, 2008 6:23 am Post subject: |
|
|
| cahonis wrote: | | Howie wrote: |
But other plugins show up?  |
Yes, my only other plugin (Boost) is showing up.
| Howie wrote: | | It sounds like you have done things right to me... my first guess would have been that you didn't re-apply the PA patches after upgrading. The plugins stuff should be in global.php, even in 0.8.7 as far as I remember. |
The PA patches? What are they? Doesn't sound familiar to me  |
The plugin architecture? You need it for any plugins to work. It's a seperate install from the main Cacti install. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Aug 19, 2008 7:02 am Post subject: |
|
|
This is an inherited system with no documentation so forgive my ignorance of what's been installed
I'm trying to patch my installation but can't run the command:
| Code: | | patch -p1 -N --dry-run < cacti-plugin-arch.diff |
as it is for a Unix/Linux system - I can't find any patch instructions for Windows systems that allow me to patch my existing files. I don't want to just overwrite all the files as there's been quite a few changes to them from what I can see. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Aug 19, 2008 7:33 am Post subject: |
|
|
Then you might be stuck with the old version
You need to apply the patches for the plugin architecture, and the correct ones for each version of Cacti, before most plugins work. I'm surprised Boost is working, actually.
The alternative to applying the patches is to use the pre-patched files, but those will overwrite any local changes of course.
How were you doing the upgrade, if not by overwriting/replacing all the files, though? |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Aug 19, 2008 10:46 am Post subject: |
|
|
It's now working.
I made the mistake of pre-patching the cacti upgraded folder structure before re-naming it to the live folder name.
I re-applied the PA files and the weathermaps are now working  |
|
| Back to top |
|
 |
|