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