Plugin Architecture for Windows - Installation Guide?

Support for the Plugin Architecture

Moderators: Developers, Moderators

nomanlan
Posts: 31
Joined: Sat Aug 25, 2007 12:20 pm
Location: Texas

Plugin Architecture for Windows - Installation Guide?

Post by nomanlan »

I am looking for some installation steps on how to install plugin architecture on Windows 2003, I have Cacti 0.8.7d under Windows 2003 and it runs fine, any pointer will greatly be appreciated.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The steps aren't any different than linux really... what specific question(s) do you have?
nomanlan
Posts: 31
Joined: Sat Aug 25, 2007 12:20 pm
Location: Texas

Post by nomanlan »

ok, thanks, I assumed there was a separate installation procedures for Windows.
I followed the steps for Plugin Architecture installation using "Pre-patched" approach. I installed the thold as a sample plugin but not seeing the thold tab in my cacti login, what's a good way to check to see if my Plugin Architecture is in order? Thanks.
nomanlan
Posts: 31
Joined: Sat Aug 25, 2007 12:20 pm
Location: Texas

Post by nomanlan »

I did not import the pa.sql script from the PA zip file as the instructions missed that step. I'm now seeing the thold tab as expected.

My goal is to get the weather-map plugin up and running, any suggestion on which version of weathermap that would work with my Cacti .8.7d? Thanks.
Gunnar
Posts: 14
Joined: Wed Jun 24, 2009 10:38 am

Post by Gunnar »

How do you apply pa.sql in windows XP?
I had my PlugIn management working already and destroyed it when i tryed to install the version for cacti .e
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You import it.

Code: Select all

mysql --user=root --password cacti < c:\inetpub\wwwroot\cacti\pa.sql
Gunnar
Posts: 14
Joined: Wed Jun 24, 2009 10:38 am

Post by Gunnar »

BSOD2600 wrote:You import it.

Code: Select all

mysql --user=root --password cacti < c:\inetpub\wwwroot\cacti\pa.sql

Thanks, the command worked, but it bounced an error:

ERROR 1050 (42S01) at line 5: Table 'plugin_config' already exists

Is there a way to overwrite it? or what else might I have done to cause this?

The symptoms is under the Plugin management is no more plugins showing, but the manage and the thold plugins are still working. I had originally tried to install the weathermap plugin. Copied it to the plugin folder, caused already the issue. Then went and added the array command in global.php - did not help. Then I saw that you have the cacti .e version, installed - no help. Then installed the new plugin architecture for .e - did not help. Removed the weathermap folder and the array entry - no luck.

Any ideas?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

You'd need to go into MySQLAdmin (or something like this) and drop this actual table. A full backup is strongly recommended before doing this though...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Gunnar
Posts: 14
Joined: Wed Jun 24, 2009 10:38 am

Post by Gunnar »

well, let me install MySQLAdmin and see what we got. I'll keep you up-to-date.

thanks
Gunnar
Posts: 14
Joined: Wed Jun 24, 2009 10:38 am

Post by Gunnar »

ok, i modified the pa.sql to drop the tables before recreating them - no more errors upon command execution.

Bu i still have a white page under the Plugin Management.

and additional thoughs on this?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What does your apache error log state? Does php have enough memory? What is the memory_limit set to in php.ini?

Please advise.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Gunnar
Posts: 14
Joined: Wed Jun 24, 2009 10:38 am

Post by Gunnar »

well, i am running on a WinXP box as a test environment.

the resource limits in php.init are currently set to:

max_execution_time = 30
max_input_time = 60
;max_input_nesting_level = 64
memory_limit = 128M

my box has 2GB memory, so that shouldn't be an issue to set higher if needed.

Thanks!
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Sorry,

Apache logging is so easier than IIS

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hater :P

IIS logs are stored by default at \WINDOWS\system32\LogFiles\W3SVC##. The contents of the logs are configurable per website in the IIS tool.

I'd also suggest you enable the PHP error_log.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

:D :D :D :D :P :P :P
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest