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.11 by tdb, Wed Jun 15 15:39:25 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 $hex_rbracket
50 <    $hex_lbracket $hex_plus
50 >    $hex_lbracket $hex_plus $hex_hash
51      $rrdstep $retry_wait
52      $verbose $quiet
53   };
# Line 347 | Line 347 | sub processdata() {
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