Files
librenms-librenms/includes/polling/os/fortimail.inc.php
T
91c04a1d54 Added FortiMail support (#10895)
* Added FortiMail support

* Added FortiMail support

* Update fortimail.inc.php

* optimized discovery

* Syntax change

* Added test data

Co-authored-by: Neil Lathwood <[email protected]>
2020-05-24 15:45:14 -05:00

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);