ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/rrdgraphing/watch.pl
(Generate patch)

Comparing projects/cms/source/reports/rrdgraphing/watch.pl (file contents):
Revision 1.9 by tdb, Thu Feb 10 17:35:58 2005 UTC vs.
Revision 1.13 by tdb, Thu Nov 23 16:37:44 2006 UTC

# Line 44 | Line 44 | use RRDs;
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
49 >    $hex_slash $hex_underscore $hex_space $hex_colon $hex_bslash $hex_rbracket
50 >    $hex_lbracket $hex_plus $hex_hash
51      $rrdstep $retry_wait
52      $verbose $quiet
53   };
# Line 343 | Line 344 | sub processdata() {
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 +                $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                           );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines