'ReportIt' -> v0.7.5a (released 23/12/11)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
donskidot
Posts: 1
Joined: Wed Aug 11, 2010 6:24 pm
Location: Philippines
Contact:

Reportit Missing Data Source

Post by donskidot »

Hello browniebraun. i have problem installing reportit on my cacti monitoring. btw let me tell you my current setup. i have a single server with multiple mysql running to monitor the utilization of our subscribers. the problem is that when creating a new report template the data source for traffic and traffic out is missing. i hope you can give me the idea if there something wrong with my configuration.
See the attached file.

Thank you for your usual support! mabuhay!
Attachments
reportit_1.jpg
reportit_1.jpg (141.11 KiB) Viewed 5881 times
reportit_2.jpg
reportit_2.jpg (96.35 KiB) Viewed 5881 times
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

ReportIt automatically generates the list of data source items in relation to the data template. In that case I would check the data template first. Edit that data template and search both data source items. Probably you have made a duplicate of that data template where these items are missing. At last take a look at the Cacti log and search for SQL-Errors.

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
henrys
Posts: 7
Joined: Wed Dec 09, 2009 1:18 pm

Post by henrys »

Not sure if this is a bug or some config problem. I upgraded from 7.1 to 7.2. Now my exported reports fail when measurands are set to prefix (binary or decimal). However, normal html reports were fine. When I ran the cron job by hand I noticed the following warning:

PHP Warning: Division by zero in /usr/local/cacti-0.8.7e/plugins/reportit/lib_int/funct_shared.php on line 384

After extensive investigating the I found the "pre" variable was not set in "func_shared.php". I added:

include_once(REPORTIT_BASE_PATH . '/lib_int/const_view.php');

to the top of func_shared.php and the problem was fixed...
cabana281
Posts: 8
Joined: Mon Jul 27, 2009 3:02 pm
Location: Quebec

exports

Post by cabana281 »

edit: after following henrys's instructions, it seems like everything work fine for me too.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

henrys wrote:Not sure if this is a bug or some config problem. I upgraded from 7.1 to 7.2. Now my exported reports fail when measurands are set to prefix (binary or decimal). However, normal html reports were fine. When I ran the cron job by hand I noticed the following warning:

PHP Warning: Division by zero in /usr/local/cacti-0.8.7e/plugins/reportit/lib_int/funct_shared.php on line 384

After extensive investigating the I found the "pre" variable was not set in "func_shared.php". I added:

include_once(REPORTIT_BASE_PATH . '/lib_int/const_view.php');

to the top of func_shared.php and the problem was fixed...

Yes, that's a workaround. The official solution can be found here:
http://svn.cacti.net/viewvc/reportit/branch/0.7.x/lib_int/funct_shared.php?r1=1084&r2=1083&pathrev=1084&root=Plugins&view=patch

I'm really sorry, because I found and fixed that issue in the SVN some time ago without posting a note.

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
ben_l
Posts: 2
Joined: Tue Nov 16, 2010 1:02 pm

Re: 'ReportIt' -> v0.7.2 (released 10/06/10)

Post by ben_l »

I (think) I have reportit installed, yet I'm not seeing the Reports tab or any of the options to configure reports on the Console tab. Any suggestions?
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: 'ReportIt' -> v0.7.2 (released 10/06/10)

Post by browniebraun »

ben_l wrote:I (think) I have reportit installed, yet I'm not seeing the Reports tab or any of the options to configure reports on the Console tab. Any suggestions?
Ben,
I assume that you can see ReportIt in the Plugin Management console.
If that is the case then check the realm permissions of your account please.

Best regards
-Andras-
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
ben_l
Posts: 2
Joined: Tue Nov 16, 2010 1:02 pm

Re: 'ReportIt' -> v0.7.2 (released 10/06/10)

Post by ben_l »

That was it! Thanks.
great__F
Posts: 43
Joined: Mon May 17, 2010 2:41 am

Re: 'ReportIt' -> v0.7.3 (released 28/11/10)

Post by great__F »

Hello together,

i have a problem. I installed report IT plugin on cacti Version 0.8.7h.

When i will create a Measurand i get an error at the unit.
Which units are aviable? %?

Thanks
Attachments
13.12.png
13.12.png (9.22 KiB) Viewed 5072 times
great__F
Posts: 43
Joined: Mon May 17, 2010 2:41 am

Re: 'ReportIt' -> v0.7.3 (released 28/11/10)

Post by great__F »

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

Re: 'ReportIt' -> v0.7.3 (released 28/11/10)

Post by browniebraun »

You should to keep in mind, that this plugin is for free and that people sometimes have a lot of trouble and a bunch of other projects to handle beside a single topic!!! :-?
I did all this things for free and I am really sorry that I wasn't able to pay ReportIt enough attention during the last months.
Download 0.75a from the SVN or patch your version like described some pages before. I haven't had the time to release 0.75a so far.

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
mikecarel
Cacti User
Posts: 68
Joined: Thu Jun 03, 2010 10:00 pm

Re: 'ReportIt' -> v0.7.5a (released 23/12/11)

Post by mikecarel »

Hi Browniebraun,

I'm having problem using Reportit-0.7.6 when the selected data items is a member of an aggregated graphs. This is similar to what i've posted in http://forums.cacti.net/viewtopic.php?f=17&t=41024 . If the selected data items is a member of an aggregated graph, it defaults to the aggregated graphs. The calculation will be incorrect since it refers to an aggregated rrd graphs.

Hope you can help me on this.

Thanks,

Mike
mikecarel
Cacti User
Posts: 68
Joined: Thu Jun 03, 2010 10:00 pm

Re: 'ReportIt' -> v0.7.5a (released 23/12/11)

Post by mikecarel »

sorry the calculation was correct, the problem is just in show_graph_overview, need to refine sql query when having aggregate. Just change show_graph_overview query under cc_view.php

$sql = "SELECT DISTINCT c.local_graph_id
FROM data_template_data AS a
INNER JOIN data_template_rrd AS b
ON b.local_data_id = a.local_data_id
INNER JOIN graph_templates_item AS c
ON c.task_item_id = b.id
WHERE a.local_data_id = {$_GET['rrd']} order by c.local_graph_id ASC limit 1";


Mike
surajitpal2007
Posts: 35
Joined: Tue Feb 15, 2011 4:51 am

Re: 'ReportIt' -> v0.7.5a (released 23/12/11)

Post by surajitpal2007 »

Does not open any hyperlink..... Any reason??????
browniebraun wrote:ReportIt

Hi Cacti community!
To give you a better overview I decided to put all information and download links together.
Questions, feedback and improvements under Plugin General !
  • Developers:___________________________
    • Andreas Braun
      Reinhard Scheck
    ________________________________________
  • Requirements:_________________________
    • Windows or Unix/Linux
      Plugin Architecture 1.0 or higher
    ________________________________________
Best regards
-Andreas-
surajitpal2007
Posts: 35
Joined: Tue Feb 15, 2011 4:51 am

Re: 'ReportIt' -> v0.7.5a (released 23/12/11)

Post by surajitpal2007 »

browniebraun wrote:ReportIt

Hi Cacti community!
To give you a better overview I decided to put all information and download links together.
Questions, feedback and improvements under Plugin General !
  • Developers:___________________________
    • Andreas Braun
      Reinhard Scheck
    ________________________________________
  • Requirements:_________________________
    • Windows or Unix/Linux
      Plugin Architecture 1.0 or higher
    ________________________________________
Best regards
-Andreas-
RRDtool PHP bindings (Windows only) - This always comes with Firewall block. Hence, it is not accessible.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests