why I cant find the line for plugin in config.php?
Moderators: Developers, Moderators
why I cant find the line for plugin in config.php?
I want to install the thold plugin into cacti 0.87. I've uploaded thold folder into cacti installation directory and created the plugins folder under ~cacti, but I can't activate the plugin because per the docs, a modification of include/config.php is needed. but the line including plugin configuration is missed in config.php. How can I do now? thanks.
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
At first you've to install the current plugin architecture for Cacti 0.8.7 (PIA 1.3).
You can find the installation instructions under http://cactiusers.org/wiki/PluginArchitectureInstall .
Best regards
-Andreas-
You can find the installation instructions under http://cactiusers.org/wiki/PluginArchitectureInstall .
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Also, even if you have installed the PIA - the plugins[] lines are now in global.php and not config.php
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
That's right. I forgot to write that it has changed with 0.8.7.
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
I just update to 0.8.7 and I do not see the plugins[] line in global.php.
I did not have the plugin arch,. enabled in 0.8.6. Would that make a difference? Where would I put the line in global.php? Anywhere?
I also dont see the $config['url_path'] = "/"; line. Can I also just add that anywhere?
Thanks
I did not have the plugin arch,. enabled in 0.8.6. Would that make a difference? Where would I put the line in global.php? Anywhere?
I also dont see the $config['url_path'] = "/"; line. Can I also just add that anywhere?
Thanks
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I don't see why this array can't be in config.php.....
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
You must install the plugin architecture before you try and install plugins. Even if you did have it in 0.8.6 you still need to install it again (the correct version for your new Cacti version), even.cdiaz wrote:I just update to 0.8.7 and I do not see the plugins[] line in global.php.
I did not have the plugin arch,. enabled in 0.8.6. Would that make a difference? Where would I put the line in global.php? Anywhere?
I also dont see the $config['url_path'] = "/"; line. Can I also just add that anywhere?
Thanks
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I still don't see why it was all moved at all. There's still a file in the default install that will overwrite your database settings during an upgrade, and it means that plugins now have to check which location is the right one. If there was a config.php-dist in the zip, then it might make some sense...rony wrote:I don't see why this array can't be in config.php.....
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 5 guests