mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
6 lines
161 B
PHP
6 lines
161 B
PHP
<?php
|
|
|
|
|
|
$hardware = snmp_get($device, 'upsIdentModel.0', '-OQv', 'UPS-MIB');
|
|
$version = snmp_get($device, 'upsIdentAgentSoftwareVersion.0', '-OQv', 'UPS-MIB');
|