source: branches/fc15-dev/noc/html/load.php @ 1948

Last change on this file since 1948 was 42, checked in by presbrey, 16 years ago
scripts.mit.edu NOC graphing
File size: 372 bytes
Line 
1<?php
2require_once('rrdgraph.inc.php');
3require_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
10outputGraph(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.