Add support for Firebrick Hardware (#9403)

* Added support for Firebrick devices

* Added support for Firebrick devices

* Update firebrick.inc.php

* Update firebrick.inc.php

* Update firebrick.svg

* Update firebrick.svg

* Added SNMP Check

* Added SVG View Box

* Display XML in config tab

* Update firebrick.svg

* Update firebrick.yaml

* Update showconfig.inc.php

* Create firebrick.json
This commit is contained in:
lewisvive
2018-11-21 19:53:16 +00:00
committed by Tony Murray
parent f91fca8072
commit f3eb778db2
5 changed files with 2473 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
os: firebrick
text: 'Firebrick'
type: network
icon: firebrick
group: firebrick
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'CPU Usage' }
- { graph: device_mempool, text: 'Memory Usage' }
discovery:
- sysObjectID: .1.3.6.1.4.1.24693.1.

View File

@@ -0,0 +1,5 @@
<?php
if (preg_match('/^(FB[0-9]{4}).*\((.*)\).*$/m', $device['sysDescr'], $regexp_result)) {
$hardware = $regexp_result[1];
$version = $regexp_result[2];
}