Realtime 0.36 - Released
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Read my tagline. Don't give up though...
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?
-
- Posts: 2
- Joined: Sun Jun 21, 2009 9:29 pm
Hi all!
Plugin "realtime" do not work on my server
I get the following in apache log:
Cache directory:
When i run php5 command manually the result is same:
My system configuration:
realtime version: 0.4 (i was tried install version 0.36, result same)
Cacti Version 0.8.7f
OS SLES-11 (x86_64)
rrdtool-1.3.4-2.8
poller: spine-0.8.7e
PHP Version 5.2.6
Apache/2.2.10
Plugin Architecture: 2.7
Plugin "realtime" do not work on my server
I get the following in apache log:
Code: Select all
PHP Fatal error: Cannot pass parameter 3 by reference in /srv/www/htdocs/cacti/plugins/realtime/poller_rt.php on line 184
ERROR: opening '/srv/www/htdocs/cache/realtime_147_5.rrd': No such file or directory
Code: Select all
drwxrwxrwx 2 root root 4096 2010-05-21 15:54 /srv/www/htdocs/cache/
Code: Select all
lav@nnm-ext:/srv/www/htdocs/cacti> sudo php5 plugins/realtime/poller_rt.php --graph=634 --interval=15
root's password:
PHP Fatal error: Cannot pass parameter 3 by reference in /srv/www/htdocs/cacti/plugins/realtime/poller_rt.php on line 184
realtime version: 0.4 (i was tried install version 0.36, result same)
Cacti Version 0.8.7f
OS SLES-11 (x86_64)
rrdtool-1.3.4-2.8
poller: spine-0.8.7e
PHP Version 5.2.6
Apache/2.2.10
Plugin Architecture: 2.7
- Attachments
-
- realtime.JPG (18 KiB) Viewed 5687 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
oops. need a new release for f. It's a simple fix. For every rrdtoo_* command, you need to place an "@" in front of it. Do that and test.
TheWitness
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?
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?
-
- Posts: 2
- Joined: Sun Jun 21, 2009 9:29 pm
Thak you for reply.
I placed "@" sign before "rrdtool_function_create" function in file poller_rt.php but that does not work.
Could you please give me an example for correct syntax?
I placed "@" sign before "rrdtool_function_create" function in file poller_rt.php but that does not work.
Code: Select all
/* create rt rrd */
if (!file_exists($rt_graph_path)) {
/* get the syntax */
$command = @rrdtool_function_create($item['local_data_id'], true, array());
/* replace path */
$command = str_replace($data_source_path, $rt_graph_path, $command);
/* replace step */
$command = preg_replace('/--step\s(\d+)/', '--step ' . $interval, $command);
/* WIN32: before sending this command off to rrdtool, get rid
of all of the '\' characters. Unix does not care; win32 does.
Also make sure to replace all of the fancy \'s at the end of the line,
but make sure not to get rid of the "\n"'s that are supposed to be
in there (text format) */
$command = str_replace("\\\n", " ", $command);
/* create the rrdfile */
shell_exec($command);
}
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yea, sorry. Can you pull the trunk version in about 15 minutes and test. Provide feedback. We'll be releasing a slue of plugins this week for compatibility.
TheWitness
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?
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?
-
- Posts: 2
- Joined: Sat Sep 19, 2009 10:19 pm
- Location: Guatemala
Realtime plugin Fixed!!! with rev 955
Thanks the Witness, the trunk worked just fine, I had the same problem informed above.
keep it up.
keep it up.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Thanks!
TheWitness
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?
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?
Solved RDDTool 1.3.x - Cacti 0.8.7f - Realtime
I have found an error when i upgrade cacti 0.8.7e to 0.8.7f : the image doesn't load
On the file poller_rt.php on line 184
Just replace "array()" by "$emptyvar"
Like that :
And realtime load image correctly...
I think it's a problem with new RRDtool syntax.
Code: Select all
Fatal error: Cannot pass parameter 3 by reference in /var/www/cacti-0.8.7f/plugins/realtime/poller_rt.php on line 184
On the file poller_rt.php on line 184
Code: Select all
$command = rrdtool_function_create($item['local_data_id'], true,array());
Like that :
Code: Select all
$command = rrdtool_function_create($item['local_data_id'], true,$emptyvar);
I think it's a problem with new RRDtool syntax.
Cacti: 0.8.7g | Spine: 0.8.7g
Plugins: RRDclean - Weathermap - Thold - Realtime
My Template: ApacheStats 0.8.2 (multiple RRD, Low disk usage, Script Server)
Plugins: RRDclean - Weathermap - Thold - Realtime
My Template: ApacheStats 0.8.2 (multiple RRD, Low disk usage, Script Server)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
0.41 is tagged in svn. It'll be announced soon.
TheWitness
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?
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?
realtime plugin does not work correctly
Hello @all,
we've some graphs with comments in the graph template e.g.
COMMENT: Total In: |sum:auto:current:2:auto|
COMMENT: Total Out: |sum:auto:current:2:auto|
COMMENT: Description: |query_ifAlias|
If any of those comments is in the template realtime plugin produces errors like:
Is there a way to fix that?
Regards,
dbee
we've some graphs with comments in the graph template e.g.
COMMENT: Total In: |sum:auto:current:2:auto|
COMMENT: Total Out: |sum:auto:current:2:auto|
COMMENT: Description: |query_ifAlias|
If any of those comments is in the template realtime plugin produces errors like:
Code: Select all
ERROR: I don't understand ': 0 bytes\n' in command: 'COMMENT:Total In: 0 bytes\n'.
ERROR: I don't understand ': to OSC West\n' in command: 'COMMENT:Description: to OSC West\n'.
Regards,
dbee
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Are you using 0.41?
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?
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
Who is online
Users browsing this forum: No registered users and 0 guests