Tony Murray 0d07f85257 feature: Allow snmpget in os discovery yaml (#7587)
* feature: Allow snmpget in os discovery yaml

Re-submit after release

* Remove extra trim in discovery and in snmp_get.
also trim() always returns a string, so is_string() check is a waste of cpu cycles.
2017-11-02 12:41:18 +00:00

15 lines
269 B
YAML

os: huaweiups
text: 'Huawei UPS'
group: ups
type: power
icon: huawei
rfc1628_compat: 1
over:
- { graph: device_current, text: Current }
discovery:
-
sysDescr: Linux GSE200M
snmpget:
oid: UPS-MIB::upsIdentManufacturer.0
value: HUAWEI