Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTTConsumer ¶
type MQTTConsumer struct {
Servers []string
Topics []string
Username string
Password string
QoS int `toml:"qos"`
// Legacy metric buffer support
MetricBuffer int
PersistentSession bool
ClientID string `toml:"client_id"`
// Path to CA file
SSLCA string `toml:"ssl_ca"`
// Path to host cert file
SSLCert string `toml:"ssl_cert"`
// Path to cert key file
SSLKey string `toml:"ssl_key"`
// Use SSL but skip chain & host verification
InsecureSkipVerify bool
sync.Mutex
// contains filtered or unexported fields
}
func (*MQTTConsumer) Description ¶
func (m *MQTTConsumer) Description() string
func (*MQTTConsumer) Gather ¶
func (m *MQTTConsumer) Gather(acc telegraf.Accumulator) error
func (*MQTTConsumer) SampleConfig ¶
func (m *MQTTConsumer) SampleConfig() string
func (*MQTTConsumer) SetParser ¶
func (m *MQTTConsumer) SetParser(parser parsers.Parser)
func (*MQTTConsumer) Start ¶
func (m *MQTTConsumer) Start(acc telegraf.Accumulator) error
func (*MQTTConsumer) Stop ¶
func (m *MQTTConsumer) Stop()
Click to show internal directories.
Click to hide internal directories.