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 v1.4 for Cacti v0.8.7a

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture
Author Message
cigamit
Developer


Joined: 07 Apr 2005
Posts: 945
Location: B/CS Texas

PostPosted: Sun Nov 18, 2007 11:38 am    Post subject: Plugin Architecture v1.4 for Cacti v0.8.7a Reply with quote

I have now released the latest PA that is compatible with Cacti v0.8.7a

Notable in this release is a fix to allow the poller_top and poller_bottom hooks to work if your cron interval is different than your poller interval.

http://cactiusers.org/downloads/cacti-plugin-arch.tar.gz


As always, please read the documentation on installing the PA and install plugins.
http://cactiusers.org/wiki/PluginArchitectureInstall
http://cactiusers.org/wiki/PluginsInstall
http://cactiusers.org/wiki/PluginTips
Back to top
gvibe06



Joined: 30 Oct 2007
Posts: 20
Location: Alpharetta, GA

PostPosted: Fri Nov 30, 2007 1:58 pm    Post subject: Reply with quote

Will this version work in 0.86j or only 0.87a?

Where is the archive of older releases, in case the answer to the above question is NO?

Thanks!
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Sat Dec 01, 2007 6:47 am    Post subject: Reply with quote

Hi

latest PIA release for Cacti 0.8.6j is 1.1
Back to top
pconrad



Joined: 12 Jun 2006
Posts: 14

PostPosted: Tue Jan 15, 2008 2:48 pm    Post subject: PIA killed cacti Reply with quote

I installed cacti from cacti-0.8.7a.tar.gz, and all was well. I installed the plugin architecture for this release and followed all the instructions. The database info is correct, and I have made the change to the global.php as instructed.

Now when I try to log into cacti, I get the following message:

Forbidden

You don't have permission to access /cacti/ on this server.

The apache log shows
(13)Permission denied: access to /cacti/index.php denied

What could the problem be?
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Wed Jan 16, 2008 2:34 am    Post subject: Reply with quote

Hi

can you check the files permissions (they need to be readable by your webserver user) ?

Using the path may have reset them...
Back to top
pconrad



Joined: 12 Jun 2006
Posts: 14

PostPosted: Wed Jan 16, 2008 9:07 am    Post subject: Reply with quote

I've set the permissions on the rra/ and log/ to the cacti user.

What other permissions should be set?
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Wed Jan 16, 2008 9:16 am    Post subject: Reply with quote

Check the permissions of all .php files modified par the patch.
Back to top
pconrad



Joined: 12 Jun 2006
Posts: 14

PostPosted: Wed Jan 16, 2008 10:15 am    Post subject: Reply with quote

I've verified the permissions from the backup, and they are correct.
I've created a test html file in /var/www/html/cacti and it works, so I know I can see the directory.
Back to top
pconrad



Joined: 12 Jun 2006
Posts: 14

PostPosted: Wed Jan 16, 2008 4:44 pm    Post subject: solved - Reply with quote

I copied the patched files over individually, and made the path change in global config. All seems to be working correctly.
Back to top
DLNoah



Joined: 20 Jun 2007
Posts: 20

PostPosted: Fri Feb 08, 2008 12:46 pm    Post subject: Reply with quote

As a note for anyone else who may run into this:

I'm running cacti 0.8.7a on CentOS 5, which includes SE Linux. After using the .diff file to patch my cacti distro, I was receiving an apache permission error (403). Looking at the Apache log file, I saw that Apache was being denied to index.php.

Temporarily disabling SELinux allowed me to access cacti again, so I looked into permission issues.

I tried chmod 755 for all files in the cacti directory, which reapplied the 755 permissions but did not resolve the problem.

As I could still reach files within the root of my html directory, I then ran the following command:
chcon --reference=/var/html/www /var/html/www/cacti -R

That command then allowed my cacti to begin working normally again. So the patched files apparently have a security context that does not match Apache's context, which was causing SELinux to deny access to them. Restoring the proper context will fix this problem.
Back to top
KyRoo



Joined: 19 Oct 2007
Posts: 46

PostPosted: Thu Feb 14, 2008 5:47 am    Post subject: Reply with quote

has anyone still have PIA 1.4 for me please?
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Thu Feb 14, 2008 6:00 am    Post subject: Reply with quote

Hi

here it is.



cacti-plugin-arch-1.4.tar.gz
 Description:

Download
 Filename:  cacti-plugin-arch-1.4.tar.gz
 Filesize:  157.41 KB
 Downloaded:  393 Time(s)

Back to top
KyRoo



Joined: 19 Oct 2007
Posts: 46

PostPosted: Thu Feb 14, 2008 8:03 am    Post subject: Reply with quote

fmangeant wrote:
Hi

here it is.


Thx
Back to top
jmb



Joined: 29 Jul 2008
Posts: 4

PostPosted: Fri Aug 08, 2008 10:14 am    Post subject: Reply with quote

It's taken me a while to find the 1.4 version for 0.8.7a in that attachment - having a link to cacti-plugin-arch.tar.gz on a thread announcing 1.4 but which always points to the latest version is confusing.

Would it be possible to keep a repository of previous versions somewhere more visible? (yes, I know upgrading to .7b would be better, but we can't at present)

cheers,
-jmb
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group