[SOLVED] do plugins have to match cacti version?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
saya
Cacti User
Posts: 58
Joined: Wed Jan 16, 2008 10:56 pm

[SOLVED] do plugins have to match cacti version?

Post by saya »

Hello guys, I just want to ask that do plugins have to match cacti version?
My cacti version is 0.8.6i and I installed the matched plugin architecture and then downloaded the plugin monitor-0.8.2.tar.gz. I extracted it to the cacti/plugins/ path and added the line "$plugins[]=''monitor"; After this, when I run cacti again in the browser, everything has gone! only the "console" and "graphs" icons left...

any idea?? :cry:
Thanks!!

saya
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Re: do plugins have to match cacti version?

Post by streaker69 »

saya wrote:Hello guys, I just want to ask that do plugins have to match cacti version?
My cacti version is 0.8.6i and I installed the matched plugin architecture and then downloaded the plugin monitor-0.8.2.tar.gz. I extracted it to the cacti/plugins/ path and added the line "$plugins[]=''monitor"; After this, when I run cacti again in the browser, everything has gone! only the "console" and "graphs" icons left...

any idea?? :cry:
Thanks!!

saya
Did you mean to use double quotes(") there, is that actually what's in your global.php file?

It should be:

$plugins[] = 'monitor';[/b]
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
saya
Cacti User
Posts: 58
Joined: Wed Jan 16, 2008 10:56 pm

Post by saya »

Oh sorry, it's a typing mistake. The one in my /include/config.php is correct
$plugins[] = 'monitor';

I checked the update date for monitor is 12/23/07.. Is it because my cacti version too old? ;-$

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

Post by mcutting »

Some of the newer plugins (for example THOLD 0.3.9 and MONITOR 0.8.2) only work with Cacti 0.8.7x, as they require new hooks introduced in PIA 1.4 - as a result of this, they are not backwards compatible.

An upgrade to the latest version of Cacti would cure this, although you should carefully plan this, as a lot has changed in the core code in 0.8.7x
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

mcutting is right. One of my Cacti servers is still running 0.8.6i, so I have to use the monitor plugin 0.7...
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
saya
Cacti User
Posts: 58
Joined: Wed Jan 16, 2008 10:56 pm

oh no...

Post by saya »

Thanx mcutting and fmangeant...
I really think it's the worst case...
I installed cacti using rpmforge, and in that repo cacti 0.8.6i is the latest...have to reinstall everything from the very beginning..:cry:

btw mcutting, is the software listed in ur signature all the lastest for cacti? can they be installed on a centOS4 linux?

Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - CMD.php
Server Info - Linux 2.6.9-67.0.1.EL.plus.c4
Web Server - Apache/2.0.59 (CentOS)
PHP - 5.1.6
MySQL - 5.0.54
RRDTool - 1.2.23
SNMP - 5.1.2
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: oh no...

Post by fmangeant »

saya wrote:Thanx mcutting and fmangeant...
I really think it's the worst case...
I installed cacti using rpmforge, and in that repo cacti 0.8.6i is the latest...have to reinstall everything from the very beginning..:cry:
You can find 0.8.7a RPMS here : http://dag.wieers.com/rpm/packages/cacti/
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
saya
Cacti User
Posts: 58
Joined: Wed Jan 16, 2008 10:56 pm

Post by saya »

fmangeant wrote: You can find 0.8.7a RPMS here : http://dag.wieers.com/rpm/packages/cacti/
Is it okey if only update cacti to new version and left other software like php and mysql as they were?

Thanks

saya
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

I'm using CentOS 4 and 5, and the only third party software I install is Cacti and RRDtool.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
saya
Cacti User
Posts: 58
Joined: Wed Jan 16, 2008 10:56 pm

Post by saya »

I don't think the problem I met yestoday was caused by cacti version...My friend also run 0.8.6, but can add the plugins which I failed to install..
However, I updated my cacti to 0.8.7a today..everything goes on well until I installed the architecture...the patch I use is cacti-plugin-0.8.7a-PA-v1.4.diff...but once
Shell#patch -p1 -N < cacti-plugin-0.8.7a-PA-v1.4.diff
nothing works any more...no graph..cannot access links..

do anyone know why this happened??

Thanks

Saya
saya
Cacti User
Posts: 58
Joined: Wed Jan 16, 2008 10:56 pm

Post by saya »

just now I read that architecture should be installed before cacti configuration..so I reinstalled again..but still the same problem >_<|||
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Which plugin architecture do you use ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
saya
Cacti User
Posts: 58
Joined: Wed Jan 16, 2008 10:56 pm

Post by saya »

Oh it's working now ^_^
The version I installed before was cacti noarch 0.8.7-1.el4.rf...I think this is why I met so many problems...after I changed it to cacti0.8.7a, everything looks nice =)

Thank you very much!!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest