Cory Hill 2adecd5ddb device: Added detection for SIAE Microelettronica ALFOplus2 microwave radio device (#8953)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [ ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-08-15 20:06:40 +01:00

13 lines
301 B
PHP

<?php
$smos_data = snmp_get_multi_oid(
$device,
['softwareEquipmentReleaseBench1.0','unitPartNumber.1'],
'-OUQn',
'SIAE-SOFT-MIB:SIAE-UNIT-MIB'
);
$version = $smos_data['.1.3.6.1.4.1.3373.1103.7.2.0'];
$hardware = $smos_data['.1.3.6.1.4.1.3373.1103.6.2.1.11.1'];
unset($smos_data);