mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* update fail2ban better stat graphs * style fix * add rainbow color pallete * cleanup colors and make it more easily understandable via using the new rainbow colour pallete * a bit more color tweaking * green is easier on the eyes * style fix * fix hgandling for smaller graphs for some things * for <= height graphs, use area * rework the area bit and add a alpha * style cleanup * more style cleanup * mm... colourA does work a lot nicer if the same as colour * add two more palletes and make the purple the default * only include 1d once as that as some versions of rrd break if it is twice * move time_diff to the proper location
14 lines
315 B
PHP
14 lines
315 B
PHP
<?php
|
|
|
|
$unit_text = 'Banned IPs';
|
|
$descr = 'Banbed';
|
|
$ds = 'banned';
|
|
|
|
$filename = Rrd::name($device['hostname'], ['app', $app->app_type, $app->app_id, $vars['jail']]);
|
|
|
|
if (! Rrd::checkRrdExists($filename)) {
|
|
d_echo('RRD "' . $filename . '" not found');
|
|
}
|
|
|
|
require 'includes/html/graphs/generic_stats.inc.php';
|