Realtime (graph), v0.33
Moderators: Developers, Moderators
I changed it to:TheWitness wrote:It's the status bar. The differences between IE and everyone else drive me absolutely nuts. I think I detected the browser version and changed the size of the window depending on it. You need to look at that JS code and simply enlarge the palying field a little more.dononeil wrote:I'm running realtime v.35 (from the SVN on 8/15/08, the last time I updated it) and it's working great EXCEPT that my graphs are being cut off on the bottom (see attached).
Any way to fix this so it scales the window correctly? Seems like it's always cutting off 50 pixels or so.
This is with IE7. Mozilla doesn't seem to have this problem.
TheWitness
if (browser == "IE") {
window.resizeTo(width+20, height+150)
and it works great... might want to wrap this into the next version.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
ICMP will not work as Apache, but TCP/UDP should work just fine. However, with Cacti 0.8.8, I am attempting to have better ICMP ping support for the end user. Don't know if it's backported though.dononeil wrote:Is there any way to get this plugin to work with Advanced Ping and other php based scripts? When I try to pull up the graph in real time on Advanced Ping it always shows the same value.
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?
I have same problemapereira wrote:I have some problem that many here...
All plugins has been installed and all path are correct... but there are no graph being made....
What can I do? I'm newbie with Cacti...
Thx
Anderson.
Code: Select all
drwxrwxrwx 2 www-data www-data 4096 2008-11-06 18:10 rcache
-rw-r--r-- 1 root root 71 2008-02-12 02:57 README
-rw-r--r-- 1 root root 1291 2008-04-10 02:44 reset_each_patch.patch
drwxr-xr-x 5 root root 4096 2008-02-12 02:57 resource
drwxr-xr-x 2 www-data www-data 4096 2008-11-05 15:15 rra
chown www-data:www-data rcache/
Same problem as mentioned above:
Apache reporting:
Permissions:
Path also set under misc:
Apache reporting:
Code: Select all
ERROR: opening '/usr/share/cacti/site/rcache/realtime_121_5.rrd': No such file or directory
Code: Select all
drwxrwxrwx 2 www-data root 4096 2008-11-11 09:11 rcache
Thanks!Cacti Version - 0.8.7b
Plugin Architecture - 2.1
Poller Type - Cactid v
Server Info - Linux 2.6.24-19-server
Web Server - Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch
PHP - 5.2.4-2ubuntu5.3
PHP Extensions - zip, xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, snmp
MySQL - 5.0.51a-3ubuntu5.1
RRDTool - 1.2.19
SNMP - 5.4.1
Plugins
- Read-only Devices Tab (devices - v0.4)
Host Info (hostinfo - v0.2)
logininfo
Login Page Mod (loginmod - v1.0)
Device Monitoring (monitor - v0.8.2)
Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Network Tools (tools - v0.3)
Realtime for Cacti (realtime - v0.34)
- Attachments
-
- cacti.PNG (16.13 KiB) Viewed 10426 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I've been playing a little with Realtime this morning, and I got a bit further than before. I found that in the graph_ajax_rt.php, there's a chdir('../..') and then *again* in poller_rt.php there's another one, which made all the relative paths wrong. So none of the includes at the top worked, and everything else just complained about missing functions.
I commented out the chdir() in poller_rt.php, and changed the includes to requires, since the whole thing dies otherwise. Now the poller_rt.php runs without errors, but I still don't get any graphs, or anything created in the imagecache directory.
Any ideas for where to look next?
I commented out the chdir() in poller_rt.php, and changed the includes to requires, since the whole thing dies otherwise. Now the poller_rt.php runs without errors, but I still don't get any graphs, or anything created in the imagecache directory.
Any ideas for where to look next?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Couple ideas/fixes:
1) Seperate out the rrd refresh from the graph refresh. This would make it flow much nicer.
2) The browser window should resize based on the image size.
I'm going to toss this tool out to some of the network operations people to get their feedback and I'll see if I can make some useful patches.
1) Seperate out the rrd refresh from the graph refresh. This would make it flow much nicer.
2) The browser window should resize based on the image size.
I'm going to toss this tool out to some of the network operations people to get their feedback and I'll see if I can make some useful patches.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Thanks llow, the cmd_rt.php change got me going. That's much better!
All that's needed now is something to resize the window correctly, as you say.
All that's needed now is something to resize the window correctly, as you say.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
The image resize stuff is there but the values are wrong (at least for me in both IE and Firefox).
In realtime.js change
to
In realtime.js change
Code: Select all
if (browser == "IE") {
window.resizeTo(width+25, height+108)
}else{
window.resizeTo(width+25, height+128)
}
Code: Select all
if (browser == "IE") {
window.resizeTo(width+25, height+128)
}else{
window.resizeTo(width+25, height+158)
}
Some graphs require a larger timeframe to load. Try 10, 15, 30 seconds instead of 5.siouxee wrote:OK, I've finally gotten this plugin to generate the RRD file in the cache folder, but no graphs are being displayed in the pop-up window. The 5-second countdown bar just keeps cycling (no red X / broken image icon either).
Any suggestions? Running 0.8.7b on Win2k3 w/ IIS6.
- 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?
Who is online
Users browsing this forum: No registered users and 0 guests