mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Barracuda Web Application Firewall basic support (#10970)
* Add files via upload * Changed directory * Update barracudawafirewall.inc.php
This commit is contained in:
committed by
PipoCanaja
parent
c7d4de6e15
commit
dcc288ce15
@@ -0,0 +1,33 @@
|
||||
os: barracudawafirewall
|
||||
text: 'Barracuda Web Application Firewall'
|
||||
type: firewall
|
||||
icon: barracuda
|
||||
mib_dir:
|
||||
- barracuda
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
poller_modules:
|
||||
bgp-peers: false
|
||||
hr-mib: false
|
||||
ntp: false
|
||||
ospf: false
|
||||
storage: false
|
||||
stp: false
|
||||
ucd-diskio: false
|
||||
wireless: false
|
||||
discovery_modules:
|
||||
bgp-peers: false
|
||||
cisco-vrf-lite: false
|
||||
discovery-protocols: false
|
||||
entity-physical: false
|
||||
fdb-table: false
|
||||
hr-device: false
|
||||
ntp: false
|
||||
ports-stack: false
|
||||
storage: false
|
||||
stp: false
|
||||
ucd-diskio: false
|
||||
wireless: false
|
||||
discovery:
|
||||
- sysDescr: 'Barracuda Web Application Firewall'
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
$version = trim(snmp_get($device, 'currentFirmwareVersion.0', '-Oqv', 'BWS-MIB'), '"');
|
||||
$serial = trim(snmp_get($device, 'systemSerialNumber.0', '-Oqv', 'BWS-MIB'), '"');
|
||||
$version = substr($version, 0, strrpos($version, '('));
|
||||
Reference in New Issue
Block a user