lnms snmp:fetch query multiple devices (#13538)

* lnms snmp:fetch query multiple devices
Allows regex and all device spec input

* Fix lint

* fix regexp
This commit is contained in:
Tony Murray
2021-11-18 15:35:19 -06:00
committed by GitHub
parent f12d1f98cb
commit 69d0753ec4
2 changed files with 56 additions and 44 deletions

View File

@@ -125,7 +125,7 @@ return [
'snmp:fetch' => [
'description' => 'Run snmp query against a device',
'arguments' => [
'device spec' => 'Device to query: device_id or hostname/ip',
'device spec' => 'Device to query: device_id, hostname/ip, hostname regex, or all',
'oid' => 'SNMP OID to fetch. Should be either MIB::oid or a numeric oid',
],
'failed' => 'SNMP command failed!',