mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
7 lines
299 B
PHP
7 lines
299 B
PHP
![]() |
<?php
|
||
|
|
||
|
$serial = snmp_get($device, "productSerialNum.0", "-Ovq", "NETAPP-MIB");
|
||
|
$hardware = snmp_get($device, "productModel.0", "-Ovq", "NETAPP-MIB");
|
||
|
list($version,) = split(":", snmp_get($device, "productVersion.0", "-Ovq", "NETAPP-MIB"));
|
||
|
$version = str_replace("NetApp Release ", "", $version);
|