Status Plugin on Cacti 0.8.7c PIA 2.2

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
snaught
Posts: 2
Joined: Fri Jan 16, 2009 5:39 pm

Status Plugin on Cacti 0.8.7c PIA 2.2

Post by snaught »

Just an FYI I've just installed Cacti 0.8.7c and PIA 2.2 along with the Status plugin, and got error msg's about PHP extensions missing. Looking under the hood I noticed I was missing the \cacti\include\html directory that I had in 0.8.7b. I copied the html dir into the correct location, and the Status plugin worked flawlessly :P
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The html directory was removed on purpose.
I fear the author of the mentioned plugin should be made aware of needs to update his code
Reinhard
sasifras
Cacti User
Posts: 58
Joined: Tue Nov 18, 2008 6:57 am

Post by sasifras »

Not 100% sure, but take a shot at this:

in my version of the status plugin (087b-1 - inside the tar.gz), there is a file called:
inc_device_filter_table.php
Go to the status.php file, edit it with your favorite tool. Find line #213

Code: Select all

  include("./include/html/inc_device_filter_table.php");
and change it to:

Code: Select all

  include("inc_device_filter_table.php");
I think the plugin should work ok after that. I don't see any other references to the /include/html paths beyond that one.

Give that a shot - it seemed to work for me.

Sasifras
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

gandalf wrote:The html directory was removed on purpose.
Just curious - what is the benefit?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
sasifras
Cacti User
Posts: 58
Joined: Tue Nov 18, 2008 6:57 am

Post by sasifras »

I was curious too, but I wasn't going to ask... since you did......
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Security issues.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
Vins
Cacti User
Posts: 116
Joined: Tue Sep 12, 2006 3:06 am

Re: Status Plugin on Cacti 0.8.7c PIA 2.2

Post by Vins »

snaught wrote:Just an FYI I've just installed Cacti 0.8.7c and PIA 2.2 along with the Status plugin, and got error msg's about PHP extensions missing. Looking under the hood I noticed I was missing the \cacti\include\html directory that I had in 0.8.7b. I copied the html dir into the correct location, and the Status plugin worked flawlessly :P
Same behaviour in 0.8.7d * PA2.4 and same resolution

:D
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The HTML directory no longer exists in 0.8.7c/d due to security reasons. The Status plugin has been superseded by THold 0.41. However, the author may choose to update this plugin to make compatible with 0.8.7c/d

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests