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