Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Moderators: Developers, Moderators
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
Hi All,
I've created a simple report that shows Maximum Value of the Data Source of the interface by using maxRRDValue. It is used to calculate the utilization of the interfaces which their speed change dynamically. However, it seems not working for all of the interfaces. I've set the Maximum Value to 30M (30000000) but the report shows as 200M (200000000). How can I fix it?
I've created a simple report that shows Maximum Value of the Data Source of the interface by using maxRRDValue. It is used to calculate the utilization of the interfaces which their speed change dynamically. However, it seems not working for all of the interfaces. I've set the Maximum Value to 30M (30000000) but the report shows as 200M (200000000). How can I fix it?
- 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)
Please duplicate that report, reduce the number of data items to that special one and generate a debug file for me.
One question: Is it possible to read out the current bandwith (e.g. shaping value) of that interface via SNMP? If the bandwidth changes dynamically then it would make sense to visualize that in the graphs too.
Regards
-Andi
One question: Is it possible to read out the current bandwith (e.g. shaping value) of that interface via SNMP? If the bandwidth changes dynamically then it would make sense to visualize that in the graphs too.
Regards
-Andi
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
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
It is not possible to gather shaping value because it is set by the ISP
I run the report with onlyone interface then I realized that maxRRDValue for the interface become 40M which was 200M previously. I think that the first interface in the report seems as 40M.
I gather the log file in debugging mode, then I filter the lines that contain DEBUG.
Thanks for your help.
I run the report with onlyone interface then I realized that maxRRDValue for the interface become 40M which was 200M previously. I think that the first interface in the report seems as 40M.
I gather the log file in debugging mode, then I filter the lines that contain DEBUG.
Thanks for your help.
- 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)
No, no, ReportIt has its own debug mode. Using the CLI you have to execute the runtime script in its folder.
Run that script with: e.g "php runtime.php" to get an overview of the options.
-Andi
Run that script with: e.g "php runtime.php" to get an overview of the options.
-Andi
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
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
I've generated the debug file.
Thanks.
Thanks.
- 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)
Looks like an inappropriate SLQ query.
I hope I will have some time left this evening to take a close look at this.
Regards
-Andi
I hope I will have some time left this evening to take a close look at this.
Regards
-Andi
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
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
I had changed that part for 0.7.4 months ago. Please try out these patches:kerem wrote:I've generated the debug file.
Thanks.
http://svn.cacti.net/viewvc/reportit/trunk/lib_int/funct_runtime.php?root=Plugins&r1=1352&r2=1377&view=patch
http://svn.cacti.net/viewvc/reportit/trunk/runtime.php?r1=1377&r2=1376&pathrev=1377&root=Plugins&view=patch
Regards
-Andi
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
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
Hi,
I've got an error message:
root@cacti:/usr/share/cacti# sudo patch -p1 -N < funct_runtime.php
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- reportit/trunk/lib_int/funct_runtime.php 2010/11/15 19:04:46 1352
|+++ reportit/trunk/lib_int/funct_runtime.php 2010/12/11 15:29:29 1377
--------------------------
File to patch: /usr/share/cacti/site/plugins/reportit/lib_int/funct_runtime.php
patching file /usr/share/cacti/site/plugins/reportit/lib_int/funct_runtime.php
Hunk #1 FAILED at 74.
Hunk #2 FAILED at 83.
Hunk #3 FAILED at 138.
3 out of 3 hunks FAILED -- saving rejects to file /usr/share/cacti/site/plugins/reportit/lib_int/funct_runtime.php.rej
I've got an error message:
root@cacti:/usr/share/cacti# sudo patch -p1 -N < funct_runtime.php
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- reportit/trunk/lib_int/funct_runtime.php 2010/11/15 19:04:46 1352
|+++ reportit/trunk/lib_int/funct_runtime.php 2010/12/11 15:29:29 1377
--------------------------
File to patch: /usr/share/cacti/site/plugins/reportit/lib_int/funct_runtime.php
patching file /usr/share/cacti/site/plugins/reportit/lib_int/funct_runtime.php
Hunk #1 FAILED at 74.
Hunk #2 FAILED at 83.
Hunk #3 FAILED at 138.
3 out of 3 hunks FAILED -- saving rejects to file /usr/share/cacti/site/plugins/reportit/lib_int/funct_runtime.php.rej
- 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)
You can download the files directly if you like:
see http://svn.cacti.net/viewvc/reportit/trunk/lib_int/funct_runtime.php?root=Plugins&view=log
regards
-Andi
see http://svn.cacti.net/viewvc/reportit/trunk/lib_int/funct_runtime.php?root=Plugins&view=log
regards
-Andi
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
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
It is working perfectly. It is a huge step for me. My next step is generating alerts according to data source max values by using threshold plugin.
I think that objects should have extra variables in cacti for using them in plugins. For example, interfaces may have actual speed variable then it can be easily used in plugins,formulas etc.
Thanks Andi.
I think that objects should have extra variables in cacti for using them in plugins. For example, interfaces may have actual speed variable then it can be easily used in plugins,formulas etc.
Thanks Andi.
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
when I configure the "Report Configurations",a error is display that "Validation error",How am I going to do?
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
help ! the ‘cancel’ ‘creat’ button disappeared ......
- Attachments
-
- 报表功能.jpg (111.6 KiB) Viewed 4074 times
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
Is there a repository of report templates available?
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
Hello Andi,
We are using the 0.7.1 version of the plugin and one of the configured reports has stuck in "in process" state. I could not delete it since there is a lock icon in place of the tick box. Is there a way to delete this report?
Thanks in advance,
PB.
We are using the 0.7.1 version of the plugin and one of the configured reports has stuck in "in process" state. I could not delete it since there is a lock icon in place of the tick box. Is there a way to delete this report?
Thanks in advance,
PB.
- Attachments
-
- report.JPG (13.66 KiB) Viewed 3957 times
Re: Report plugin ''ReportIt" - v0.7.3 (released 28/11/10)
Ok, problem is solved, I've run a debug on it and state is cleared.PBbreak wrote:Hello Andi,
We are using the 0.7.1 version of the plugin and one of the configured reports has stuck in "in process" state. I could not delete it since there is a lock icon in place of the tick box. Is there a way to delete this report?
Thanks in advance,
PB.
reportit]# php runtime.php --debug 4
Who is online
Users browsing this forum: No registered users and 0 guests