No worries, happy to help. I've been hunting around to find any documentation I can on trend prediction to try and get my head around the formula involved but haven't really found much yet. The good thing is that as I'm doing this is for work I can spend a bit of time trawling the net to find info but haven't had much luck so far. I've done a bit of PHP coding so might be able to hack something into the source. If I come up with anything I'll let you know.browniebraun wrote: Hi Mule!
Many thanks for your help! I know it's time for a clean-up and time to replace all of these ugly inline arguments.
Beside a new plugin I'm currently working on 0.7.3 where I will implement the two new functions "f_high" and "f_low". (Similar to that what Hinzel has proposed but without the limitation of 2 parameters.)
I only did the first step for trending with the creation of f_grd. Probably somebody has a good idea how to calculate the number of seconds until a threshold will be exceeded.
Best regards
-Andreas-
Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Moderators: Developers, Moderators
Re: can't get it to show up
I am having the same problem only it was a fresh install. Other plugins are working but I don't know why this one isn't. How are the tables in mysql created for reportit? I don't see a script to import into the cacti database. In the README it says to go to the plugin management console and press 'install'.....I don';t have any such button or link in the cacti plugin management console v2.8.nuzzy wrote:I had a really old version of reportit and ran the uninstall.php file and then completely removed it. I untarred 0.7.2 and placed it in my plugins directory, but it's not showing up under "Plugin Management". I'm running 0.8.7g and 2.8 PIA. Any ideas why this is happening?
Cacti 0.87g
reportit 0.72
Plugin Arch 2.8
Ubuntu 10.4
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
ReportIt does not require a separate sql file for the installation. All tables will be created during the installation via the Plugin Management Console.
Please disable all plugins to ensure, that there's not conflict with another plugin.
I have the feeling I had a similar issue with another user some weeks ago. He had made more than one mistake, but I can not remember all the things we have tried.
Best regards
-Andreas-
Please disable all plugins to ensure, that there's not conflict with another plugin.
I have the feeling I had a similar issue with another user some weeks ago. He had made more than one mistake, but I can not remember all the things we have tried.
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
using reportit to report low disk space
Is anyone using reportit to measure low disk space? I can't seem to figure out the measurands/variables for it to set it up.
edit: This is for Windows disk space.
edit: This is for Windows disk space.
Cacti 0.8.8a on CentOS
Re: using reportit to report low disk space
I'm graphing disk space using the "Host MIB - Available Disk Space" data template which gives an hdd_used and hdd_total data sources. I then have the measurands configured like this (c1v is the threshold which I have set at 75% for testing):nuzzy wrote:Is anyone using reportit to measure low disk space? I can't seem to figure out the measurands/variables for it to set it up.
edit: This is for Windows disk space.
Which gives this sort of output (server names removed):
I probably shouldn't put Virtual Memory on there as that can be variable but it works quite nicely for Physical Memory.
Not sure if that will help but will hopefully give some ideas what to look at.
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Great to see somebody posting his report template here!
(Sometimes I'm feeling lonely )
Yesterday evening I contacted George directly to help him with the setup of a report template for that WMI data template. Instead of the used space it contains the free space, so that the formulas will differ a little bit.
ReportIt contains the possibility to export and import report templates. It would be really, really great if professionals like you would share their knowledge with the upload of report templates here.
That makes it much more easier for beginners to get a read in the way how formulas are working.
Best regards
-Andreas-
(Sometimes I'm feeling lonely )
Yesterday evening I contacted George directly to help him with the setup of a report template for that WMI data template. Instead of the used space it contains the free space, so that the formulas will differ a little bit.
ReportIt contains the possibility to export and import report templates. It would be really, really great if professionals like you would share their knowledge with the upload of report templates here.
That makes it much more easier for beginners to get a read in the way how formulas are working.
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
Reportit vs nectar?
I was poking around in the cactiusers.org forum, and found a post that reportit is being replaced by nectar?
Did I misunderstand, or what here? Reportit does seem to operate slightly disconnected from the rest of the cacti plugins, and I just wonder what the distinctions are between reportit and nectar?
We've been using reportit for a couple of years to send usage reports to our users. The only difficulty is that reportit CSV attachments give many of our users fits.
It does look like I could send an HTML-based usage report via nectar, but what does it lack in report interval flexibility?
Sorry for posting here, I didn't want to cross-post, and I did not find a (more) appropriate thread to post in.
Did I misunderstand, or what here? Reportit does seem to operate slightly disconnected from the rest of the cacti plugins, and I just wonder what the distinctions are between reportit and nectar?
We've been using reportit for a couple of years to send usage reports to our users. The only difficulty is that reportit CSV attachments give many of our users fits.
It does look like I could send an HTML-based usage report via nectar, but what does it lack in report interval flexibility?
Sorry for posting here, I didn't want to cross-post, and I did not find a (more) appropriate thread to post in.
---------
The Glue Guy
The Glue Guy
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Re: Reportit vs nectar?
Nope, Nectar is the successor of "Reports" not ReportIt. It offers the possibility to generate emails containing graphs and (as far as I know) other elements. You're right - with the exception of "Settings" ReportIt operates disconnected from the rest of the other Cacti plugins. The main difference to other plugins is that ReportIt supports working days as well as shift times and allows to make real calculations based on the raw data. ReportIt is still in development, but at the moment I'm running a little bit out of time. (We have issues with water in one room of our cellar And I'm currently working on a new plugin ).GlueGuy wrote:I was poking around in the cactiusers.org forum, and found a post that reportit is being replaced by nectar?
Did I misunderstand, or what here? Reportit does seem to operate slightly disconnected from the rest of the cacti plugins, and I just wonder what the distinctions are between reportit and nectar?
We've been using reportit for a couple of years to send usage reports to our users. The only difficulty is that reportit CSV attachments give many of our users fits.
It does look like I could send an HTML-based usage report via nectar, but what does it lack in report interval flexibility?
Sorry for posting here, I didn't want to cross-post, and I did not find a (more) appropriate thread to post in.
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
Hinzel wrote:would it be possible to do it this way?browniebraun wrote: Hello Hinzel!
Many thanks for your feedback.
I'm planning to release 0.7.3 within the next weeks which will include some bug fixes and some improvements. Please open a feature request:
http://sourceforge.net/tracker/?group_id=201406&atid=977438.
That makes it easy for me to keep requests in mind.
I want to implement that feature by generating automatically additional interim results per measurand:
For example: If a measurand named "AVG" has been calculated then you will be able to use additional interim results like AVG:_highest, AVG:_lowest, AVG:_sum, AVG:_avg in another measurand.
That's the plan.
Best regards
-Andreas-
f_high(value#1, value#2)
and have the function return the highest of the 2?
For example, you could calculate the 95th of traffic_in and traffic_out, then pass both values to the function and it would return the highest.
95th = f_xth(95)*8
highest = f_high(95th:traffic_in, 95th:traffic_out)
or something like that? would be pretty easy to make a f_low as well based on that criteria
edit: actually i believe this should do. just trying to figure out how to plug it into reportit.
Code: Select all
#cat funct_calculate.php ... function f_high(&$array, &$p_cache, $value1, $value2) { if(empty($array)) { $p_cache['f_high'] = REPORTIT_NAN; return $p_cache['f_high']; } if ($value1 > $value2) { $p_cache['f_high'] = $value1; } else { $p_cache['f_high'] = $value2; } return $p_cache['f_high']; } function f_low(&$array, &$p_cache, $value1, $value2) { if(empty($array)) { $p_cache['f_low'] = REPORTIT_NAN; return $p_cache['f_low']; } if ($value1 < $value2) { $p_cache['f_low'] = $value1; } else { $p_cache['f_low'] = $value2; } return $p_cache['f_low']; } ...
Both functions are available in the current SVN, but the number of parameters is not limited. (http://svn.cacti.net/viewvc/reportit/branch/0.7.x/?root=Plugins)
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
Links don't show up
The links for the column headings don't show up for me. They are white until I hover over them.
[/img]
[/img]
- Attachments
-
- Screenshot1.png (145.32 KiB) Viewed 5554 times
-
- Screenshot2.png (137.28 KiB) Viewed 5554 times
-
- Screenshot3.png (143.72 KiB) Viewed 5554 times
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Re: Links don't show up
Fixed. Please take a look at the SVN as long as 0.7.3 has not been released._JPL_ wrote:The links for the column headings don't show up for me. They are white until I hover over them.
[/img]
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