Realtime 0.36 - Released
Moderators: Developers, Moderators
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
Went back to 3.6 and did RCK's fix and it is working again.
Also, this is not new by the way, but annoying never the less...
In firefox under ubuntu when I go to realtime, it open in a new tab rather than window which is fine, but it then proceeds to resize my entire working window of firefox and continues to redo so every time it refreshes.
Is there a quick and dirty trick to stop any resizing from happening...?
Thanks,
Aaron.
Also, this is not new by the way, but annoying never the less...
In firefox under ubuntu when I go to realtime, it open in a new tab rather than window which is fine, but it then proceeds to resize my entire working window of firefox and continues to redo so every time it refreshes.
Is there a quick and dirty trick to stop any resizing from happening...?
Thanks,
Aaron.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
With F you have to use 0.41. Not sure about this resize bug I am seeing.alex_lavrus wrote:Hi all!
Plugin "realtime" do not work on my server
I get the following in apache log:
Cache directory: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
When i run php5 command manually the result is same:Code: Select all
drwxrwxrwx 2 root root 4096 2010-05-21 15:54 /srv/www/htdocs/cache/
My system configuration: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
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I just installed it earlier today and did not have an issue. Provide some version/config/browser details. It's almost as if your browser is having issues with the callback.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Make sure you report the bug to Mozilla.
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?
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
lucky man - I cannot see this icon any more!aaronnicoli wrote:Hehe I just updated... 0.41 that is
Now I just get this where the image should be:
/cacti/plugins/realtime/graph_image_rt.php?graph_start=-300&graph_end=0&local_graph_id=1057&ds_step=10&count=0&timetweak=1275866632
I checked also the permission page: no plugin Realtime there.
It is enabled but nowhere visible.
On my test-cacti I deinstalled and reinstalled the plugin. Now I can see it again on the permission page.
BUT: - do I have really to reinstall this and give 50 users again the permissions?
Torsten
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It's a bit of a defect . So, there is a utility in the extra's folder of the latest thold that will re-apply a realm for all the users. Give it a look-see, make a few edits, and you will be back in business. Sorry about that. There were several plugins that have collided with one another in the past that make the move to the new realm setup pretty important.
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?
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
I searched for all realm ID in the plugin directory and found many plugins that uses hardcoded low-ids (< 100).
Should I change all by hands and the IDs in the setup.php-files, too?
realm = 87 -> change to 181 in db and in setup.php
weathermap = 43 -> change?
rrdclean = 36 -> also change?
hostinfo=69
configmanager=70
....
Is there a difference between old-pia and new-pia realms?
Should I change all by hands and the IDs in the setup.php-files, too?
realm = 87 -> change to 181 in db and in setup.php
weathermap = 43 -> change?
rrdclean = 36 -> also change?
hostinfo=69
configmanager=70
....
Is there a difference between old-pia and new-pia realms?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
New PIA realms are assigned automatically starting at 100 and going up from there. When I converted some of the plugins from 1.x to 2.x, I added the new realm and then for each user switched to the new realm ID. Obviously there has been some overlap, and or errors.
So, if you are going to use static realms, they need to be high. However, I would not change the original authors code, but rather commit patches to the author. Those patches should use the PIA upgrade procedure to permanently assign the correct realms.
Otherwise, you are going to have a mess on your hands long term.
TheWitness
So, if you are going to use static realms, they need to be high. However, I would not change the original authors code, but rather commit patches to the author. Those patches should use the PIA upgrade procedure to permanently assign the correct realms.
Otherwise, you are going to have a mess on your hands long term.
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?
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
ok - done: deinstalled and installed it again, enabled it;permissions granted -> icon to get intothe plugin is visible.
but image is broken:
but image is broken:
Code: Select all
<div id="image">
<img id="realtime" src="%3Cbr%20/%3E%0A%3Cb%3ENotice%3C/b%3E:%20%20Undefined%20index:%20%20sess_realtime_ds_step%20in%20%3Cb%3E/var/www/cacti/plugins/realtime/graph_ajax_rt.php%3C/b%3E%20on%20line%20%3Cb%3E130%3C/b%3E%3Cbr%20/%3E%0A%3Cbr%20/%3E%0A%3Cb%3ENotice%3C/b%3E:%20%20Undefined%20index:%20%20sess_realtime_graph_start%20in%20%3Cb%3E/var/www/cacti/plugins/realtime/graph_ajax_rt.php%3C/b%3E%20on%20line%20%3Cb%3E130%3C/b%3E%3Cbr%20/%3E%0A/cacti/plugins/realtime/graph_image_rt.php?graph_start=-120&graph_end=0&local_graph_id=7&ds_step=10&count=0&timetweak=1281102268" align="center">
</div>
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Turn off "display_warnings" in php.ini and then restart apache. You might want to look into svn trunk too. Test that first.
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?
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
svn - nice hint - but I cannot find any link on the cacti/plugin-siteTheWitness wrote:Turn off "display_warnings" in php.ini and then restart apache. You might want to look into svn trunk too. Test that first.
TheWitness
(link to the html-site via http is also needed as I have problems with the svn and proxy)
Torsten
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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?
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
thanks - found the file graph_ajax_rt.php and changed it:TheWitness wrote:http://svn.cacti.net/viewvc/?root=Plugins
Code: Select all
diff new graph_ajax_rt.php
130c130
< echo $source . "!!!" . (isset($_SESSION["sess_realtime_ds_step"]) ? $_SESSION["sess_realtime_ds_step"]:$graph_data_array["ds_step"]) . "!!!" . (isset($_SESSION["sess_realtime_graph_start"]) ? $_SESSION["sess_realtime_graph_start"]:$graph_data_array["graph_start"]) . "!!!" . $sync;
---
> echo $source . "!!!" . $_SESSION["sess_realtime_ds_step"] . "!!!" . $_SESSION["sess_realtime_graph_start"] . "!!!" . $sync;
133d132
<
Who is online
Users browsing this forum: No registered users and 0 guests