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

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Hi,

Not yet lol. I added the other graphs to show that I was getting the wrong results back from reportit.

What I am trying to do is get the total in or out bytes for an interface for a certain period like last month.

Sorry if I am been thick.
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Am starting to wonder if it is not related to this problem I have reported -

http://forums.cacti.net/viewtopic.php?t ... highlight=

Because if I click on the graph generate by reportit it gets the same problem.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

It seems so. I've checked it again with simular settings without any differences.
BTW for faster reporting you can use the php bindings for rrdtool, which can be found under the "links" link in my signature.

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
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Yeah am using them on the Windows and Linux box's. Takes around 0ms to 1ms to run :).
nduda78
Cacti User
Posts: 111
Joined: Tue Mar 01, 2005 11:26 am

Love this

Post by nduda78 »

...but I want to generate a traffic report with displays percentage. Is that possible?

How can I write a report that will give results in percentage? Like is there is 4mb outbound being used on a 6mb circuit, i want the result to show for current/min 60% instead of 4mb
ddonohue
Cacti User
Posts: 77
Joined: Mon Jul 10, 2006 10:36 am
Contact:

Freakiness With Reportit Templates

Post by ddonohue »

post removed b/c i suffer from stupidity at times..


Thanks,

Donohue
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

I can't save somthing from your example

Post by chrisgapske »

When I look at your example.

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

I am not able to save the Calculation Formula for Treshold.
Attachments
Error will not let me save.
Error will not let me save.
Save Error.JPG (181.19 KiB) Viewed 7867 times
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

"c1v" for example is the internal name for a variable. After you've created a new one every user can define an individual value for it in his own report configuration depending on that template. So, at first you've to declare it and after that you can use it in your formula. You don't have to define separate report templates for e.g 75%, 85% and so on.
That makes it more flexible. :wink:


Best regards
-Andreas-
Attachments
variables.PNG
variables.PNG (47.31 KiB) Viewed 7864 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
atoonk
Posts: 12
Joined: Mon Oct 29, 2007 2:18 pm
Location: Vancouver
Contact:

amount of data in Gi instead of G and Ti Instead of T

Post by atoonk »

Hi All,

I've been testing the reportit plugin and it seems to do exactly what I want. Thanks!
Just a question, the amount of data seems to be represented in in Ti, Gi, Mi and Ki. for example:
36.09 Gi
3.42 Mi
Also see screensshot.

Is this a configuration issue?
any help would be appreciated.

Thanks, Andree
Attachments
36.09 Gi instead of 36.09 G
36.09 Gi instead of 36.09 G
screenshot.png (26.39 KiB) Viewed 7493 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

These are SI metrics
Reinhard
atoonk
Posts: 12
Joined: Mon Oct 29, 2007 2:18 pm
Location: Vancouver
Contact:

Post by atoonk »

Thanks!
I changed it to Decimal SI-Prefix.

Cheers, Andree
atoonk
Posts: 12
Joined: Mon Oct 29, 2007 2:18 pm
Location: Vancouver
Contact:

combine multiple graphs

Post by atoonk »

Hi,

I would like to create a report which shows the sum of multiple interfaces ( multiple rrds).
In this case we have 3 upstream transit ISP's which i know report individually. However I would also like to see the total transit traffic.

for example:
transit ISP1 total-in=100GB total-out=133GB
transit ISP2 total-in=16GB total-out=33GB
transit ISP3 total-in=10GB total-out=1GB

#below is what i want:
Total: total-in=126GB total-out=167GB

Can I do this? If so can you explain me how?

Thanks, Andree
atoonk
Posts: 12
Joined: Mon Oct 29, 2007 2:18 pm
Location: Vancouver
Contact:

Post by atoonk »

maybe this is some relevant extra info. I do have a graph doing this. So the graph represents the aggregated traffic of the 3 upstreams.
That's done like described in this post:
http://forums.cacti.net/post-84968.html

can I somehow reuse that?

Thanks, Andree

Code: Select all

/opt/csw/bin/rrdtool graph - \
--imgformat=PNG \
--start=1193682785 \
--end=1193768885 \
--title="Total Transit " \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2007/10/29 11\:33\:05 To 2007/10/30 11\:28\:05\c" \
COMMENT:"  \n" \
--vertical-label="bits  per second" \
--slope-mode \
DEF:a="/usr/local/apache/htdocs/cacti/rra/policy1xxx_traffic_in_607.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/policy1xxx_traffic_in_608.rrd":traffic_in:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti/rra/policy1xxx_traffic_in_609.rrd":traffic_in:AVERAGE \
DEF:d="/usr/local/apache/htdocs/cacti/rra/policy1xxx.traffic_in_607.rrd":traffic_out:AVERAGE \
DEF:e="/usr/local/apache/htdocs/cacti/rra/policy1xxx.traffic_in_608.rrd":traffic_out:AVERAGE \
DEF:f="/usr/local/apache/htdocs/cacti/rra/policy1xxx.traffic_in_609.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefb=b,8,* \
CDEF:cdefc=c,8,* \
CDEF:cdefd=a,b,+,c,+,8,* \
CDEF:cdefh=d,8,* \
CDEF:cdefi=e,8,* \
CDEF:cdefj=f,8,* \
CDEF:cdefba=d,e,+,f,+,8,* \
AREA:cdefa#6EA100:""  \
AREA:cdefb#6EA100:"":STACK \
AREA:cdefc#6EA100:"":STACK \
AREA:cdefd#6EA100:"Inbound"  \
GPRINT:cdefd:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefh:""  \
LINE1:cdefi:"":STACK \
LINE1:cdefj:"":STACK \
LINE1:cdefba#4444FF:"Outbound"  \
GPRINT:cdefba:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefba:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefba:MAX:"Maximum\:%8.2lf %s\n"
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Hi Andree,

I've to let you down, but the calculation algorithm does not support that. ReportIt supports only a set of calculations per data item (e.g one interface, cpu etc.). Therefore it uses data sources not graphs.
BTW you have a nice homepage with an interesting CV. :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
atoonk
Posts: 12
Joined: Mon Oct 29, 2007 2:18 pm
Location: Vancouver
Contact:

Post by atoonk »

hi Andreas,

Thanks for your quick reply. I guess I will need to find a way to do it myself then :)
Maybe you can consider this as a feature request? ;)

Glad you like my homepage :)
Thanks again,
Andree
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest