mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
11 lines
381 B
PHP
11 lines
381 B
PHP
<?php
|
|
|
|
$temp_data = snmp_get_multi_oid($device, ['facSysSerial.0', 'facSysModel.0', 'facSysVersion.0'], '-OUQs', 'FORTINET-FORTIAUTHENTICATOR-MIB');
|
|
$temp_version = explode(' ', $temp_data['facSysVersion.0']);
|
|
|
|
$hardware = $temp_data['facSysModel.0'];
|
|
$serial = $temp_data['facSysSerial.0'];
|
|
$version = $temp_version[1];
|
|
|
|
unset($temp_data, $temp_version);
|