mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Added FortiMail support * Added FortiMail support * Update fortimail.inc.php * optimized discovery * Syntax change * Added test data Co-authored-by: Neil Lathwood <[email protected]>
10 lines
276 B
PHP
10 lines
276 B
PHP
<?php
|
|
|
|
$temp_data = snmp_get_multi_oid($device, 'fmlSysModel.0 fmlSysVersion.0 fmlSysSerial.0', '-OUQs', 'FORTINET-FORTIMAIL-MIB');
|
|
|
|
$hardware = $temp_data['fmlSysModel.0'];
|
|
$version = $temp_data['fmlSysVersion.0'];
|
|
$serial = $temp_data['fmlSysSerial.0'];
|
|
|
|
unset($temp_data);
|