ReportIt v0.5.1 and Cacti 0.8.7

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

ReportIt v0.5.1 and Cacti 0.8.7

Post by browniebraun »

FYI!
Version 0.5.1 of ReportIt works with Cacti 0.8.7 without any changes. :wink:

It's a pity that the developers changed the default width of all tables. :(
IMO the old setting (98% relative) looks better.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The top header was modified to include a bounding box on the left and right that even though the table is at 100% there is a roughly 1% boarder on all sides. Are you not experiencing this? Post a screen shot. I tested it on 5 different browsers and it worked on all.

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?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Actually, the front end works fine, but I committed a patch for the back end of reportit to fix an issue with 0.8.7.

Index: runtime.php
===================================================================
--- runtime.php (revision 124)
+++ runtime.php (revision 125)
@@ -39,7 +39,11 @@
$path = dirname(__FILE__);
chdir($path);
chdir('../../');
- include_once('./include/config.php');
+ if (file_exists('./include/global.php')) {
+ include_once('./include/global.php');
+ } else {
+ include_once('./include/config.php');
+ }
include_once($config["base_path"] . '/plugins/reportit/setup.php');
include_once($config["base_path"] . '/plugins/reportit/lib_int/funct_shared.php');
include_once($config["base_path"] . '/plugins/reportit/lib_int/const_runtime.php');
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Hi Jimmy!
Okay it's early in the morning and maybe I need a coffee first :D , but it seems to me that you've patched v0.4.2 and not the current release.

The v0.5.1 contains these fixes. I wrote them during the development of 0.8.6k.(Before it has been called 0.8.7 :wink: )

Code: Select all

        $path = dirname(__FILE__);
        chdir($path);
        chdir('../../');

        /* Try to support 0.8.7 and lower versions as well*/
        if(is_file('./include/global.php')) include_once('./include/global.php');
        else include_once('./include/config.php');

        include_once($config["base_path"] . '/plugins/reportit/setup.php');
      
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

browniebraun wrote:Hi Jimmy!
Okay it's early in the morning and maybe I need a coffee first :D , but it seems to me that you've patched v0.4.2 and not the current release.

The v0.5.1 contains these fixes. I wrote them during the development of 0.8.6k.(Before it has been called 0.8.7 :wink: )
Hum... I patched what was in the cacti plugins SVN, didn't know you were not the one updating the svn copy, or why its even there if you are not.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Hi Jimmy!
I got no write access, so that I'm not able to update it. After a discussion with Reinhard 2 months ago we decided to move ReportIt to Sourceforge, because it is not really practicable for me without the right permissions. If I remember correctly Reinhard wanted to update it with every release, but it seems that he forgot it. I'm really sorry.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Oh, that's all my fault. Apologies. Will have to keep two different SVNs up to date. My bad
Reinhard
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You should have that access IMHO. Did you want it?

Larry
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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I indeed have access both to the sourceforge SVN or Reportit and the Cacti SVN. See, we are running two SVNs in parallel, because browniebraun does not have access to the cacti one.
So I have to fetch the sourceforge one and to commit it to the cacti svn. That's what I've missed in the past few weeks. I'm currently working on it
Reinhard
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Struggeling with Eclipse and SVN for a while :roll: ...
Should not be fixed even in cacti plugin SVN.
But we really need some other method. svnsync will not be the solution, I suppose. And as browniebraun is the primary developer of this plugin, it's not nice for me to replicate all updates manually to cacti svn, even if only required on a new version release.
Ideas? Warehouse? Repository???
It surely has no pressure on it; lets fix 087 stuff first
Reinhard
Last edited by gandalf on Sat Oct 27, 2007 11:43 am, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Just curious... why does it need to be in the cacti svn at all, if that's not where the primary developer is working? It's not code that's delivered as part of Cacti itself, after all.
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!)
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It make no difference to me.... Just thought I would offer it up.

Larry
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?
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Larry,
I would appreciate it to have these rights, but IMO this has to be a decision of all the main developers too.
BTW I agree with Reinhard that 0.8.7 should have the highest priority at the moment.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Agreed. Three patches and counting :cry: :cry:

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?
User avatar
sizulku
Cacti User
Posts: 110
Joined: Mon Nov 04, 2002 9:15 am
Location: ACEH
Contact:

Post by sizulku »

TheWitness,

where is the place you publish the patches? I can't find it on cacti official patches website (http://www.cacti.net/download_patches.php)

Zul
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests