source: tags/fc13-eol/noc/html/mysql.php @ 2843

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