lnms snmp:translate always show textual and numeric translations (#16187)

* lnms snmp:translate always show textual and numeric translations
accept os name as device spec for translate
values output tidy up for translate and one result

* ingore phpstan
This commit is contained in:
Tony Murray
2024-07-09 12:04:18 -05:00
committed by GitHub
parent e083775e1d
commit 1baf8f4a1f
3 changed files with 52 additions and 39 deletions

View File

@@ -234,6 +234,7 @@ return [
'oid(s)' => 'One or more SNMP OID to fetch. Should be either MIB::oid or a numeric oid',
],
'failed' => 'SNMP command failed!',
'numeric' => 'Numeric',
'oid' => 'OID',
'options' => [
'output' => 'Specify the output format :formats',
@@ -241,6 +242,7 @@ return [
'depth' => 'Depth to group the snmp table at. Usually the same number as the items in the index of the table',
],
'not_found' => 'Device not found',
'textual' => 'Textual',
'value' => 'Value',
],
'translation:generate' => [