mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* add munging to generic stats graph include * add graph_uptime_days config def * make it optionally changable now * style fix * remove the graph_uptime_days option
19 lines
252 B
PHP
19 lines
252 B
PHP
<?php
|
|
|
|
$scale_min = 0;
|
|
|
|
$filename = Rrd::name($device['hostname'], 'uptime');
|
|
|
|
$ds = 'uptime';
|
|
|
|
$colours = 'greens';
|
|
$float_precision = 3;
|
|
|
|
$descr = 'Uptime';
|
|
|
|
$munge = true;
|
|
|
|
$unit_text = 'Days';
|
|
|
|
require 'includes/html/graphs/generic_stats.inc.php';
|