Added basic detection for FortiOS

This commit is contained in:
laf
2015-08-31 21:19:39 +00:00
parent 703bdf3717
commit c708610c96
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.12356.103.3.20')) {
$os = 'fortios';
}
}
+3
View File
@@ -0,0 +1,3 @@
<?php
$serial = snmp_get($device, 'fnSysSerial', '-OQv', 'FORTINET-FORTIANALYZER-MIB');