Realtime 0.36 - Released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

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

Realtime 0.36 - Released

Post by TheWitness »

All,

Please find attached the latest version of Realtime. This version has just a few nice fixes.
-feature: make compatible with PIA2.x
-feature: make the plugin auto upgrade
-bug: increate window size by 10 pixels
Enjoy!!

TheWitness
Attachments
realtime-0.36-1.tar.gz
(36.42 KiB) Downloaded 2265 times
Last edited by TheWitness on Tue Mar 17, 2009 2:27 pm, edited 1 time in total.
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?
metal_icer
Posts: 5
Joined: Fri Jul 25, 2008 1:41 am

Post by metal_icer »

Great job, works right out of the box!

Thank You, TheWitness!
Cacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - Cactid v
Server Info - FreeBSD 7.0-RELEASE
Web Server - Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.5 with Suhosin-Patch
PHP - 5.2.5
PHP Extensions - session, Reflection, date, libxml, apache2handler, bz2, ctype, pcre, SimpleXML, SPL, dom, fileinfo, filter, ftp, hash, iconv, json, PDO, pdo_sqlite, posix, standard, SQLite, tokenizer, xml, xmlreader, xmlwriter, gd, openssl, pdf, zlib, mcrypt, mbstring, mysqli, mysql, sockets, snmp, gettext, sysvsem, sysvshm
MySQL - 5.1.24-rc
RRDTool - 1.3.5
SNMP - 5.4.1
Plugins
  • Poller Performance Report (pollperf - v0.1)
    RRD File Cleaner (RRD Cleaner - v0.36)
    Host Info (hostinfo - v0.2)
    Large Site Performane Booster for Cacti (boost - v2.1)
    Update Checker (update - v0.4)
    Cacti Log View (CLog - v1.1)
    Thresholds (thold - v0.4)
    Global Plugin Settings (settings - v0.5)
    Realtime Graph Viewer (realtime - v0.36)
whizzer929
Posts: 5
Joined: Fri Feb 27, 2009 2:12 pm

Post by whizzer929 »

I don't get the Misc tab in Settings with this version. Ver 34 mostly worked, but I could never get past a permissions problem, but the Misc tab and realtime icon appeared.

Cacti Version 0.8.7d
Cacti OS unix - Fedora 10
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.2.x
PHP Version 5.2.6
MySQL Version 5.0.67
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

whizzer929 wrote:I don't get the Misc tab in Settings with this version. Ver 34 mostly worked, but I could never get past a permissions problem, but the Misc tab and realtime icon appeared.

Cacti Version 0.8.7d
Cacti OS unix - Fedora 10
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.2.x
PHP Version 5.2.6
MySQL Version 5.0.67
Insure Realtime is not in global.php and make sure you also "Install" and "Enable" the plugin.

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?
zeki
Cacti User
Posts: 92
Joined: Fri Feb 09, 2007 10:55 pm
Location: So. Cal
Contact:

Post by zeki »

am i the only one that can't get this to work? I get the popup and it counts down but I see no graph.
http://www.krypt.com/
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

More than likely. Check your apache error_log for the obvious.

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?
zeki
Cacti User
Posts: 92
Joined: Fri Feb 09, 2007 10:55 pm
Location: So. Cal
Contact:

Post by zeki »

libpng error: Write Error
http://www.krypt.com/
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Sounds like Apache does not have rwx to the Realtime Cache directory as it should.

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?
zeki
Cacti User
Posts: 92
Joined: Fri Feb 09, 2007 10:55 pm
Location: So. Cal
Contact:

Post by zeki »

I do believe it has permissions because there are rrd files in the folder being created.
http://www.krypt.com/
zeki
Cacti User
Posts: 92
Joined: Fri Feb 09, 2007 10:55 pm
Location: So. Cal
Contact:

Post by zeki »

i set the interval to 1minute and it loaded. I guess its not generating the graph quick enough.
http://www.krypt.com/
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Be carefull with rrdtool 1.3.x. Depending on library versions, RRDTool 1.3.x can be a dog. Real cpu hog and slow.

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?
T006
Posts: 3
Joined: Wed Jun 02, 2004 6:32 am
Contact:

Post by T006 »

I use graphs with Opacity / Alpha Channel (10%). The graphs generated with realtime doesn't use this settings so the graphs looks different.

someone any idea?

[edit]

Already fixed in a new graph_image_rt.zip
http://forums.cacti.net/post-157602.html

[/edit]
User avatar
CarLost
Posts: 23
Joined: Tue Oct 16, 2007 2:10 pm

Post by CarLost »

SOLVE SOLVE SOLVE !!!!! look botom



Hi Witness, I've a problem.. this is my first attempt to use a plugin and don't know if I need another requisite.... I have the PA already instaled..


So, the realtime plugin are nor creating any rrd file.-

The folders are ok (permissions and path)

but I get this errors in teh logs:

Code: Select all

ERROR: opening '/home/httpd/html/cacti2/rra/rt/realtime_1143_5.rrd': No such file or directory
PS: put the full path just in case because the others don't work too.

Thanks

EDIT: another thing I get this error on cacti.log

Code: Select all

03/24/2009 08:49:52 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1267', SQL:"SELECT  poller_output_rt.output,  poller_output_rt.time,  poller_output_rt.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  FROM (poller_output_rt,poller_item)  WHERE (poller_output_rt.local_data_id=poller_item.local_data_id  AND poller_output_rt.rrd_name=poller_item.rrd_name)  AND poller_output_rt.poller_id = 62729"
so, seems to be a sql problem (I import already the realtime.sql into the base)

mysql Ver 14.12 Distrib 5.0.75, for pc-linux-gnu (i686) using readline 5.2

___________________________
Solve

Was a little tricky but I made it work;
The problem is when the database was created.... the collate was worng.. don't know why...
On mysql:

Code: Select all

show table status ;
| Name                      | Engine | .... | Collation         | .... etc
| poller_output             | MyISAM | .... | latin1_general_ci | ... 
| poller_output_rt          | MyISAM | .... | latin1_swedish_ci | ...
| poller_reindex            | MyISAM | .... | latin1_general_ci | ...     
To solve it I was to alter the table poller_output_rt

Code: Select all

mysql> alter table poller_output_rt CONVERT TO CHARACTER SET latin1 collate latin1_general_ci ;
And then it WORK!!!!

Thanks anyway I hope this will be useful to someone else;
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Very interesting.

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?
llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Post by llow »

Here is a patch that will fix problems when using rrd-1.3.x. All the patch does is use rrd-1.2.x format options for anything not rrd-1.0.x
Attachments
realtime-0.36-1.rrdtool3.patch
(4.92 KiB) Downloaded 740 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests