69 lines
1.6 KiB
PHP
69 lines
1.6 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage graphs
|
|
* @copyright (C) Adam Armstrong
|
|
*
|
|
*/
|
|
|
|
$ds_in = "INERRORS";
|
|
$ds_out = "OUTERRORS";
|
|
|
|
$colour_area_in = $config['colours']['graphs']['errors']['in_area'];
|
|
$colour_line_in = $config['colours']['graphs']['errors']['in_line'];
|
|
|
|
$colour_area_out = $config['colours']['graphs']['errors']['out_area'];
|
|
$colour_line_out = $config['colours']['graphs']['errors']['out_line'];
|
|
|
|
$colour_area_in_max = $config['colours']['graphs']['errors']['in_max'];
|
|
$colour_area_out_max = $config['colours']['graphs']['errors']['out_max'];
|
|
|
|
$graph_max = 1;
|
|
$unit_text = "Errors/s";
|
|
|
|
$args['nototal'] = 1;
|
|
$print_total = 0;
|
|
$nototal = 1;
|
|
|
|
include($config['html_dir'] . "/includes/graphs/generic_duplex.inc.php");
|
|
|
|
|
|
|
|
|
|
/*
|
|
$rrd_list[1]['filename'] = $rrd_filename;
|
|
$rrd_list[1]['descr'] = $int['ifDescr'];
|
|
$rrd_list[1]['ds_in'] = "INERRORS";
|
|
$rrd_list[1]['ds_out'] = "OUTERRORS";
|
|
$rrd_list[1]['descr'] = "Errors";
|
|
$rrd_list[1]['colour_area_in'] = "FF3300";
|
|
$rrd_list[1]['colour_area_out'] = "FF6633";
|
|
|
|
/*
|
|
$rrd_list[4]['filename'] = $rrd_filename;
|
|
$rrd_list[4]['descr'] = $int['ifDescr'];
|
|
$rrd_list[4]['ds_in'] = "INDISCARDS";
|
|
$rrd_list[4]['ds_out'] = "OUTDISCARDS";
|
|
$rrd_list[4]['descr'] = "Discards";
|
|
$rrd_list[4]['colour_area_in'] = "805080";
|
|
$rrd_list[4]['colour_area_out'] = "c0a060";
|
|
*/
|
|
/*
|
|
$units='';
|
|
$unit_text='Errors/sec';
|
|
$total_units='B';
|
|
$colours_in='greens';
|
|
$multiplier = "1";
|
|
$colours_out = 'blues';
|
|
|
|
$args['nototal'] = 1;
|
|
|
|
include($config['html_dir']."/includes/graphs/generic_multi_separated.inc.php");
|
|
*/
|
|
// EOF
|