Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
At the moment I can not reconstruct the issue you are currently having regarding ReportIt 0.7.2 and Cacti 0.8.7g.
Can you send me more information via PM? Is there only one report affected or does that happen with every report?
today I have upgraded from Cacti 8.7e to latest 8.7g, installed the latest PIA 8.7g, and copied the new ReportIt 0.7.2 into the plugin directory. All working fine, I was able to install/enable the plugin, however when I looked on the existing report (it got it from previous version from the DB I think), I see a lot of the following error messages:
Notice: Undefined index: data_type in /usr/share/cacti/site/plugins/reportit/cc_view.php on line 683
Notice: Undefined index: data_precision in /usr/share/cacti/site/plugins/reportit/cc_view.php on line 684
This message is repeated many times, probably for every item in the list. The report tables is below all of these error messages, but instead of interger values it contains this error message in every cell:
Notice: Undefined index: in /usr/share/cacti/site/plugins/reportit/lib_int/funct_shared.php on line 35
I have tried to rerun the report, it runs it without any complains, but viewing it in Reports tab produces exactly the same output as above. I am attaching the tech_support details.
today I have upgraded from Cacti 8.7e to latest 8.7g, installed the latest PIA 8.7g, and copied the new ReportIt 0.7.2 into the plugin directory. All working fine, I was able to install/enable the plugin, however when I looked on the existing report (it got it from previous version from the DB I think), I see a lot of the following error messages:
Notice: Undefined index: data_type in /usr/share/cacti/site/plugins/reportit/cc_view.php on line 683
Notice: Undefined index: data_precision in /usr/share/cacti/site/plugins/reportit/cc_view.php on line 684
This message is repeated many times, probably for every item in the list. The report tables is below all of these error messages, but instead of interger values it contains this error message in every cell:
Notice: Undefined index: in /usr/share/cacti/site/plugins/reportit/lib_int/funct_shared.php on line 35
I have tried to rerun the report, it runs it without any complains, but viewing it in Reports tab produces exactly the same output as above. I am attaching the tech_support details.
There's a bug in ReportIt's upgrade procedure, so that two new columns are missing. Their content is necessary to format the results. You do not have to rerun your reports!
Login to your mysql server and execute following commands:
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?
At the moment I can not reconstruct the issue you are currently having regarding ReportIt 0.7.2 and Cacti 0.8.7g.
Can you send me more information via PM? Is there only one report affected or does that happen with every report?
Best regards
-Andreas-
I've struck this same issue and after sitting down and looking at the source for a bit realized that it's probably related to the browser being used. I predominantly use Firefox and it was missing the bgcolor from the tables however in Internet Explorer it was all there.
Digging through the source showed me that sometimes bgcolor='#abcdef' is used, and other places bgcolor='abcdef' (with and without the hash).
After updating all bgcolor entries to include the hash Firefox is again displaying the tables correctly.
BTW, I love this plugin! Are there any plans to extend the reporting to do future predictions (trending/capacity management stuff) and/or calculate when a resource will run out (50 days until the D: drive utilization is at 100% given the current rate of growth)?
Updates I did to fix it for Firefox. It should apply cleanly being put in the reportit directory then run: mv bgcolorfix.diff.txt bgcolorfix.diff (may not be necessary, long time since I've used patch heavily) patch -p1 < bgcolorfix.diff
Mule wrote:
I've struck this same issue and after sitting down and looking at the source for a bit realized that it's probably related to the browser being used. I predominantly use Firefox and it was missing the bgcolor from the tables however in Internet Explorer it was all there.
Digging through the source showed me that sometimes bgcolor='#abcdef' is used, and other places bgcolor='abcdef' (with and without the hash).
After updating all bgcolor entries to include the hash Firefox is again displaying the tables correctly.
BTW, I love this plugin! Are there any plans to extend the reporting to do future predictions (trending/capacity management stuff) and/or calculate when a resource will run out (50 days until the D: drive utilization is at 100% given the current rate of growth)?
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.