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

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

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

Re: Report plugin ''ReportIt" - v0.7.2 (released 10/06/10)

Post by browniebraun »

GlueGuy wrote:
TheWitness wrote:Nope, not parallel. However, you may be having other issues (memory / diskI/O) maybe...
Perhaps. But it was impossible to tell. When the problem happens, even the SNMP polls to the server itself (localhost) would have gaps in the RRD data.

I changed the reportit cron job to run under "nice 10", which reduced the priority, and it seems to have mitigated the problem somewhat. The command is now:
nice -n 10 /usr/bin/php /var/www/html/plugins/reportit/runtime.php -d > /dev/null 2>&1
I still see the gaps in the graphs, but they are shorter duration.

I am now able to see what the load looks like. Backup starts at 1AM, then yum at 2AM. The reportit reports start at 5AM, and it looks like it increases the load significantly.
I'm sorry, but I don't see that increase at 5AM. From my point of view it starts at 4AM.
What about the I/O waits during that time?

Best regards
-Andreas-
Last edited by browniebraun on Mon Oct 18, 2010 5:22 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
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Report plugin ''ReportIt" - v0.7.2 (released 10/06/10)

Post by browniebraun »

mens wrote:I just submitted a patch (against 0.7.2) on the sourceforge tracker page that allows multiple users (but not public) to access a page. It is based on the network-weathermap plugin.
details can be found here.

Comments are welcome :-)
Sounds good. ;)
I will take a look at your patch later on and then I will provide you my feedback.

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
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Re: Report plugin ''ReportIt" - v0.7.2 (released 10/06/10)

Post by GlueGuy »

browniebraun wrote:
I'm sorry, but I don't see that increase at 5AM. From my point of view it starts at 4AM.
What about the I/O waits during that time?

Best regards
-Andreas-
You're right. It appears that yum and other utilities were starting at 4AM (I was mistaken about the 2AM). And it appears that some recent additions of "stuff" has extended the amount of time that it takes to run the backup (it did not finish until 6AM this morning).

So I adjusted what runs when. Since reports don't take too long, I've moved them to 1AM, and I'm not starting the backup until everything else is done. We'll see what happens tonight.
---------
The Glue Guy
cspenpen
Cacti User
Posts: 67
Joined: Tue Dec 05, 2006 5:10 am

export template

Post by cspenpen »

I want to export report template to share, but I found if the template's data source is not from original template(mean from native cacti template), when I import it, the report shown "Data template not available".
Attachments
rpir.PNG
rpir.PNG (5.59 KiB) Viewed 3898 times
diskio.xml
I used this link to make report template(diskio.xml).
http://docs.cacti.net/usertemplate:data:host_mib:diskio
(2.07 KiB) Downloaded 248 times
User avatar
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

Re: Report plugin ''ReportIt" - v0.7.2 (released 10/06/10)

Post by _raindrop18 »

is there any one has a template for Cisco router ping. or any one show me how to do it. the Data Source Item [max_rtr_ping] and Data Source Item [avg_rtr_ping]. and the report calculating between two of them. i am only need the Average of -> average Round Trip . (highlighted on the graph picture)how i can do that. thanks all in Advance for any suggestion. thanks!!
Attachments
ping-graph.jpg
ping-graph.jpg (55.42 KiB) Viewed 3890 times
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: export template

Post by browniebraun »

cspenpen wrote:I want to export report template to share, but I found if the template's data source is not from original template(mean from native cacti template), when I import it, the report shown "Data template not available".
You're right. I will check what's going wrong there.

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
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Report plugin ''ReportIt" - v0.7.2 (released 10/06/10)

Post by browniebraun »

_raindrop18 wrote:is there any one has a template for Cisco router ping. or any one show me how to do it. the Data Source Item [max_rtr_ping] and Data Source Item [avg_rtr_ping]. and the report calculating between two of them. i am only need the Average of -> average Round Trip . (highlighted on the graph picture)how i can do that. thanks all in Advance for any suggestion. thanks!!
I do not have this template in use, but you should click on the wrench button right beside the graph. Then you can see all information about the different archives which will be used to draw the graph as well as the correct base. Please take a look at this older introduction file too. http://sourceforge.net/projects/cacti-reportit/files/cacti-reportit/documentation/reportit_061_introduction.pdf/download
After this create a new report template and add the different measurands.
At the moment I'm not really often online, but if you have further questions you can try to contact me via Email, PM or Skype.

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
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: export template

Post by browniebraun »

browniebraun wrote:
cspenpen wrote:I want to export report template to share, but I found if the template's data source is not from original template(mean from native cacti template), when I import it, the report shown "Data template not available".
You're right. I will check what's going wrong there.

Regards
-Andreas-
Fixed! Take a look at the current SVN version.

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
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

Re: Report plugin ''ReportIt" - v0.7.2 (released 10/06/10)

Post by _raindrop18 »

I do not have this template in use, but you should click on the wrench button right beside the graph. Then you can see all information about the different archives which will be used to draw the graph as well as the correct base. Please take a look at this older introduction file too. http://sourceforge.net/projects/cacti-reportit/files/cacti-reportit/documentation/reportit_061_introduction.pdf/download
After this create a new report template and add the different measurands.
At the moment I'm not really often online, but if you have further questions you can try to contact me via Email, PM or Skype.

Best regards
-Andreas-[/quote]

I have spent all night by reading the manual and trying create template but no luck. as I said the there is no max and min data , I really don't know how the graph calculate the average. here is the data calculation next to the graph. but didn't get any clue.

DEF:a="/opt/cacti-0.8.7e/rra/417/2185.rrd":max_rtr_ping:AVERAGE \
DEF:b="/opt/cacti/cacti-0.8.7e/rra/417/2185.rrd":avg_rtr_ping:AVERAGE \
HRULE:100#00BD27FF:"SLA (Service Level Agreement) - 100 ms\n" \
AREA:b#FF5700FF:"Average Round Trip\n" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:a#8D85F3FF:"Maximum Round Trip\n" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \

are you able get any clue how I can get measurehand to get the average data? also reportit calculate for itself or get the result directly from the graph? I want the actual data from the graph. currently I am doing manually enter each average ping latency result
to spread sheet. which is overwhelming. thank you so much for your valuable time answered my question.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Report plugin ''ReportIt" - v0.7.2 (released 10/06/10)

Post by browniebraun »

_raindrop18 wrote: I have spent all night by reading the manual and trying create template but no luck. as I said the there is no max and min data , I really don't know how the graph calculate the average. here is the data calculation next to the graph. but didn't get any clue.

DEF:a="/opt/cacti-0.8.7e/rra/417/2185.rrd":max_rtr_ping:AVERAGE \
DEF:b="/opt/cacti/cacti-0.8.7e/rra/417/2185.rrd":avg_rtr_ping:AVERAGE \
HRULE:100#00BD27FF:"SLA (Service Level Agreement) - 100 ms\n" \
AREA:b#FF5700FF:"Average Round Trip\n" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:a#8D85F3FF:"Maximum Round Trip\n" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \

are you able get any clue how I can get measurehand to get the average data? also reportit calculate for itself or get the result directly from the graph? I want the actual data from the graph. currently I am doing manually enter each average ping latency result
to spread sheet. which is overwhelming. thank you so much for your valuable time answered my question.
I have just sent you a PM.

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
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Re: Empty email reports?

Post by GlueGuy »

We have a new installation with the latest reportit v0.7.2. We have about 60 or 70 reports that we ported over, but the emailed copy of the CSV is showing zeros in the values. like this:

Code: Select all

"Joe User - Traffic"	""	"Monday"	"Sunday"	"00:00:00"	"24:00:00"	"GMT"	"0.00 Y"	"0.00 Y"	"0.00 Y"
What's it trying to tell me here?

When I look at the archived report on the server, the correct numbers are in there.
---------
The Glue Guy
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Empty email reports?

Post by browniebraun »

GlueGuy wrote:We have a new installation with the latest reportit v0.7.2. We have about 60 or 70 reports that we ported over, but the emailed copy of the CSV is showing zeros in the values. like this:

Code: Select all

"Joe User - Traffic"	""	"Monday"	"Sunday"	"00:00:00"	"24:00:00"	"GMT"	"0.00 Y"	"0.00 Y"	"0.00 Y"
What's it trying to tell me here?

When I look at the archived report on the server, the correct numbers are in there.
That's a bug. I attached the current SVN version (0.7.3beta) which includes a bug fix for this and a lot of other unwanted effects. Hopefully I will find some time next weekend to publish a final version. Currently I've not too much work with the house. :(

Best regards
-Andreas-

Attachment removed with the release of 0.7.3
Last edited by browniebraun on Sun Nov 28, 2010 2:29 am, 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
User avatar
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Re: Empty email reports?

Post by GlueGuy »

browniebraun wrote:That's a bug. I attached the current SVN version (0.7.3beta) which includes a bug fix for this and a lot of other unwanted effects. Hopefully I will find some time next weekend to publish a final version. Currently I've not too much work with the house. :(

Best regards
-Andreas-
That was it Andreas! Thank you very much.
---------
The Glue Guy
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 Cacti Community!

This morning I have released version 0.7.3. ;)

Best regards
-Andreas-

Code: Select all

---------------------------------------------------------------------------------------------------------------
Version 0.7.3:
---------------------------------------------------------------------------------------------------------------
Feature:        (SF Request 3026234) New function f_high() returns the highest value out of bunch of given
                parameters like measurands, variables or static values.
                New function f_low() returns the lowest value out of a list of numbers. (Thanks to Hinzel)
Feature:        Support Boost's on demand RRD update
Bugfix(#00119): Issues to export a report to CSV as well as Excel with IE
Bugfix(#00118): RRDtool output "NaN" (excatly that writing style) has been converted to zero instead of NAN.
                This issue is related to a PHP bug on Solaris.
Bugfix(#00117): Unable to import report templates which are not based on Cacti's default data templates
Bugfix(#00116): Design fails in FF due to invalid color declarations. (Thanks to Mule)
Bugfix(#00115): Invalid formatting occured in automatical generated export files if SI-prefixes are in use
Bugfix(#00114): Transformation of RRDtool output becomes invalid if decimal separator is not a point
Bugfix(#00114): Debug file shows wrong memory usage information if memory limit is undefined.
---------------------------------------------------------------------------------------------------------------
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
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 »

Any Upgrade Guide from 0.7.2
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests