mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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`
13 lines
301 B
PHP
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);
|