Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Moderators: Developers, Moderators
Hi,
I have a small issue, all reports work fine, but only when run by cron or from command line for the sheduled reports I get an error. (ran daily with debug on) :
write(1, "[", 1) = 1
write(1, "ON:service_state", 16) = 16
write(1, "] => ", 5) = 5
write(1, "\n", 1) = 1
write(1, ")\n", 2) = 2
write(1, "\n", 1) = 1
write(1, "\n\t\t******* Defined Cache -> Meas"..., 57) = 57
write(1, "Array\n", 6) = 6
write(1, "(\n", 2) = 2
write(1, ")\n", 2) = 2
write(1, "\n", 1) = 1
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(4, "N\0\0\0\3select name,data_source_pat"..., 82) = 82
read(4, "\1\0\0\1\2I\0\0\2\3def\7cactidb\22data_templ"..., 16384) = 317
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0
time(NULL) = 1256225893
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
[root@cacticentos src]#
Works perfectly from the "run report" in cacti.
rrdtool 1.3.8.2 from dag repository, recompiled php-bindings from rpm and from source with php5.1.6 always the same error.
Any ideas other then run the manually from now ? I know this is not a reportit error, but maybe someone else saw this before.
P.S. Love reportit, still learning, but it's quite powerfull !
I have a small issue, all reports work fine, but only when run by cron or from command line for the sheduled reports I get an error. (ran daily with debug on) :
write(1, "[", 1) = 1
write(1, "ON:service_state", 16) = 16
write(1, "] => ", 5) = 5
write(1, "\n", 1) = 1
write(1, ")\n", 2) = 2
write(1, "\n", 1) = 1
write(1, "\n\t\t******* Defined Cache -> Meas"..., 57) = 57
write(1, "Array\n", 6) = 6
write(1, "(\n", 2) = 2
write(1, ")\n", 2) = 2
write(1, "\n", 1) = 1
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(4, "N\0\0\0\3select name,data_source_pat"..., 82) = 82
read(4, "\1\0\0\1\2I\0\0\2\3def\7cactidb\22data_templ"..., 16384) = 317
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
time(NULL) = 1256225893
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0
time(NULL) = 1256225893
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
[root@cacticentos src]#
Works perfectly from the "run report" in cacti.
rrdtool 1.3.8.2 from dag repository, recompiled php-bindings from rpm and from source with php5.1.6 always the same error.
Any ideas other then run the manually from now ? I know this is not a reportit error, but maybe someone else saw this before.
P.S. Love reportit, still learning, but it's quite powerfull !
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Which formula are you using?forlinux-support wrote:Hi,
I'm attempting to create a total of all traffic pushed on each interface inside the report period - so far I haven't managed to get anything that seems to resemble what Cacti graphs report the interfaces are doing; could anyone tell me how I would go about this?
Cheers,
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
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Loading the rrdtool bindings as a shared library won't work faultlessly in combination with PHP 5 and Linux in that case. You have to recompile PHP with the bindings for RRDtool as an embedded module.JorisFRST wrote:Hi,
I have a small issue, all reports work fine, but only when run by cron or from command line for the sheduled reports I get an error. (ran daily with debug on) :
......
Works perfectly from the "run report" in cacti.
rrdtool 1.3.8.2 from dag repository, recompiled php-bindings from rpm and from source with php5.1.6 always the same error.
Any ideas other then run the manually from now ? I know this is not a reportit error, but maybe someone else saw this before.
P.S. Love reportit, still learning, but it's quite powerfull !
Here's a good description how to do this: http://www.ioncannon.net/system-adminis ... n-by-hand/
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
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
I did this on the test box, then copied the .so over to the live one, I guess that's not enough then? I will wait for a php5 release for the rrdtool binding then, don't want to recompile php on the live box.browniebraun wrote:Loading the rrdtool bindings as a shared library won't work faultlessly in combination with PHP 5 and Linux in that case. You have to recompile PHP with the bindings for RRDtool as an embedded module.JorisFRST wrote:Hi,
I have a small issue, all reports work fine, but only when run by cron or from command line for the sheduled reports I get an error. (ran daily with debug on) :
......
Works perfectly from the "run report" in cacti.
rrdtool 1.3.8.2 from dag repository, recompiled php-bindings from rpm and from source with php5.1.6 always the same error.
Any ideas other then run the manually from now ? I know this is not a reportit error, but maybe someone else saw this before.
P.S. Love reportit, still learning, but it's quite powerfull !
Here's a good description how to do this: http://www.ioncannon.net/system-adminis ... n-by-hand/
Best regards
-Andreas-
Thank you,
Joris.
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Till now I haven't found a special release for PHP 5 yet, but if you find a solution let us know.JorisFRST wrote: .....
I did this on the test box, then copied the .so over to the live one, I guess that's not enough then? I will wait for a php5 release for the rrdtool binding then, don't want to recompile php on the live box.
Thank you,
Joris.
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
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
no maxvalue
Hi I'm following the introduction document to create my first report and I'm wondering why wouldn't I have a maxValue variable for my traffic report? I have the others, nan, step, c1v, but no maxValue!
What am I doing wrong? Thanks!
What am I doing wrong? Thanks!
Re: no maxvalue
Hi I found the answer a few posts back. Thanks!
browniebraun wrote:Hi Jim!j-munroe wrote:If you could find some time that would be awesome!!!browniebraun wrote:
Mmmh, I never thought about that. I'll try to allocate some time next weekend to proof which changes are necessary to support that.
I also fixed a bug some days ago which will occur with data source items selected individually. See http://forums.cacti.net/viewtopic.php?p=164770#164770. So 0.7.3 will come.
Best regards
-Andreas-
Many Thanks!!
Jim
Edit your data template, tick "Use Per-Data Source Value" and put a value in the field that is higher than zero. I know it will be ignored by Cacti, but used by ReportIt if the Ifspeed / IfHighSpeed won't be found during the calculation. Then you can use the maxValue variable within your formula!
Best regards
-Andreas-
-
- Posts: 7
- Joined: Mon Jan 14, 2008 1:58 pm
Total Traffic in/out Report
I have the same issue with reportit as linux-support wrote:
I'm attempting to create a total of all traffic pushed on each interface inside the report period - so far I haven't managed to get anything that seems to resemble what Cacti graphs report the interfaces are doing; could anyone tell me how I would go about this?
I'm using the Default Traffic Template rev.0.1. How can I caculate and create the summery of used bandwidth on each interface? All I treid ended with wrong values.
Any help would be appriciated.
@lex
I'm attempting to create a total of all traffic pushed on each interface inside the report period - so far I haven't managed to get anything that seems to resemble what Cacti graphs report the interfaces are doing; could anyone tell me how I would go about this?
I'm using the Default Traffic Template rev.0.1. How can I caculate and create the summery of used bandwidth on each interface? All I treid ended with wrong values.
Any help would be appriciated.
@lex
-
- Posts: 7
- Joined: Mon Jan 14, 2008 1:58 pm
Total Traffic in/out Report
Hi,
today I figured it out. Some earlier posts and many tries brings me into the right direction.
For me the solution is f_sum*60. This differs to the other calculation in this thread. The step size in the step var is not correct on my cacti reportit installation, whyever. step has to be 60 (seconds) but the var is 17280!?
With the right step value of 60 all works fine.
Do somebody have an idea why my step value is 17280 not 60?
Thanks for this great tool, awesome work. Only hard to find the right info/docu.
@lex
today I figured it out. Some earlier posts and many tries brings me into the right direction.
For me the solution is f_sum*60. This differs to the other calculation in this thread. The step size in the step var is not correct on my cacti reportit installation, whyever. step has to be 60 (seconds) but the var is 17280!?
With the right step value of 60 all works fine.
Do somebody have an idea why my step value is 17280 not 60?
Thanks for this great tool, awesome work. Only hard to find the right info/docu.
@lex
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Re: Total Traffic in/out Report
We have to analyse this,derklugewolf wrote:Hi,
today I figured it out. Some earlier posts and many tries brings me into the right direction.
For me the solution is f_sum*60. This differs to the other calculation in this thread. The step size in the step var is not correct on my cacti reportit installation, whyever. step has to be 60 (seconds) but the var is 17280!?
With the right step value of 60 all works fine.
Do somebody have an idea why my step value is 17280 not 60?
Thanks for this great tool, awesome work. Only hard to find the right info/docu.
@lex
but at the moment I'm totally busy with the renovation of my house.
Hopefully I will have some time left next week. 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
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
-
- Posts: 7
- Joined: Mon Jan 14, 2008 1:58 pm
Total Traffic in/out Report
Hello Andreas,
thanks for your info.
Yesterday I found the failure in cacti and my brain
For some testing reasons for a billing solution I changed the rra row size for daily and weekly data sources in cacti.
This will end up in wrong messures in cacti's graphs and total confusion to me. Sorry.
setting back the rra row size to default falues fixed it.
So problem is solved and f_sum*step is the right calculation.
Regards
@lex
thanks for your info.
Yesterday I found the failure in cacti and my brain
For some testing reasons for a billing solution I changed the rra row size for daily and weekly data sources in cacti.
This will end up in wrong messures in cacti's graphs and total confusion to me. Sorry.
setting back the rra row size to default falues fixed it.
So problem is solved and f_sum*step is the right calculation.
Regards
@lex
Hi Andreas,
Can you offer me the 'patch_reportit_v071_mysql4.tar.gz'?
Because I have installed cacti 0.8.7e on CentOS 4.5 with Mysql4.
It seems that reportit_v061 cannot be installed on cacti 0.8.7e, right?
Following is my email & MSN:
Email Address: Alex.Gao@bertelsmann.com.cn
MSN: Alex_M_Gao@hotmail.com
BR,
Alex
Can you offer me the 'patch_reportit_v071_mysql4.tar.gz'?
Because I have installed cacti 0.8.7e on CentOS 4.5 with Mysql4.
It seems that reportit_v061 cannot be installed on cacti 0.8.7e, right?
Following is my email & MSN:
Email Address: Alex.Gao@bertelsmann.com.cn
MSN: Alex_M_Gao@hotmail.com
BR,
Alex
Auto Generated Data Items
Hi,
have i missunderstood the feature "Auto Generated Data Items" in report configuration?
I want to automatically add the dataitems to my report.
I set Report Configuration -> "Data Item Presets" -> Data Items Filter (optional) to "l%" <- i wannt all hosts with host description startin "l" (for linux p.e.)
Administration -> Scheduled Reporting:
* enabled is checked
* Auto Generated Data Items is checked,
* daily report is set.
=> starting report via cron/command-line:
i get an error: "REPORTIT ERROR: No data items defined."
(remark: when i use "add data item", i see my filter and all hosts starting with "l")
Thanks in advance....
ebini
have i missunderstood the feature "Auto Generated Data Items" in report configuration?
I want to automatically add the dataitems to my report.
I set Report Configuration -> "Data Item Presets" -> Data Items Filter (optional) to "l%" <- i wannt all hosts with host description startin "l" (for linux p.e.)
Administration -> Scheduled Reporting:
* enabled is checked
* Auto Generated Data Items is checked,
* daily report is set.
=> starting report via cron/command-line:
i get an error: "REPORTIT ERROR: No data items defined."
(remark: when i use "add data item", i see my filter and all hosts starting with "l")
Thanks in advance....
ebini
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Sounds like a bug. I'll have to check this.
Which version of ReportIt are you using?
Best regards
-Andreas-
Which version of ReportIt are you using?
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
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Who is online
Users browsing this forum: No registered users and 1 guest