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

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by sukanta »

Hi, Using Following Formula for calculating Percentage Traffic but for 10G it is going beyond 100%

((f_last*8)/maxValue)*100

For 10G
((f_last*8)/maxValue)*10 is working fine..

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

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by browniebraun »

Hi Sukanta

Please duplicate that report config, keep the new ID in mind, reduce the number of data items to one single example and generate a debug log using the CLI. (runtime.php -v --debug your_report_id > debug.txt )
After that send me a PM and attach the output, then I can see in detail what's going on.

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
vkpolisetty
Posts: 8
Joined: Mon Jun 07, 2010 12:52 pm

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by vkpolisetty »

i have successfully installed the reportit0.7.3 version. i am bit confused how to start. my requirement for example. i want to take the uptime of all the servers in the cacti. can you please help me how to start.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by browniebraun »

vkpolisetty wrote:i have successfully installed the reportit0.7.3 version. i am bit confused how to start. my requirement for example. i want to take the uptime of all the servers in the cacti. can you please help me how to start.
So far ReportIt is designed to create reports on RRD based Data. You should import the report template for interface traffic to create first reports and to get an idea how it works. Please read the old introduction paper too. (Until I've finished the web page for ReportIt).

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
NetAdmin
Cacti User
Posts: 98
Joined: Wed Aug 30, 2006 8:45 pm

Report Values appear to be incorrect

Post by NetAdmin »

Greetings,

I'm using version 0.7.2 and I'm trying to run a basic report which contains just the MAX, MIN, and AVG formulas, and when I add a data source and run the report (see IMG1) it shows values that do not quite match up with the RRD (by clicking on the data description link, see IMG2). For example, the report shows the inbound MAX value as 10.34M, but the RRD shows 6.39M..

Not quite sure what may be causing this discrepancy. Appreciate anyone's assistance.

:D

NetAdmin
Attachments
IMG2
IMG2
IMG2.png (16.02 KiB) Viewed 3718 times
IMG1
IMG1
IMG1.png (29.76 KiB) Viewed 3718 times
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by browniebraun »

Click on the wrench button right beside the graph to see the graph details.
Check wheather the CFs being used for the graph are the same like you used in your formulas.

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
NetAdmin
Cacti User
Posts: 98
Joined: Wed Aug 30, 2006 8:45 pm

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by NetAdmin »

Hi Andreas,

Thank you for the speedy response..

Yes, the graph source properties do indicate the same formulas as the ones I created for the report. Basically, just multiplying by 8 to convert bytes into bits..

DEF:a="/var/www/html/rra/XXXXX.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/rra/XXXXX.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \

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

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by browniebraun »

Ensure that you set "Consolidation Function" to "AVERAGE" for all of your measurands like shown in the graph details.
If that is still the case send me a debug file via PM, please.

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
methil
Posts: 1
Joined: Mon Jan 17, 2011 3:20 pm

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by methil »

Good work on the plugin.

Any progress with the list item description/name not been the same as the one on the graphs page?
The request : http://forums.cacti.net/viewtopic.php?p=127145#p127145
Your answer : http://forums.cacti.net/viewtopic.php?p=127435#p127435

That request is kinda old i know but having to customize another listing or insert subhead is time consuming on large listing.

keep up the good work!
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by browniebraun »

Please raise a feature request under Sourceforge. It is the only way to keep that really in mind. This thread is completely overloaded.

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
mcolas
Posts: 25
Joined: Fri Jan 30, 2009 4:46 am
Location: Bruxelles, Belguim

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by mcolas »

Hello,

First thank you to spend your time for this great tool.
I have a problem to run the runtime.php with a cronjob.
First I receive a permission denied when I try with the cronjob, so to have the right I put the file in 775 mode.
Now it's readable but I receive the error below :

/usr/share/cacti/site/plugins/reportit/runtime.php: 1: cannot open ?php: No such file
/usr/share/cacti/site/plugins/reportit/runtime.php: 2: /bin: Permission denied
/usr/share/cacti/site/plugins/reportit/runtime.php: 3: +-------------------------------------------------------------------------+: not found
/usr/share/cacti/site/plugins/reportit/runtime.php: 4: Syntax error: "|" unexpected

Can you help me with this problem ?

This is my syntax for the cronjob => 01 15 * * * root /usr/share/cacti/site/plugins/reportit/runtime.php -d > /home/administrator/tmp/logfile.txt 2>&1

Just an update to say that I found my error.
I forgot to put the "php" syntax before the file runtime.php.
So now the good syntax for the cron file is => 01 15 * * * root php /usr/share/cacti/site/plugins/reportit/runtime.php -d > /dev/null 2>&1

Best regards,
Matthieu
mskaralar
Posts: 10
Joined: Fri Sep 17, 2010 6:55 am
Location: Turkey

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by mskaralar »

Hi, is there any way to aggregate multiple data sources in report plugin?

I can use formulas for only one data source. Can we sum two different data source's inbound traffic?
Thank you.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by browniebraun »

mskaralar wrote:Hi, is there any way to aggregate multiple data sources in report plugin?

I can use formulas for only one data source. Can we sum two different data source's inbound traffic?
Thank you.
No, I have it on my list since a while. :( Sorry.

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
dragossto
Cacti User
Posts: 86
Joined: Tue May 15, 2007 5:24 am
Location: Romania
Contact:

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by dragossto »

one question

i have one report , not schedule ,
i give a run after upgrade and remain *In process*
from few days

no error receive in any log i look (cacti logs , apache log, php log and system log)

the upgrade was made by uninstalling the old plugin ,put the new files and install the new one
from the plugin management , no data from database was deleted by hand.

One more thing,
the PHP extensions installed on my machine:

Code: Select all

Core, date, ereg, libxml, pcre, sqlite3, dom, fileinfo, filter, hash, SPL, json, mcrypt, session, bz2, posix, Reflection, standard, SimpleXML, sockets, imap, sysvmsg, sysvsem, sysvshm, xml, xmlreader, xmlwriter, apache2handler, bcmath, openssl, calendar, ctype, curl, dba, dbase, enchant, exif, ftp, gd, gettext, gmp, iconv, ldap, mbstring, mysql, mysqli, zlib, PDO, pdo_mysql, pdo_sqlite, pspell, rrd, shmop, snmp, soap, SQLite, tokenizer, wddx, xsl, zip, Phar
You may give me one hint ???
Cacti - 0.8.7h
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
  • (tools - v0.3) (Thold - v0.4.6) (Ntop - v0.2) (Discovery - v1.2a) (Monitor - v1.2)
User avatar
dragossto
Cacti User
Posts: 86
Joined: Tue May 15, 2007 5:24 am
Location: Romania
Contact:

Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)

Post by dragossto »

i uninstall the plugin then
using uninstall.php clean the database

reinstall the plugin back from plugin management
but i try to make back the report for Template Advance Ping
but when try to save the Measurands it give this error
attached hear ,once again no error discover

i attach the screen shot whit field problem
also the logs from cacti when try to save.
The error save was Red but when make the screen shot I select the text, so become blue :)
Attachments
Screen Shot
Screen Shot
Report Error.JPG (94.75 KiB) Viewed 3497 times
Cacti log.txt
log
(22.33 KiB) Downloaded 150 times
Cacti - 0.8.7h
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
  • (tools - v0.3) (Thold - v0.4.6) (Ntop - v0.2) (Discovery - v1.2a) (Monitor - v1.2)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest