Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Add following lines to the current mon-lib, rigth above the if ($type =~ /HISTO/) or use the mon-lib file available with the distribution
    Code Block
    if ($type =\~ /SMOKE/) {
            
              $site = "$table\[$i\]\[$nodecolumn-5\]";
              if($FORM{'by'}=~/node/)
              {$more = "&by=node";}
            
              if($FORM{'by'}=~/site/)
              {$more = "&by=site";}
            
              $label = "";
                      $min = "";
                      $max="";
                      $data = "";
    
            }
    
    pingtable.pl
  • Add the following line into pingtable.pl
    Code Block
    $config{URLCOLUMN0} = "SMOKE http://203.99.50.206/cgi-bin/asma/OtherParams2.cgi?src_regexp= ";
    
  • This is to be added above the following line:
    Code Block
    $config{URLCOLUMN1} = "COLLECTION http://www.hep.net/cgi-bin/graph_pings.pl?src_regexp= ";
    
    Graph.cgi
  • Change the following path to point to 'rrdtool' installation 
    Code Block
    use lib qw( /usr/local/rrdtool-1.2.12/lib/perl );
    
  • Change following link(present on line 36,242) to point to installation of Graph.cgi:
    Code Block
    http://www.<path-of-server>.com/cgi-bin/graph.cgi
    
  • also modify the following relative path to GraphCache from folder containg Graph.cgi
    Code Block
    my $imgsrc='../GraphCache';
    
    It is used in:
    line (IMG SRC=\'$imgsrc/$destlink1.png\')
    And
    line (IMG SRC=\'$imgsrc/$destlink1"."_mini.png\')
    

...