aos

package
v0.0.0-...-7d727b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aos

type Aos struct {
	Port          int
	Address       string
	StreamingType []string

	AosServer   string
	AosPort     int
	AosLogin    string
	AosPassword string
	AosProtocol string

	RefreshInterval int

	telegraf.Accumulator
	io.Closer
	// contains filtered or unexported fields
}

---------------------------------------------------------------- Aos "Class" ----------------------------------------------------------------

func (*Aos) Description

func (aos *Aos) Description() string

func (*Aos) Gather

func (aos *Aos) Gather(_ telegraf.Accumulator) error

func (*Aos) RefreshData

func (aos *Aos) RefreshData()

Continuous Query that will refresh data every 15 sec

func (*Aos) SampleConfig

func (aos *Aos) SampleConfig() string

func (*Aos) Start

func (aos *Aos) Start(acc telegraf.Accumulator) error

func (*Aos) Stop

func (aos *Aos) Stop()

type StreamAos

type StreamAos struct {
	net.Listener
	*Aos
}

---------------------------------------------------------------- StreamAos "Class" ----------------------------------------------------------------

func (*StreamAos) ExtractAlertData

func (ssl *StreamAos) ExtractAlertData(alertType string, tags map[string]string, alertData interface{}, raised bool)

func (*StreamAos) ExtractProbeData

func (ssl *StreamAos) ExtractProbeData(newProbeMessage interface{}, originName string)

func (*StreamAos) GetTags

func (ssl *StreamAos) GetTags(deviceKey string) map[string]string

func (*StreamAos) MsgReader

func (ssl *StreamAos) MsgReader(r io.Reader)

Directories

Path Synopsis
Package aos_streaming is a generated protocol buffer package.
Package aos_streaming is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL