From d712f4ca69af405167b4d3ad8aef2162b1415c4e Mon Sep 17 00:00:00 2001 From: FTBZ Date: Mon, 3 Oct 2016 18:33:23 +0200 Subject: [PATCH] Added Active GlobalProtect Tunnels graph to PANOS (#4654) feature: Added GlobalProtect sessions to PANOS --- .../graphs/device/panos_activetunnels.inc.php | 16 ++++++++++++++++ includes/definitions.inc.php | 5 +++++ includes/polling/os/panos.inc.php | 15 +++++++++++++++ sql-schema/141.sql | 1 + 4 files changed, 37 insertions(+) create mode 100644 html/includes/graphs/device/panos_activetunnels.inc.php create mode 100644 sql-schema/141.sql diff --git a/html/includes/graphs/device/panos_activetunnels.inc.php b/html/includes/graphs/device/panos_activetunnels.inc.php new file mode 100644 index 0000000000..4f7644a72d --- /dev/null +++ b/html/includes/graphs/device/panos_activetunnels.inc.php @@ -0,0 +1,16 @@ + $activetunnels, + ); + + $tags = compact('rrd_def'); + data_update($device, 'panos-activetunnels', $tags, $fields); + + $graphs['panos_activetunnels'] = true; +} diff --git a/sql-schema/141.sql b/sql-schema/141.sql new file mode 100644 index 0000000000..63aff0fbdb --- /dev/null +++ b/sql-schema/141.sql @@ -0,0 +1 @@ +INSERT INTO `graph_types`(`graph_type`, `graph_subtype`, `graph_section`, `graph_descr`, `graph_order`) VALUES ('device', 'panos_activetunnels', 'firewall', 'Active GlobalProtect Tunnels', '');