Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Plugin Architecture v2.1 for Cacti v0.8.7b
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture
Author Message
TheWitness
Developer


Joined: 14 May 2002
Posts: 9256
Location: MI, USA

PostPosted: Fri Jun 27, 2008 8:57 pm    Post subject: Reply with quote

There is likely a switch to show only "changed" files. Do a man on it.

TheWitness
Back to top
m00tpoint



Joined: 07 Jul 2008
Posts: 1

PostPosted: Mon Jul 07, 2008 11:22 pm    Post subject: Reply with quote

Well, since I have the very same problem ... the attached .tar includes a directory diff, with subdirectories. For each file in cacti-plugin-arch/files-0.8.7b, I ran sdiff filename /usr/share/cacti/site/filename (this is the default website location for the Ubuntu package). Hoping this will help. I can play guinea pig for any patched patch files. I'm a better Cisco jockey than Linux guru, but I can follow directions well enough.

Thanks gentlemen for a great piece of OSS.

m00t



ubuntu804diffs.tar
 Description:

Download
 Filename:  ubuntu804diffs.tar
 Filesize:  310 KB
 Downloaded:  56 Time(s)

Back to top
MorbidDK



Joined: 28 Apr 2005
Posts: 11

PostPosted: Tue Aug 19, 2008 12:22 am    Post subject: Reply with quote

Month and a half later, any updates or resolution to this Ubuntu error with global.php line 194 hunk?
Back to top
Exo7
Cacti User


Joined: 13 Jul 2005
Posts: 118

PostPosted: Tue Aug 19, 2008 7:11 am    Post subject: Reply with quote

I made a custom patch for plugin architecture 2.1 / Cacti 0.8.7b on a Debian Lenny system. It solves the global.php patching part on my Debian systems. It might work on Ubuntu too, but in either case you should do a dry run and backup your site/ directory.

After patching, edit the global.php file and add your own plugins (note that thold is enabled)

I only tested the patch on a couple of virtual machine, I will do more testing when I have time.



cacti-plugin-debian-0.8.7b-PA-v2.1.zip
 Description:
plugin architecture 2.1 for Debian Lenny Cacti 0.8.7b

Download
 Filename:  cacti-plugin-debian-0.8.7b-PA-v2.1.zip
 Filesize:  16.18 KB
 Downloaded:  25 Time(s)

Back to top
MorbidDK



Joined: 28 Apr 2005
Posts: 11

PostPosted: Tue Aug 19, 2008 12:03 pm    Post subject: Reply with quote

I ended up just applying the patch using the pre-patched files manually, rather than using the diff to patch the files.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group