From 3804ee001e8bb1c3fc4e2ca0582927fdd86783fc Mon Sep 17 00:00:00 2001 From: Rosiak Date: Sun, 15 Feb 2015 12:39:58 +0100 Subject: [PATCH 1/3] Basic Barracuda Loadbalancer Support Very basic discovery support for the Barracuda Loadbalancers. --- html/images/os/barracuda.png | Bin 0 -> 380 bytes includes/definitions.inc.php | 9 +++++++++ includes/discovery/os/barracuda.inc.php | 17 +++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 html/images/os/barracuda.png create mode 100644 includes/discovery/os/barracuda.inc.php diff --git a/html/images/os/barracuda.png b/html/images/os/barracuda.png new file mode 100644 index 0000000000000000000000000000000000000000..ed2701f2e09583a5961d734789c4a97c29e961e0 GIT binary patch literal 380 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfv(Ey(iS0JrewNJKUk4*UoZO%S49bx4zgZ3ffxlI9f2JX^V#o z`^hCw-wPbNy@h!~+j?cEuHTjWmBVvflt1<8PYiZ3c^}dBGvV>l!h6^2U#HZ4{i7sO zU9?6P=s499*NBpo#FA92 +* 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. Please see LICENSE.txt at the top level of +* the source code distribution for details. +*/ +if (!$os) { + if (stristr($sysDescr, "Barracuda Load Balancer") || stristr($sysDescr, "Barracuda Load Balancer ADC")) { + $os = "barracudaloadbalancer"; + } +} +?> From 68ce77d3e510c9f0015558e22886810c4414b59d Mon Sep 17 00:00:00 2001 From: Rosiak Date: Sun, 15 Feb 2015 14:36:44 +0100 Subject: [PATCH 2/3] Menubar port search output change. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Small change that add’s the port desc/alias to the output. --- html/includes/print-menubar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 812cd16729..3f71cfde1a 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -485,7 +485,7 @@ if ($_SESSION['authenticated']) name: 'ports', remote : 'ajax_search.php?search=%QUERY&type=ports', header : '
 Ports
', - template: '

{{name}} – {{hostname}}

', + template: '

{{name}} – {{hostname}}
{{description}}

', valueKey: "name", engine: Hogan }, From 70324f588bc03a1f5e66e39bc97fa4d95a80ee52 Mon Sep 17 00:00:00 2001 From: Rosiak Date: Sun, 15 Feb 2015 14:50:04 +0100 Subject: [PATCH 3/3] Revert "Menubar port search output change." This reverts commit 68ce77d3e510c9f0015558e22886810c4414b59d. --- html/includes/print-menubar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 3f71cfde1a..812cd16729 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -485,7 +485,7 @@ if ($_SESSION['authenticated']) name: 'ports', remote : 'ajax_search.php?search=%QUERY&type=ports', header : '
 Ports
', - template: '

{{name}} – {{hostname}}
{{description}}

', + template: '

{{name}} – {{hostname}}

', valueKey: "name", engine: Hogan },