Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2016-06-08 20:40:51 -05:00
<?php
2016-06-09 00:40:04 -05:00
/**
* rrdcached_events.inc.php
*
* Generates a combined graph of events for rrdcached
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
2021-02-09 00:29:04 +01:00
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2016-06-09 00:40:04 -05:00
*
2021-02-09 00:29:04 +01:00
* @link https://www.librenms.org
2021-09-10 20:09:53 +02:00
*
2016-06-09 00:40:04 -05:00
* @copyright 2016 Tony Murray
* @author Tony Murray <[email protected]>
*/
2016-06-08 20:40:51 -05:00
include 'rrdcached.inc.php';
$nototal = 1;
$colours = 'mixed';
$descr_len = 16;
2016-06-08 20:40:51 -05:00
$rrd_list = [
2020-09-21 15:40:17 +02:00
[
2016-06-08 20:40:51 -05:00
'ds' => 'updates_written',
'filename' => $rrd_filename,
'descr' => 'Updates Written',
],
2020-09-21 15:40:17 +02:00
[
2016-06-08 20:40:51 -05:00
'ds' => 'data_sets_written',
'filename' => $rrd_filename,
'descr' => 'Data Sets Written',
],
2020-09-21 15:40:17 +02:00
[
2016-06-08 20:40:51 -05:00
'ds' => 'updates_received',
'filename' => $rrd_filename,
2016-06-15 14:51:23 +02:00
'descr' => 'Updates Received',
2016-06-08 20:40:51 -05:00
],
2020-09-21 15:40:17 +02:00
[
2016-06-08 20:40:51 -05:00
'ds' => 'flushes_received',
'filename' => $rrd_filename,
2016-06-15 14:51:23 +02:00
'descr' => 'Flushes Received',
2016-06-08 20:40:51 -05:00
],
];
2019-04-11 23:26:42 -05:00
require 'includes/html/graphs/generic_multi_line.inc.php';