Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
tephra
Posts: 26
Joined: Sun Dec 09, 2007 8:11 pm

Post by tephra »

fantastic - thanks!

I did search for reportit and crontab but for some reason it didn't come up!

Cheers
D.
karias
Cacti User
Posts: 60
Joined: Wed Oct 25, 2006 10:36 am

Post by karias »

I just installed v.5.1 and following the Cacti Report Introduction pps on how to use this. I don't see a "Reports" link under Management, I only see a "Report Configurations". Also under Templates I see a "Report Templates". I've already updated the user permissions in the User Management, what am I missing?
[quote][b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.1
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-53.el5
[b]Web Server[/b] - Apache/2.2.3 (Red Hat)
[b]PHP[/b] - 5.1.6
[b]PHP Extensions[/b] - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, dbase, ldap, mysqli, mysql, PDO, pdo_mysql, pdo_sqlite, snmp
[b]MySQL[/b] - 5.0.45
[b]RRDTool[/b] - 1.3rc6
[b]SNMP[/b] - 5.3.1
[b]Plugins[/b][list]Documents (docs - v0.1)
Host Info (hostinfo - v0.2)
Device Monitoring (monitor - v0.8.2)
Global Plugin Settings (settings - v0.5)
SSL Redirector (ssl - v0.1)
Thresholds (thold - v0.3.9)
Update Checker (update - v0.4)
Cacti-ReportIt (reportit - v0.6.1)[/list][/quote]
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

karias wrote:I just installed v.5.1 and following the Cacti Report Introduction pps on how to use this. I don't see a "Reports" link under Management, I only see a "Report Configurations". Also under Templates I see a "Report Templates". I've already updated the user permissions in the User Management, what am I missing?
Nothing, but the old PPP will mislead you.
Start creating a report template (Console->Report Templates: "Add"). You will find some examples in this thread.

eg.: After that do not forget to unlock your new template and then create a new report configuration(Console->Report Configurations: "Add") based on it. Now most parts are simular to the PPP.

Best regards
-Andreas-
Last edited by browniebraun on Sun Apr 20, 2008 6:29 pm, edited 1 time in total.
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
wojt
Posts: 1
Joined: Sun Apr 20, 2008 9:47 am

Post by wojt »

Andreas, thanks for fantastic plugin.
-
Thanks this topic, I have installed and setup it w/o problems.
I want to collect total traffic/bandwith usage from several switches. I'm not sure my "calculation formula".
At first I have setup daily reports like follow:
I have 2 measurands:
1. Sum-In-Out -> f_sum*step
2. Total -> TRAF:traffic_in+TRAF:traffic_out with Separate.
I have scheduled daily report, but every day old report is being overwritten by a new one.
What do I need to do to have reports collection?
I habe also second question:
Is it possible to have a additional variable for every switch-port (Data Items), something like: included/free traffic and setup 2 measurand :
TRAF:traffic_in+TRAF:traffic_out-free. If result is lower then 0 in report should be 0.
Best regards

Wojtek.
tephra
Posts: 26
Joined: Sun Dec 09, 2007 8:11 pm

Post by tephra »

quick question - can we get the plugin to exclude "unknown" results in the RRA?

At the moment it is treating them as 0 which throws of my f_min report :)

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

Post by browniebraun »

Hi Cacti Community!

Here it is: ReportIt v0.6.0! :D
Sorry, I know most of you are waiting for a new release since nearly 6 months. :(
As you can see below there are some new features available.
I replaced the old graphic class by "Graidle", but it stretched my nerves to get it stable. For the next time I'll concentrate on minor releases with a maximum of 2 new features to reduce the time of development.
Please take a look at the README file before installing this new version.



Best regards
-Andreas-

Update: I added some screenshots.

Code: Select all

---------------------------------------------------------------------------------------------------------------
Version 0.6.0:
---------------------------------------------------------------------------------------------------------------
Feature:        Scheduled reports can be emailed to a defined list of recipients automatically
Feature:        Template configuration supports the definition of an alias for every internal data source
                description which should be displayed instead.
Feature:        Report configuration allows to define a template to configure new data items automatically
Feature:        Administrators (Power Users) can change the report owner
Feature:        Additional Filter "graph permission by device" supported
Feature:        Report configuration divided into differend segments (General, Email, Presets, Administration)
Feature:        New graphic module based on "Graidle" (cc_graph has been completely rewritten)
Feature:        Export format "XML" available
Feature:        Additional information per measurand can be displayed (sum, min, max, average)
Feature:        Filter field "Limit" added
Feature:        New search field allows to filter the report view
Feature:        Scheduled reports will be archived automatically
Bugfix(#00067): Guest user has no longer access to reporting functions without the correct realm ids
Bugfix(#00066): Changing a lot of cc_reports.php to get more compatible to Cacti's drawing functions
Bugfix(#00065): Report View: Default setting "Public" replaced by "My reports"
Bugfix(#00064): Caching error occurs if 2 or more measurands call the same function with
                a parameter (only f_xth(), f_dot(), f_sot() are affected)
Bugfix(#00063): Zack Bloom's "Advanced Graphing Class" has been replaced by "Graidle"
Bugfix(#00062): Graph Overiew will always end at 23:59:59 instead of 24:00:00,
                because the calculation changes nearly with every version of RRDtool
Bugfix(#00061): CSV Export file does not contain all variables
Bugfix(#00060): Time zone will be shown without beeing activated on a fresh installation of Cacti
Bugfix(#00058): Security check for export process is missing
Bugfix(#00057): Incorrect width displayed with Cacti 0.8.7 and above
Attachments
pic4.PNG
pic4.PNG (50.8 KiB) Viewed 15200 times
pic3.PNG
pic3.PNG (24.68 KiB) Viewed 15200 times
pic2.PNG
pic2.PNG (34.21 KiB) Viewed 15200 times
pic1.PNG
pic1.PNG (24.87 KiB) Viewed 15200 times
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
Frizz
Cacti User
Posts: 80
Joined: Sat Mar 05, 2005 5:07 pm
Location: Herne Germany

Post by Frizz »

Hi Cacti Community!

Here it is: ReportIt v0.6.0! :D
Sorry, I know most of you are waiting for a new release since nearly 6 months. .....

Andreas
Thank You. :D

You've done a great work,
and you're always in time, as you promised.
I know what time it needs to develop all your new features
and fullfill all your job tasks as well.
You will have your chance. Everywhere in this global future.

Community,
take this great plugin and impress your management with
wonderful bar/pie charts
and reports which will help solving their business challenges.

Frizz (aka "Gerald")
Cacti 0.8.6j | Cactid 0.8.6j | RRDtool 1.2.23 |
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
tephra
Posts: 26
Joined: Sun Dec 09, 2007 8:11 pm

Post by tephra »

cool - i just upgraded.

but now my "guest" access just results in HTTP404's :(

any ideas?

I have checked the realm permissions etc etc...
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

tephra wrote:cool - i just upgraded.

but now my "guest" access just results in HTTP404's :(

any ideas?

I have checked the realm permissions etc etc...
Oops...!
Okay, edit cc_view.php and add at line 22 "$guest_account = true;", so that it looks like listed below:

Code: Select all

chdir('../../');

$guest_account = true;

include_once('./include/auth.php');
include_once($config["base_path"] . '/plugins/reportit/lib_int/funct_validate.php');
Then it should work.

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
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Post by chrisgapske »

OK I got a strange issue with I click on "Data Description ↑ ↓" of one of my reports I get a graph that is selected of a wrong time displayed.


Also the email tab is grayed out.

I can access it if I put email as the end of my url but the box is grayed out.

What ya think ?
Attachments
Picture one
Picture one
picone.JPG (6.97 KiB) Viewed 15077 times
Picture two
Picture two
pictwo.JPG (53.86 KiB) Viewed 15077 times
Picture three
Picture three
picthree.JPG (66.89 KiB) Viewed 15077 times
You can see if I edit the url I can work with the email info just the tab is stilled grayed out.
You can see if I edit the url I can work with the email info just the tab is stilled grayed out.
picfour.JPG (99.27 KiB) Viewed 15077 times
tephra
Posts: 26
Joined: Sun Dec 09, 2007 8:11 pm

Post by tephra »

hrmm now I don't see any reports when logging in as "guest"...

edit - I have had to manually change the ownership of all the reports to Guest for it to work properly ... not sure if this is a bug or new security measure! :)
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

tephra wrote:hrmm now I don't see any reports when logging in as "guest"...

edit - I have had to manually change the ownership of all the reports to Guest for it to work properly ... not sure if this is a bug or new security measure! :)
Good morning tephra!
The guest can only select these reports which are defined as "public". Maybe it's confusing that I've changed the default setting of the drop down filter from "Public reports" to "My reports". My understanding of an guest user is that he's only able to view reports and nothing else. I always try to have consideration for suggestions, so how do you think about it?

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
tephra
Posts: 26
Joined: Sun Dec 09, 2007 8:11 pm

Post by tephra »

ahh the default view for guest is "my reports" rather than "public"!

I see :)

No that's ok :)
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

chrisgapske wrote:OK I got a strange issue with I click on "Data Description ↑ ↓" of one of my reports I get a graph that is selected of a wrong time displayed.


Also the email tab is grayed out.

I can access it if I put email as the end of my url but the box is grayed out.

What ya think ?
Hi chrisgapske!
The email tab should be active after you've enabled "Auto Generated Email" in section "Scheduled Reporting".
That you're able to access it calling a modified url and without having this setting activated signifies that you've found a backdoor (and I forgot to validate it) :cry:.
I don't see where the first issue is. Maybe I need a cup of coffee first and then I'll have to look at your screenshots again.:wink:

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
dantzorn
Posts: 3
Joined: Fri May 02, 2008 1:38 am

Archives Problem

Post by dantzorn »

Hi,

You made a very good works.

But I h'ave a problem with archives.
when I select Current all is right, but when I select an archive, I have no data.

Best regards.
Attachments
pic2.JPG
pic2.JPG (42.82 KiB) Viewed 15031 times
pic1.JPG
pic1.JPG (39.02 KiB) Viewed 15031 times
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests