mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
7 lines
367 B
PHP
7 lines
367 B
PHP
<?php
|
|
|
|
$version = trim(snmp_get($device, "vpnRouterFirmware.0", "-OQv", "VIPRINET-MIB"), '"');
|
|
$hardware = "VPN Router " . trim(snmp_get($device, "vpnRouterModel.0", "-OQv", "VIPRINET-MIB"), '"');
|
|
$hostname = trim(snmp_get($device, "vpnRouterName.0", "-OQv", "VIPRINET-MIB"), '"');
|
|
$serial = trim(snmp_get($device, "vpnRouterSerial.0", "-OQv", "VIPRINET-MIB"), '"');
|