Realtime Graph not working.
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Realtime Graph not working.
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?
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?
Re: Realtime Graph not working.
Hi Witness,TheWitness wrote:This requires PHP5. Make sure you are running that version.
Yes,i installed php 5
"PHP 5.2.5 "
Do you have other suggestions?
Thanks,
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Realtime Graph not working.
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?
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?
Re: Realtime Graph not working.
Could you pl share the svn address?TheWitness wrote:If the svn version does not work, I don't know what to tell you.
I ever download realtime from"http://docs.cacti.net/plugin:realtime#realtime"
Re: Realtime Graph not working.
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".coldface wrote:Could you pl share the svn address?TheWitness wrote:If the svn version does not work, I don't know what to tell you.
I ever download realtime from"http://docs.cacti.net/plugin:realtime#realtime"
So i cp the file(libmysqlclient.so.15)in mysql/lib to /usr/lib and it works fine now.
Thanks,
Re: Realtime Graph not working.
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 and give reload image
the image it show ,but only to the point when realtime rewrite the rrd
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
if change the mod fileERROR: opening '/var/www/htdocs/cacti/rra/realtmp/realtime_446_5.rrd': Permission denied
Code: Select all
chmod a+rwx *
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
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)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Realtime Graph not working.
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?
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?
Re: Realtime Graph not working.
tested
and with revision 1907 it work
without any error
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
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)
-
- Posts: 12
- Joined: Wed Nov 25, 2009 9:08 am
Re: Realtime Graph not working.
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest