Files

7 lines
297 B
PHP
Raw Permalink Normal View History

2015-05-11 15:54:57 +01:00
<?php
2020-09-21 15:43:38 +02:00
$serial = snmp_get($device, 'productSerialNum.0', '-Ovq', 'NETAPP-MIB');
$hardware = snmp_get($device, 'productModel.0', '-Ovq', 'NETAPP-MIB');
[$version,] = explode(':', snmp_get($device, 'productVersion.0', '-Ovq', 'NETAPP-MIB'));
$version = str_replace('NetApp Release ', '', $version);