Realtime Plugin shows only broken images

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
142750
Posts: 1
Joined: Tue Sep 19, 2017 10:23 am

Realtime Plugin shows only broken images

Post by 142750 »

Hello there,

i installed a Cacti 0.8.8.-server from official linux-repository on a Ubuntu Server-distribution 16.04.3 .
It is working properly so far. But the realtime-Plug from the official Cacti-website does not work properly. It shows only little windows on my browsers without any graph inside (Mozilla and MS Edge).

I created a realtime-cache-directory and entered permissions "666" and after that i tried also "777". But it did not help.
It seems that there is any php-error but i cannot define what it is about.

Here is my error-log of apache2 about this error (occurs everytime when i click the realtime-symbol at my graph):


_________
_________
PHP Fatal error: Uncaught Error: Call to undefined function split() in /usr/local/share/cacti/plugins/realtime/poller_rt.php:90
Stack trace:
#0 {main}
thrown in /usr/local/share/cacti/plugins/realtime/poller_rt.php on line 90
[Tue Sep 19 17:14:44.264393 2017] [:error] [pid 3747] [client 10.0.1.254:64107] PHP Fatal error: Uncaught Error: Call to undefined function ereg() in /usr/local/share/cacti/plugins/realtime/graph_image_rt.php:252\nStack trace:\n#0 /usr/local/share/cacti/plugins/realtime/graph_image_rt.php(86): rrdtool_function_graph_rt('44', Array)\n#1 {main}\n thrown in /usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line 252, referer: http://10.0.3.90/cacti/plugins/realtime ... raph_id=44
_________
_________



I appreciate your answers.

BR
The Number-Guy
cigamit
Developer
Posts: 3350
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Realtime Plugin shows only broken images

Post by cigamit »

142750 wrote:Cacti 0.8.8
142750 wrote:PHP Fatal error: Uncaught Error: Call to undefined function split()
Looks like you are using PHP 7.0 on a seriously old version of Cacti which doesn't support PHP 7.
Your options are either to downgrade PHP to 5.X branch, or upgrade Cacti to the 1.X branch.
Alex077
Posts: 1
Joined: Tue Sep 26, 2023 12:40 pm

Re: Realtime Plugin shows only broken images

Post by Alex077 »

Hi,
It appears that you've encountered issues with the Cacti 0.8.8 server's real-time plug-in on Ubuntu Server 16.04.3. Despite creating and adjusting permissions for the real-time cache directory, you're still facing problems, possibly related to a PHP error. To diagnose further, the Apache2 error log is crucial, but it seems you didn't include it here.free fire name
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Realtime Plugin shows only broken images

Post by TheWitness »

Upgrade to 1.2.25. Get off that old stuff.
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