Files
librenms-librenms/includes/html/graphs/device/uptime.inc.php
Zane C. Bowers-Hadley 7505c89586 add generic stats graph munging support and make uptime display as days again (#15097)
* 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
2023-08-02 08:36:25 -05:00

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';