46 |
|
use vars qw{ |
47 |
|
$imgdir $rrddir |
48 |
|
$maxrrdage $maximgage $deleterrds $deleteimgs |
49 |
< |
$hex_slash $hex_underscore $hex_space $hex_colon $hex_bslash |
49 |
> |
$hex_slash $hex_underscore $hex_space $hex_colon $hex_bslash $hex_rbracket |
50 |
> |
$hex_lbracket $hex_plus |
51 |
|
$rrdstep $retry_wait |
52 |
|
$verbose $quiet |
53 |
|
}; |
344 |
|
$name =~ s/\\/$hex_bslash/g; |
345 |
|
$name =~ s/ /$hex_space/g; |
346 |
|
$name =~ s/:/$hex_colon/g; |
347 |
+ |
$name =~ s/\(/$hex_lbracket/g; |
348 |
+ |
$name =~ s/\)/$hex_rbracket/g; |
349 |
+ |
$name =~ s/\+/$hex_plus/g; |
350 |
|
@data = ( "packet.net.p$i.attributes.rx:rx:GAUGE", |
351 |
|
"packet.net.p$i.attributes.tx:tx:GAUGE", |
352 |
|
); |