| 
                Last change
                  on this file since 1095 was
                  42,
                  checked in by presbrey, 19 years ago
           | 
        
        
          | 
            scripts.mit.edu NOC graphing
           | 
        
        | 
            File size:
            337 bytes
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [42] | 1 | <?php | 
|---|
 | 2 | require_once('rrdgraph.inc.php'); | 
|---|
 | 3 | require_once('rrdgraph.lib.php'); | 
|---|
 | 4 |  | 
|---|
 | 5 | $RRD_IGNORE['ping'][] = 'losspct'; | 
|---|
 | 6 |  | 
|---|
 | 7 | $time = isset($_GET['t'])?rrd_time($_GET['t']):100000; | 
|---|
 | 8 |  | 
|---|
 | 9 | outputGraph(array('b-m', | 
|---|
 | 10 |                   'o-f', | 
|---|
 | 11 |                   'k-s', | 
|---|
 | 12 |                   's-b', | 
|---|
 | 13 |                   'n-f', | 
|---|
 | 14 |                   'n-b'), | 
|---|
 | 15 |                   'PING', $time, array('legend'=>1, | 
|---|
 | 16 |                                         'title'=>'%s', | 
|---|
 | 17 |                                         'geom'=>array(403,146))); | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.