Thread: HotSaNIC
View Single Post
  #12  
Old 28th July 2006, 11:18
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

furthermore I cannot get it running with rrdtool 1.2.14 - when running ./diagrams.pl I get the following errors for each module:

Quote:
----- modules/traffic -----
creating images for eth0 ...
Use of uninitialized value in print at ./diagrams.pl line 148 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.

To help you figure out what was undefined, perl tells you what operation
you used the undefined value in. Note, however, that perl optimizes your
program and the operation displayed in the warning may not necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.

hour x /var/www/web1/web/serverstats/traffic/eth0-hour.gif
Use of uninitialized value in printf at ./diagrams.pl line 220 (#1)
6 hours 0x0 /var/www/web1/web/serverstats/traffic/eth0-6h.gif
day 0x0 /var/www/web1/web/serverstats/traffic/eth0-day.gif
week 0x0 /var/www/web1/web/serverstats/traffic/eth0-week.gif
month 0x0 /var/www/web1/web/serverstats/traffic/eth0-month.gif
year 0x0 /var/www/web1/web/serverstats/traffic/eth0-year.gif
and no images and neither thumbnails get created.
Any ideas? if not I will have to convert back to rrdtool 1.xxx
Reply With Quote