From e0a44205b1d0569009c53c07f1a571a122284675 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 10 Feb 2025 13:52:16 +0100 Subject: [PATCH] add status --- src/smq/snmp/snmp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/smq/snmp/snmp.go b/src/smq/snmp/snmp.go index f6367c3..65fa9b1 100644 --- a/src/smq/snmp/snmp.go +++ b/src/smq/snmp/snmp.go @@ -19,6 +19,7 @@ type variable_t struct { Variable string `json:"variable"` Value string `json:"value"` Unit string `json:"unit"` + Status string `json:"status"` } type message_t struct { @@ -132,6 +133,7 @@ func Start() { Variable: oidTopic.OID, Value: convertedValue, Unit: "", + Status: "", } message.Variables[oidTopic.Label] = v