Files
librenms-librenms/includes/polling/os/sentry4.inc.php
Arzhel Younsi 78112270c6 Add serial/model/version polling for Sentry4 MIB (#10432)
* Add serial/model/version polling for Sentry4 MIB

* Add serial/model/version polling for Sentry4 MIB

* Update sentry4.json
2019-08-27 22:08:42 -05:00

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");