Basic Barracuda Loadbalancer Support

Very basic discovery support for the Barracuda Loadbalancers.
This commit is contained in:
Rosiak
2015-02-15 12:39:58 +01:00
parent 7900b33a8a
commit 3804ee001e
3 changed files with 26 additions and 0 deletions

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

View File

@@ -180,6 +180,15 @@ $config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
$config['os'][$os]['icon'] = "alcatellucent";
// Barracuda
$os = "barracudaloadbalancer";
$config['os'][$os]['text'] = "Barracuda Load Balancer";
$config['os'][$os]['type'] = "loadbalancer";
$config['os'][$os]['icon'] = "barracuda";
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][0]['text'] = "Traffic";
// Cisco OSes
$os = "ios";

View File

@@ -0,0 +1,17 @@
<?php
/*
* LibreNMS Barracuda OS information module
*
* Copyright (c) 2015 Søren Friis Rosiak <sorenrosiak@gmail.com>
* 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";
}
}
?>