(Resolved) Realtime Showing Broken Images

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

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

Post by TheWitness »

Yea, IIS is a bit of a mess and that's where your problem lies. BSOD2600 can provide more information on IIS. I have not used it since 2005. I use Apache whether or not it's a Windows box or a Linux/UNIX box.
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
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

I've really got tired of this, so I completed disabled II6 and Install Apache...(Never used it before!)... Once I've got the Server up , changed a few things in Cacti and voila!....

everything works like charm, cacti and plugins.......

realtime never worked under IIS, now now is runing perfectly...

LA
Attachments
Capture.PNG
Capture.PNG (43.26 KiB) Viewed 1716 times
grodno5
Posts: 36
Joined: Fri Feb 18, 2005 12:49 pm
Location: US/PA
Contact:

No image, no rrd files in cache directory

Post by grodno5 »

PHP Fatal error: Cannot pass parameter 3 by reference in cacti/plugins/realtime/poller_rt.php on line 188
ERROR: I don't understand ':

I'm getting errors about line 188 in the script no mater what changes i do.

$command = rrdtool_function_create($item['local_data_id'], true, array());
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to move to the latest stable, which does not work on PRE 0.8.7f.

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?
mikecarel
Cacti User
Posts: 68
Joined: Thu Jun 03, 2010 10:00 pm

Post by mikecarel »

I'm having the same problem... I have the latest Realtime04.3 , PA2.9 Cacti0.8.7 .

Sometimes it works but most of the time it's not. I don't know if its related with my current server load:

top - 16:59:48 up 9 days, 1:48, 6 users, load average: 7.97, 10.37, 11.98
Tasks: 248 total, 8 running, 232 sleeping, 7 stopped, 1 zombie
Cpu(s): 88.2%us, 11.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.2%hi, 0.3%si, 0.0%st
Mem: 2020516k total, 1933340k used, 87176k free, 21956k buffers
Swap: 2031608k total, 13124k used, 2018484k free, 1214080k cached


php.ini:

max_input_time = 600
max_execution_time = 600
memory_limit = 1024M


Hardware Specs: Core2 Duo with 2GB RAM


HTTPD log:

ERROR: opening '/var/www/html/cacti/cache/realtime_569_5.rrd': No such file or directory
ERROR: opening '/var/www/html/cacti/cache/realtime_8396_5.rrd': No such file or directory
ERROR: opening '/var/www/html/cacti/cache/realtime_2042_5.rrd': No such file or directory
ERROR: opening '/var/www/html/cacti/cache/realtime_2042_5.rrd': No such file or directory


I have other server running the same setup but less server load and realtime plugins works consistent.

I there a way to optimized my config?


Tnx,

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

Post by TheWitness »

Use rrdtool 1.2.x to reduce load, or optimize the fccache while using 1.3/1.4. Otherwise rrdtool 1.3/1.4 will crush your system.

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?
mikecarel
Cacti User
Posts: 68
Joined: Thu Jun 03, 2010 10:00 pm

Post by mikecarel »

tnx for that tip. I've tried that fc-cache and it improves cacti graph rendering, but the root cause of the error was not the server load, it was the php-gd that i used to install last week. Just discovered last night that it's not just realtime plugins that was affected. I'm posting it to a new thread under Weathermap.


Mike
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests