Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Report plugin ''ReportIt" - v0.6.1 (released 05/29/08)
Goto page Previous  1, 2, 3 ... 26, 27, 28, 29, 30  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
Jem



Joined: 12 Apr 2005
Posts: 22

PostPosted: Wed Aug 20, 2008 8:36 am    Post subject: Reply with quote

Thanks and sorry for the stupid question
Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 333
Location: Cologne, Germany

PostPosted: Wed Aug 20, 2008 9:47 am    Post subject: Reply with quote

No, it wasn't a stupid question!

Best regards
-Andreas-
Back to top
Toons59



Joined: 17 Jun 2008
Posts: 6

PostPosted: Thu Aug 21, 2008 8:37 am    Post subject: Reply with quote

Hi,

How can I find which Architecture plugin version I'm using ?
I'm trying to install "Reportit plugin" but I'm totally lost in the different steps.
I'm using the latest version of cacti. Should have I to upgrade Architecture plugin before, or is the Architecture plugin already up to date ?

Thanks (and sorry for my poor english writing )
Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 333
Location: Cologne, Germany

PostPosted: Thu Aug 21, 2008 10:26 am    Post subject: Reply with quote

Toons59 wrote:
Hi,

How can I find which Architecture plugin version I'm using ?
I'm trying to install "Reportit plugin" but I'm totally lost in the different steps.
I'm using the latest version of cacti. Should have I to upgrade Architecture plugin before, or is the Architecture plugin already up to date ?

Thanks (and sorry for my poor english writing )


Mmmh. I always wonder which version of the PIA belongs to which version of older releases like 0.8.6i, so you're not the only one.
If you're using Cacti 0.8.7b you should use PIA 2.1 or 2.2beta.
Where did you loose the thread?

Best regards
-Andreas-
Back to top
Toons59



Joined: 17 Jun 2008
Posts: 6

PostPosted: Fri Aug 22, 2008 2:47 am    Post subject: Reply with quote

Firstly, I didn't have a plugins subfolder in my cacti folder (It's why I'm wondering which is my PIA version). So I created it and unzip the archive on it (C:\Inetpub\wwwroot\cacti\plugins\reportit).
After, when I take a look at my global.php file, there's not a section relating to plugins (unlike to the global.php file in the last PIA version).

Quote:
$plugins = array();
//$plugins[] = 'thold';


So, I added this in my global.php file:

Quote:
$plugins = array();
$plugins[] = 'Reportit';


But nothing news appears in my realm permissions.

I did the same in my config.php file and obtained the same results ... i.e nothing !
Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 333
Location: Cologne, Germany

PostPosted: Fri Aug 22, 2008 4:01 am    Post subject: Reply with quote

Toons59 wrote:
Firstly, I didn't have a plugins subfolder in my cacti folder (It's why I'm wondering which is my PIA version). So I created it and unzip the archive on it (C:\Inetpub\wwwroot\cacti\plugins\reportit).
After, when I take a look at my global.php file, there's not a section relating to plugins (unlike to the global.php file in the last PIA version).

Quote:
$plugins = array();
//$plugins[] = 'thold';


So, I added this in my global.php file:

Quote:
$plugins = array();
$plugins[] = 'Reportit';


But nothing news appears in my realm permissions.

I did the same in my config.php file and obtained the same results ... i.e nothing !


The standard version of Cacti does not contain the PIA (not yet), so you have to install it first. (see www.cactiusers.org)
Overwrite the existing files of Cacti with the patched ones contained the archive. After that check/update your MySQL settings in "/include/global.php" and then you're back on track.

Best regards
-Andreas-
Back to top
killshoot



Joined: 26 Mar 2008
Posts: 34

PostPosted: Fri Aug 22, 2008 4:05 am    Post subject: Reply with quote

Hi all,

I've successfully installed reportit

But... It's difficult to find information about how to configure it. I can't find the mentionnened powerpoint on the first page of this thread.

Is there a tutorial anywhere?

Best regards,

Vince
Back to top
Toons59



Joined: 17 Jun 2008
Posts: 6

PostPosted: Fri Aug 22, 2008 4:37 am    Post subject: Reply with quote

Quote:
The standard version of Cacti does not contain the PIA (not yet), so you have to install it first. (see www.cactiusers.org)
Overwrite the existing files of Cacti with the patched ones contained the archive. After that check/update your MySQL settings in "/include/global.php" and then you're back on track.


Ok, I'll do that.

Thanks for your help
Back to top
bgp2002



Joined: 18 Aug 2007
Posts: 4

PostPosted: Mon Aug 25, 2008 7:38 am    Post subject: Segmentation fault with php_bindings (rrd_fetch) from CLI Reply with quote

I get a segmentation fault from CLI in runtime.php at this line:
$rrd_data = rrd_fetch($data_source_path, $rrd_options, count($rrd_options));

This happens only (with php_bindings) from the commandline, not from webinterface

All software and OS 64-bit
Red Hat Enterprise Linux Server release 5.2
OS: 2.6.18-92.1.1.el5 #1 SMP Thu May 22 09:01:47 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
rrdtool: rrdtool-1.2.27-3.el5
php: php-5.1.6-20.el5
php_bindings: rrdtool-php-1.2.27-3.el5
cacti: 0.87b (with pa 2.1 and patches)
spine: 0.87a (self-compiled)

With 32-bit and mandriva, I don't have the problem. Unfortunately the 64-bit fedora is our production system
Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 333
Location: Cologne, Germany

PostPosted: Mon Aug 25, 2008 8:10 am    Post subject: Re: Segmentation fault with php_bindings (rrd_fetch) from CL Reply with quote

bgp2002 wrote:
I get a segmentation fault from CLI in runtime.php at this line:
$rrd_data = rrd_fetch($data_source_path, $rrd_options, count($rrd_options));

This happens only (with php_bindings) from the commandline, not from webinterface

All software and OS 64-bit
Red Hat Enterprise Linux Server release 5.2
OS: 2.6.18-92.1.1.el5 #1 SMP Thu May 22 09:01:47 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
rrdtool: rrdtool-1.2.27-3.el5
php: php-5.1.6-20.el5
php_bindings: rrdtool-php-1.2.27-3.el5
cacti: 0.87b (with pa 2.1 and patches)
spine: 0.87a (self-compiled)

With 32-bit and mandriva, I don't have the problem. Unfortunately the 64-bit fedora is our production system


Please take a look at the following postings:

http://forums.cacti.net/viewtopic.php?p=137185#137185

http://forums.cacti.net/viewtopic.php?p=137737#137737


Best regards
-Andreas-
Back to top
bgp2002



Joined: 18 Aug 2007
Posts: 4

PostPosted: Mon Aug 25, 2008 8:52 am    Post subject: Reply with quote

Thank you for your great and super fast support. Thanks for the links. I will try to recompile php and rrdtools
Back to top
rtorti19



Joined: 07 May 2008
Posts: 48

PostPosted: Thu Sep 04, 2008 3:11 pm    Post subject: Reply with quote

I managed to read through most of this thread, but might have missed a couple sections, so forgive me if this has already been asked.

Has anyone figured out a way to add multiple data templates to a single report? From what I see it doesn't look to be possible at this time unless someone has come up with a work around.
Back to top
toe_cutter



Joined: 12 Sep 2008
Posts: 9
Location: Sweden

PostPosted: Mon Sep 15, 2008 9:52 am    Post subject: Reply with quote

Hi

I like the idea of reportit, but damn is it hard to figure out what to do to create a report
Currently im trying to figure out how to get top10 bandwidth using interfaces but its not easy...

Anyway, i managed to create one report, after that im getting this error:

Code:
09/15/2008 04:38:55 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT a.*, b.*, c.name_cache FROM reportit_results_1 AS a INNER JOIN reportit_rrdlist_1 AS b ON a.id = b.id INNER JOIN data_template_data AS c ON c.local_data_id = a.id WHERE c.name_cache LIKE '%%%%' ORDER BY spanned__1 DESC LIMIT 0,30"


And in phpmyadmin:
Code:
SQL query:

SELECT a . * , b . * , c.name_cache
FROM reportit_results_1 AS a
INNER JOIN reportit_rrdlist_1 AS b ON a.id = b.id
INNER JOIN data_template_data AS c ON c.local_data_id = a.id
WHERE c.name_cache LIKE  '%%%%'
ORDER BY spanned__1 DESC
LIMIT 0 , 30

MySQL said:

#1054 - Unknown column 'spanned__1' in 'order clause'


Ideas?

Edit: Solved by removing Report configuration and adding it again. Seems to happen when i change a Report template or one of its measurands/variables, dont know which.
Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 333
Location: Cologne, Germany

PostPosted: Mon Sep 15, 2008 1:30 pm    Post subject: Reply with quote

toe_cutter wrote:

Edit: Solved by removing Report configuration and adding it again. Seems to happen when i change a Report template or one of its measurands/variables, dont know which.


Hi!
Can you try to reconstruct that issue, please?

Best regards
-Andreas-
Back to top
browniebraun
Cacti User


Joined: 13 Jun 2006
Posts: 333
Location: Cologne, Germany

PostPosted: Mon Sep 15, 2008 1:43 pm    Post subject: Reply with quote

rtorti19 wrote:
I managed to read through most of this thread, but might have missed a couple sections, so forgive me if this has already been asked.

Has anyone figured out a way to add multiple data templates to a single report? From what I see it doesn't look to be possible at this time unless someone has come up with a work around.


Currently not, but I'll work on it. At first I've to finish some other jobs. (Import/export of report templates, multiple export to spreadsheetML, report templates with more than one consolidation function (average, min, max, last)).

Best regards
-Andreas-


Last edited by browniebraun on Mon Sep 15, 2008 4:31 pm; edited 1 time in total
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 26, 27, 28, 29, 30  Next
Page 27 of 30

 



Powered by phpBB © 2001, 2005 phpBB Group