mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Add serial/model/version polling for Sentry4 MIB * Add serial/model/version polling for Sentry4 MIB * Update sentry4.json
10 lines
403 B
PHP
10 lines
403 B
PHP
<?php
|
|
|
|
#Sentry4-MIB::st4UnitModel "C2S42CE-YCMFAM00"
|
|
#Sentry4-MIB::st4SystemFirmwareVersion "Version 8.0n"
|
|
#Sentry4-MIB::st4UnitProductSN "AAAA0001234"
|
|
|
|
$hardware = snmp_get($device, "st4UnitModel.1", "-Ovq", "Sentry4-MIB");
|
|
$serial = snmp_get($device, "st4UnitProductSN.1", "-Ovq", "Sentry4-MIB");
|
|
$version = snmp_get($device, "st4SystemFirmwareVersion.0", "-Ovq", "Sentry4-MIB");
|