Plugin Architecture v1.4 for Cacti v0.8.7a
Moderators: Developers, Moderators
Plugin Architecture v1.4 for Cacti v0.8.7a
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-p ... rch.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
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-p ... rch.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
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
latest PIA release for Cacti 0.8.6j is 1.1
latest PIA release for Cacti 0.8.6j is 1.1
[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]
[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]
PIA killed cacti
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?
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?
"So Long, and thanks for all the fish!" DA
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
can you check the files permissions (they need to be readable by your webserver user) ?
Using the path may have reset them...
can you check the files permissions (they need to be readable by your webserver user) ?
Using the path may have reset them...
[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]
[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]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Check the permissions of all .php files modified par the patch.
[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]
[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]
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.
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.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
here it is.
here it is.
- Attachments
-
- cacti-plugin-arch-1.4.tar.gz
- (157.41 KiB) Downloaded 1025 times
[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]
[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]
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
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
Who is online
Users browsing this forum: No registered users and 1 guest