Error running reportit

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Error running reportit

Post by wtb1 »

This is my first shot at running reportit. I am investigating if it is something I want to implement in our current monitoring. I have set up a test report to get the avg bandwidth used on a router for one interface. When I run the report I get errors saying :

Notice: A non well formed numeric value encountered in C:\xampp\htdocs\cacti\plugins\reportit\lib_int\funct_runtime.php on line 383

Notice: A non well formed numeric value encountered in C:\xampp\htdocs\cacti\plugins\reportit\lib_int\funct_runtime.php on line 389

Notice: A non well formed numeric value encountered in C:\xampp\htdocs\cacti\plugins\reportit\lib_int\funct_runtime.php on line 383

Notice: A non well formed numeric value encountered in C:\xampp\htdocs\cacti\plugins\reportit\lib_int\funct_runtime.php on line 389

But when I click View I can see the data.

Any thought?
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Hi!
IMO you've selected the wrong section. This should be posted under Plugin General. :wink: Maybe one of the administrators can move it.

Okay, I think you're using v0.4.2 and the type of connection is set to "RRDtool Cacti". Then it should be an issue with the transformation process, so please try this by adding the following line to function "strtoNAN" contained in function_runtime.php

Code: Select all

old:
if($nan == 'nan') $value = reportit_NAN;

new:
if($nan == 'nan') $value = reportit_NAN;
else $value = doubleval($value);

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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests