diff --git a/config/device-classes/generic/linux.yaml b/config/device-classes/generic/linux.yaml new file mode 100644 index 0000000..b1cdd26 --- /dev/null +++ b/config/device-classes/generic/linux.yaml @@ -0,0 +1,28 @@ +name: "linux" + +config: + components: + cpu: true + memory: true + +match: + logical_operator: OR + conditions: + - type: SysObjectID + match_mode: startsWith + values: + - ".1.3.6.1.4.1.8072.3.2.10" + - type: SysDescription + match_mode: regex + values: + - '/^Linux/' + +components: + cpu: + load: + - detection: snmpget + oid: ".1.3.6.1.4.1.2021.10.1.3.2" + memory: + usage: + - detection: snmpget + oid: ".1.3.6.1.4.1.2021.4.6.0" \ No newline at end of file