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    


Reporting: Top Talkers, busiest servers - PLUGIN AVAILABLE
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
bradley



Joined: 02 Dec 2005
Posts: 38
Location: United Kingdom

PostPosted: Tue Mar 28, 2006 9:46 am    Post subject: Reply with quote

See the URL in one of my original posts

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

--
Brad.
Back to top
twelzy
Cacti User


Joined: 30 Mar 2005
Posts: 74
Location: BRAZIL/Brasilia

PostPosted: Tue Mar 28, 2006 11:29 pm    Post subject: Reply with quote

bradley,

I have some suggestions:
    - Option to choose the Consolidation Function (average, minimum, maximum, last) we want to view in the Report Plugin;
    (In some cases we want to see the average values, in others, the maximum values...)

    - Option to choose the Data Sources of a Graph/Data Template;
    (In graphs like Memory Utilization of a Unix/Linux host, I think that the important DSs to be reported/analysed are Phisical/Swap Memory Used, and not Phisical/Swap Memory Free...)
What do you think about?!

Thanks in advance!
(...and sorry for my poor English!)
Back to top
s16pt



Joined: 12 Sep 2005
Posts: 17

PostPosted: Wed Mar 29, 2006 12:48 am    Post subject: Reply with quote

bradley,
Would you describe the installation more detailly ?
I follow your steps but I didn't get any Report buttom.
I would like to use this report function hungry.

Need your help .

Thanks.
Back to top
henryd31



Joined: 13 Apr 2005
Posts: 30

PostPosted: Wed Mar 29, 2006 2:04 pm    Post subject: Reply with quote

Still no word on this, can anyone advise ?


henryd31 wrote:
Here is what I get, does that tell you anything ? I am running on a FC3 and all the packages are rather old, they're running most updated ones available thru packages, but this being fc3 does not mean much...

mysql> show columns from plugin_reports;
+----------------------+---------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------------+---------+------+-----+---------+----------------+
| id | int(11) | | PRI | NULL | auto_increment |
| report_definition_id | int(11) | | MUL | 0 | |
| date_processed | int(11) | | | 0 | |
+----------------------+---------+------+-----+---------+----------------+
3 rows in set (0.00 sec)

mysql> show columns from plugin_report_items;
+---------------------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------------------------+--------------+------+-----+---------+----------------+
| id | int(11) | | PRI | NULL | auto_increment |
| report_id | int(11) | | MUL | 0 | |
| local_graph_id | int(11) | | | 0 | |
| consolidation_function_id | int(11) | | | 0 | |
| graph_item_name | varchar(255) | | | | |
| graph_item_units | varchar(255) | | | | |
| graph_item_value | double | YES | | NULL | |
+---------------------------+--------------+------+-----+---------+----------------+
7 rows in set (0.00 sec)



bradley wrote:
Falvour, in short, update DBI and DBD::mysql to the latest versions:


"for those having problems the report_id column of the plugin_report_items table will be NULL when it should not be. Can you confirm this?"

Brad.
Back to top
tobru



Joined: 30 Mar 2006
Posts: 2

PostPosted: Thu Mar 30, 2006 7:33 am    Post subject: Reply with quote

hi

I tried to get this reports running on windows, but until now didn't have success.
On the website it shows only values of 0.
When I run the runReports.pl I see some error messages: "RRD Export Failed: Cannot parse DS in 'DEF:a=d:/wwwroot/monitoring.domain.ch/rra/sui_internet_traffic_in_206.rrd:cpu:AVERAGE'"
I use rrdtool version 1.2.12 (cygwin) in cacti, but the perl module for windows provided by tobi oetiker is version 1.2.10.
Is this a problem?

Best Regards
Tobias
Back to top
pepj
Cacti User


Joined: 29 Sep 2005
Posts: 288
Location: switzerland

PostPosted: Thu Mar 30, 2006 8:45 am    Post subject: several bugs Reply with quote

Hi

Severall bugs after creating a "reports configuration" :
1/ when I save without graph template & save
--> Save OK. But no report are shown in "report_settings.php" !!!
--> You have no more chance to remove it
2/ you can create several reports with the same name !!!
3/ when you have create a good "report setting". If you later want to change something and choose for example "Data Template" or "Graph Template" the option "select one".
--> Save OK. But no report are shown in "report_settings.php" !!!
--> You have no more chance to change or remove it

A/ Could you also put a "paused/active" report setting ? Sometime we want to inactive a report scheduling but not remove it.

B/ will you put the option of "reports of Gigamits" in order to send E-mails ?

PS: I have seen you have the realms 60/61 for your plugin like my upload/download switch-router configuration. I will ask Gigamit, if there is a possibility/function to avoid these conficts.

Thanks
Jean-Michel
Back to top
flavour



Joined: 28 Sep 2005
Posts: 15

PostPosted: Thu Mar 30, 2006 9:44 am    Post subject: Re: several bugs Reply with quote

pepj wrote:
PS: I have seen you have the realms 60/61 for your plugin like my upload/download switch-router configuration. I will ask Gigamit, if there is a possibility/function to avoid these conficts.


In the absence of an automated method, here is the 'official' place for registering your realm IDs to avoid conflicts:
http://cactiusers.org/wiki/PluginRealms

F
Back to top
Exo7
Cacti User


Joined: 13 Jul 2005
Posts: 124

PostPosted: Fri Apr 07, 2006 3:49 am    Post subject: Reply with quote

thanks for this great addon, it is working quite fine

I have tried to do some unexpected actions in the gui to find some bugs.
So far, I found one :
when selecting the same lower & higher bandings, the following error popup :
Notice: Undefined offset: 0 in /usr/share/cacti/site/plugins/reports/report_view.php on line 407
Notice: Undefined offset: 0 in /usr/share/cacti/site/plugins/reports/report_view.php on line 410

As others noticed, the daily reports produced so far seems to include only 23 hours of data
Back to top
bradley



Joined: 02 Dec 2005
Posts: 38
Location: United Kingdom

PostPosted: Fri Apr 07, 2006 5:07 am    Post subject: Reply with quote

Thanks for the feedback Exo7,

Just to let you (and others) know, I am working on the fixes to the bugs mentioned here and
will publish a new version in the next few days.

--
Brad.
Back to top
jwatt



Joined: 07 Apr 2006
Posts: 1

PostPosted: Fri Apr 07, 2006 12:12 pm    Post subject: FreeBSD 5.4 Release problem Reply with quote

Hi Bradley,

I really want to use your plugin, it seems very useful.

However, I'm having some trouble getting it to work.

I am running the Cacti 0.8.6h_41 port on FreeBSD 5.4 Stable Release.

Perl 5.8.8 and RRDTool 1.2.12_1.

I have the Cacti plugin arch installed and have a few plugins running fine.

I have followed your instructions from the beginning of this topic. I added one report using the web interface and then tried running runReports.pl manually:

# perl runReports.pl 1 -start
Using Data Template ID: 56 at runReports.pl line 546..



I had one issue with the instructions and that is that I don't have anywhere on my system a folder like /usr/local/rrdtool-1.2.11/lib/perl and I'm not sure what contents I that folder would usually contain so that I could locate the equivalent on my system.

I tried replacing the use lib qw( /usr/local/rrdtool-1.2.11/lib/perl ); line in my runReports.pl with other rrdtool modules to no effect.

Any clues as to why this might not be running?

Thanks!

J
Back to top
karthi



Joined: 02 Feb 2006
Posts: 26

PostPosted: Sat Apr 08, 2006 9:23 am    Post subject: Please help in report Reply with quote

HI,

In report how to create the tables -- which all tables need to create

pls help and perl the runReports.pl is not working please help on this
Back to top
bradley



Joined: 02 Dec 2005
Posts: 38
Location: United Kingdom

PostPosted: Mon Apr 10, 2006 3:28 am    Post subject: Reply with quote

Jwat,

On FreeBSD systems where you have installed RRD-tool from the ports
collection, the required perl modules are actually installed in
/usr/local/lib/perl5/site_perl and so this line is not actually required.
If you comment it out altogether then it should work fine.

Karthi, when you log into Cacti with the web-front-end for the first time
after installing the plugin, the tables in the database will get created
automatically. Once you've logged in then you should be able to run the
report generator (runReports.pl).

Hope this helps!

--
Brad.
Back to top
Pumpi
Cacti User


Joined: 14 Jan 2004
Posts: 256
Location: Germany

PostPosted: Tue Apr 11, 2006 8:30 am    Post subject: Reply with quote

Hello,
when I run runReports.pl I get following error:

Using Data Template ID: 41 at /srv/www/htdocs/cacti/plugins/reports/runReports.pl line 546.
RRD Export Failed: Garbage ':' after command:
XPORT:cdefa:Inbound :

Any idea ?

Pumpi
Back to top
bradley



Joined: 02 Dec 2005
Posts: 38
Location: United Kingdom

PostPosted: Tue May 02, 2006 4:21 am    Post subject: New version available Reply with quote

Attached is the latest version of the Cacti Reports. Please download
it from the following URL:

http://www.kitefamily.co.uk/cacti-reports.zip

The most significant change is the ability to report on "real-time" values.

The periodic reports now calculate max/min/avg figures which you can
switch between on the web-front-end.


--
Brad.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed May 03, 2006 11:49 am    Post subject: Reply with quote

How do you report on the real-time values? Do you launch it manually, via CLI?

Is there a way to wipe the old reports, programmatically I mean?
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, 4, 5, 6, 7, 8  Next
Page 4 of 8

 



Powered by phpBB © 2001, 2005 phpBB Group