44 |
|
# define variables that will be read from the config |
45 |
|
# nb. keep this insync with the config file! |
46 |
|
use vars qw{ |
47 |
< |
$imgdir $rrddir |
47 |
> |
$imgdir $imgwidth $imgheight $rrddir |
48 |
|
$maxrrdage $maximgage $deleterrds $deleteimgs |
49 |
|
$hex_slash $hex_underscore $hex_space $hex_colon $hex_bslash $hex_rbracket |
50 |
< |
$hex_lbracket $hex_plus |
50 |
> |
$hex_lbracket $hex_plus $hex_hash |
51 |
|
$rrdstep $retry_wait |
52 |
|
$verbose $quiet |
53 |
|
}; |
347 |
|
$name =~ s/\(/$hex_lbracket/g; |
348 |
|
$name =~ s/\)/$hex_rbracket/g; |
349 |
|
$name =~ s/\+/$hex_plus/g; |
350 |
+ |
$name =~ s/#/$hex_hash/g; |
351 |
|
@data = ( "packet.net.p$i.attributes.rx:rx:GAUGE", |
352 |
|
"packet.net.p$i.attributes.tx:tx:GAUGE", |
353 |
|
); |