skip diff value
This commit is contained in:
@ -19,7 +19,6 @@ type endpoint_t struct {
|
||||
Label string `json:"label"`
|
||||
Variable string `json:"variable"`
|
||||
Value string `json:"value"`
|
||||
DiffValue string `json:"diffValue"`
|
||||
}
|
||||
|
||||
type observation_t struct {
|
||||
@ -57,6 +56,7 @@ func (self *SnmpHandler) Handle(message handler.MessageT) {
|
||||
|
||||
measurement.Values = make(map[string]database.VariableType)
|
||||
for k, v := range observation.Variables {
|
||||
var vv string
|
||||
measurement.Values[k] = database.VariableType {
|
||||
Label: v.Label,
|
||||
Variable: v.Variable,
|
||||
|
Reference in New Issue
Block a user