Realtime Graph not working.

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

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

Re: Realtime Graph not working.

Post by TheWitness »

This requires PHP5. Make sure you are running that version.
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: Realtime Graph not working.

Post by coldface »

TheWitness wrote:This requires PHP5. Make sure you are running that version.
Hi Witness,

Yes,i installed php 5
"PHP 5.2.5 "

Do you have other suggestions?

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

Re: Realtime Graph not working.

Post by TheWitness »

If the svn version does not work, I don't know what to tell you.
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: Realtime Graph not working.

Post by coldface »

TheWitness wrote:If the svn version does not work, I don't know what to tell you.
Could you pl share the svn address?
I ever download realtime from"http://docs.cacti.net/plugin:realtime#realtime"
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: Realtime Graph not working.

Post by coldface »

coldface wrote:
TheWitness wrote:If the svn version does not work, I don't know what to tell you.
Could you pl share the svn address?
I ever download realtime from"http://docs.cacti.net/plugin:realtime#realtime"
I found the reason,i check the httpd log again and found that "/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15".
So i cp the file(libmysqlclient.so.15)in mysql/lib to /usr/lib and it works fine now.

Thanks,
User avatar
dragossto
Cacti User
Posts: 86
Joined: Tue May 15, 2007 5:24 am
Location: Romania
Contact:

Re: Realtime Graph not working.

Post by dragossto »

Hello Whitness

i have one similar problem
I don't look yet for a fix (

the problem in my case it that the file created by real time in temp directory
it not accessible by apache because of file policy .
The file it created whit apache user and group
but the mod of the file it only write by apache user ,group and other
and execute by other
and for this reason apache server don't have right to read the file

and apache give one error in log like this
ERROR: opening '/var/www/htdocs/cacti/rra/realtmp/realtime_446_5.rrd': Permission denied
if change the mod file

Code: Select all

chmod a+rwx *
and give reload image
the image it show ,but only to the point when realtime rewrite the rrd
Cacti - 0.8.7h
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
  • (tools - v0.3) (Thold - v0.4.6) (Ntop - v0.2) (Discovery - v1.2a) (Monitor - v1.2)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Realtime Graph not working.

Post by TheWitness »

Grab the latest SVN, there was a problem with permissions on the last release. I'll release a new version to correct this for more 'public' consumption shortly.
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
dragossto
Cacti User
Posts: 86
Joined: Tue May 15, 2007 5:24 am
Location: Romania
Contact:

Re: Realtime Graph not working.

Post by dragossto »

tested
and with revision 1907 it work
without any error
Cacti - 0.8.7h
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
  • (tools - v0.3) (Thold - v0.4.6) (Ntop - v0.2) (Discovery - v1.2a) (Monitor - v1.2)
russian.qwerty
Posts: 12
Joined: Wed Nov 25, 2009 9:08 am

Re: Realtime Graph not working.

Post by russian.qwerty »

Checked with revision 1928.

Note that you MUST have $url_path variable in /var/www/html/cacti/include/config.php.

Pay your attention that in cacti-plugin-0.8.7h-PA-v3.0.tar.gz there is only config.php.dist, so you should copy config.php.dist to config.php.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest