mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
cleaner fortigate hardware
git-svn-id: http://www.observium.org/svn/observer/trunk@1678 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -7,8 +7,6 @@ echo("Fortinet Fortigate Poller\n");
|
||||
$fnSysVersion = snmp_get($device, "FORTINET-MIB-280::fnSysVersion.0", "-Ovq");
|
||||
$serial = snmp_get($device, "FORTINET-MIB-280::fnSysSerial.0", "-Ovq");
|
||||
|
||||
echo("$fnSysVersion");
|
||||
|
||||
$version = preg_replace("/(.+),(.+),(.+)/", "\\1||\\2||\\3", $fnSysVersion);
|
||||
list($version,$features) = explode("||", $version);
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ $rewrite_fortinet_hardware = array(
|
||||
'.1.3.6.1.4.1.12356.101.1.20000' => 'FortiGate 2000',
|
||||
'.1.3.6.1.4.1.12356.101.1.2001' => 'FortiGate 200A',
|
||||
'.1.3.6.1.4.1.12356.101.1.2002' => 'FortiGate 224B',
|
||||
'.1.3.6.1.4.1.12356.101.1.2002' => 'FortiGate 200A',
|
||||
'.1.3.6.1.4.1.12356.101.1.2003' => 'FortiGate 200A',
|
||||
'.1.3.6.1.4.1.12356.101.1.3000' => 'FortiGate 300',
|
||||
'.1.3.6.1.4.1.12356.101.1.30000' => 'FortiGate 3000',
|
||||
'.1.3.6.1.4.1.12356.101.1.3001' => 'FortiGate 300A',
|
||||
|
||||
Reference in New Issue
Block a user