From f6db0a505aecaa47898b114e04550908c54a0359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Rosiak?= Date: Wed, 28 Sep 2016 10:00:35 +0300 Subject: [PATCH] feature: Add Cisco WAAS Optimized TCP Connections Graph (#4645) * feature: Add Cisco WAAS Optimized TCP Connections Graph * fix names --- .../waas_cwotfostatsactiveoptconn.inc.php | 19 +++++++++++++++++++ includes/definitions.inc.php | 5 +++++ includes/polling/os/waas.inc.php | 14 ++++++++++++++ sql-schema/140.sql | 1 + 4 files changed, 39 insertions(+) create mode 100644 html/includes/graphs/device/waas_cwotfostatsactiveoptconn.inc.php create mode 100644 sql-schema/140.sql diff --git a/html/includes/graphs/device/waas_cwotfostatsactiveoptconn.inc.php b/html/includes/graphs/device/waas_cwotfostatsactiveoptconn.inc.php new file mode 100644 index 0000000000..0d788bab32 --- /dev/null +++ b/html/includes/graphs/device/waas_cwotfostatsactiveoptconn.inc.php @@ -0,0 +1,19 @@ + $connections + ); + + $tags = compact('rrd_def'); + data_update($device, 'waas_cwotfostatsactiveoptconn', $tags, $fields); + $graphs['waas_cwotfostatsactiveoptconn'] = true; +} diff --git a/sql-schema/140.sql b/sql-schema/140.sql new file mode 100644 index 0000000000..0617e3634b --- /dev/null +++ b/sql-schema/140.sql @@ -0,0 +1 @@ +INSERT INTO `graph_types`(`graph_type`, `graph_subtype`, `graph_section`, `graph_descr`, `graph_order`) VALUES ('device', 'waas_cwotfostatsactiveoptconn', 'graphs', 'Optimized TCP Connections', '');