mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Basic Barracuda Loadbalancer Support
Very basic discovery support for the Barracuda Loadbalancers.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 380 B |
@@ -180,6 +180,15 @@ $config['os'][$os]['over'][0]['graph'] = "device_bits";
|
|||||||
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
|
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
|
||||||
$config['os'][$os]['icon'] = "alcatellucent";
|
$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
|
// Cisco OSes
|
||||||
|
|
||||||
$os = "ios";
|
$os = "ios";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user