master
go 12 lines 469 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 package snmptopology
4
5 import "github.com/netdata/netdata/go/plugins/pkg/confopt"
6
7 // Config for the snmp_topology module.
8 // This module has a single global job — device list comes from the SNMP device registry.
9 type Config struct {
10 UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
11 RefreshEvery confopt.LongDuration `yaml:"refresh_every,omitempty" json:"refresh_every,omitempty"`
12 }