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.10 by tdb, Wed Jun 15 10:41:25 2005 UTC

# Line 46 | Line 46 | use RRDs;
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   };
# 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_rbracket/g;
348 +                $name =~ s/\)/$hex_lbracket/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                           );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines