Connecting the world…

Cacti – PA 3.0 wrong path for plugins

After upgrading a CactiEZ installation to cacti 0.8.7h including PA 3.0, I had some problems with the different plugins. The default path for the plugins was configured incorrectly. The plugins were looking in the wrong directory for their images. In the httpd error log I see the following errors.

[root@localhost html]# tail -90f /etc/httpd/logs/error_log
[Wed Jul 18 07:52:19 2012] [error] [client 10.254.60.18] File does not exist: /var/www/html/plugins/monitor/include, referer: http://10.254.10.20/plugins/monitor/monitor.php
[Wed Jul 18 07:52:19 2012] [error] [client 10.254.60.18] File does not exist: /var/www/html/plugins/monitor/include, referer: http://10.254.10.20/plugins/monitor/monitor.php

The problem can be fixed by adding the following line to the include/config.php file.

$url_path = “/”;

Now all plugin pages are displayed correctly.

The following two tabs change content below.

René Jorissen

Co-owner and Solution Specialist at 4IP Solutions
René Jorissen works as Solution Specialist for 4IP in the Netherlands. Network Infrastructures are the primary focus. René works with equipment of multiple vendors, like Cisco, Aruba Networks, FortiNet, HP Networking, Juniper Networks, RSA SecurID, AeroHive, Microsoft and many more. René is Aruba Certified Edge Expert (ACEX #26), Aruba Certified Mobility Expert (ACMX #438), Aruba Certified ClearPass Expert (ACCX #725), Aruba Certified Design Expert (ACDX #760), CCNP R&S, FCNSP and Certified Ethical Hacker (CEF) certified. You can follow René on Twitter and LinkedIn.

Latest posts by René Jorissen (see all)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.