Updated FortiOS to pick up all FortiManagers + updated rewrite for hardware

This commit is contained in:
laf
2016-02-12 14:17:57 +00:00
parent 2500cfd424
commit 9059b687b2
2 changed files with 2 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.12356.103.3')) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.12356.103')) {
$os = 'fortios';
}
}

View File

@@ -331,6 +331,7 @@ $rewrite_fortinet_hardware = array(
'.1.3.6.1.4.1.12356.1688' => 'FortiMail 2000A',
'.1.3.6.1.4.1.12356.103.1.1000' => 'FortiManager 100',
'.1.3.6.1.4.1.12356.103.1.20000' => 'FortiManager 2000XL',
'.1.3.6.1.4.1.12356.103.1.3004' => 'FortiManager 300D',
'.1.3.6.1.4.1.12356.103.1.30000' => 'FortiManager 3000',
'.1.3.6.1.4.1.12356.103.1.30002' => 'FortiManager 3000B',
'.1.3.6.1.4.1.12356.103.1.4000' => 'FortiManager 400',