mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* add suricata_extract * convert from dervive to gauge and use delta * add suricata_extract to includes/html/pages/apps.inc.php * graph cleanup * add sub_size * add sub_size graph * add docs for suricata extract * add tests for suricata_extract * add rules for suricata extract * minor test tweaks
13 lines
302 B
PHP
13 lines
302 B
PHP
<?php
|
|
|
|
$ds = 'sub_2xx';
|
|
$unit_text = 'HTML Status';
|
|
$descr = '2xx';
|
|
$filename = Rrd::name($device['hostname'], ['app', 'suricata_extract', $app->app_id]);
|
|
|
|
if (! Rrd::checkRrdExists($filename)) {
|
|
d_echo('RRD "' . $filename . '" not found');
|
|
}
|
|
|
|
require 'includes/html/graphs/generic_stats.inc.php';
|