4 Commits
0.0.5 ... 0.0.7

Author SHA1 Message Date
ad9b3625e1 fix anno
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-01-26 18:28:12 +01:00
56aec29c76 add cluster switch to config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-01-26 14:39:08 +01:00
85124d028d use 64bit counter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-01-25 16:10:53 +01:00
4ed32f8314 fix struct
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-01-25 15:24:56 +01:00
3 changed files with 20 additions and 4 deletions

View File

@ -12,16 +12,33 @@
"community": "public", "community": "public",
"oidTopics": [ "oidTopics": [
{ {
"oid": ".1.3.6.1.2.1.2.2.1.10.5", "oid": ".1.3.6.1.2.1.31.1.1.1.6.5",
"label": "wan-in", "label": "wan-in",
"diff": "true" "diff": "true"
}, },
{ {
"oid": ".1.3.6.1.2.1.2.2.1.16.5", "oid": ".1.3.6.1.2.1.31.1.1.1.10.5",
"label": "wan-out", "label": "wan-out",
"diff": "true" "diff": "true"
} }
] ]
},
{
"endpoint": "172.23.1.2",
"label": "switch-cluster",
"community": "public",
"oidTopics": [
{
"oid": ".1.3.6.1.2.1.31.1.1.1.6.1",
"label": "uplink-in",
"diff": "true"
},
{
"oid": ".1.3.6.1.2.1.31.1.1.1.10.1",
"label": "uplink-out",
"diff": "true"
}
]
} }
] ]
} }

View File

@ -6,7 +6,7 @@ metadata:
labels: labels:
app: snmp-nmqtt app: snmp-nmqtt
annotations: annotations:
secret.reloader.stakater.com/reload: "snmp-mqtt-conf" secret.reloader.stakater.com/reload: snmp-mqtt-conf
spec: spec:
replicas: 1 replicas: 1
selector: selector:

View File

@ -18,7 +18,6 @@ type variable_t struct {
Label string `json:"label"` Label string `json:"label"`
Variable string `json:"variable"` Variable string `json:"variable"`
Value string `json:"value"` Value string `json:"value"`
DiffValue string `json:"diffValue"`
} }
type message_t struct { type message_t struct {