zte

package
v0.0.0-...-8d3ff08 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataResponse

type DataResponse struct {
	Cell_id                    string  `json:"cell_id"`
	Date_month                 int64   `json:"date_month,string"`
	Ecio                       string  `json:"ecio"`
	Hardware_version           string  `json:"hardware_version"`
	Ipv6_wan_ipaddr            string  `json:"ipv6_wan_ipaddr"`
	Loginfo                    string  `json:"loginfo"`
	Lte_ca_pcell_arfcn         string  `json:"lte_ca_pcell_arfcn"`
	Lte_ca_pcell_band          int64   `json:"lte_ca_pcell_band,string"`
	Lte_ca_pcell_bandwidth     float64 `json:"lte_ca_pcell_bandwidth,string"`
	Lte_ca_scell_arfcn         string  `json:"lte_ca_scell_arfcn"`
	Lte_ca_scell_band          int64   `json:"lte_ca_scell_band,string"`
	Lte_ca_scell_bandwidth     float64 `json:"lte_ca_scell_bandwidth,string"`
	Lte_ca_scell_info          string  `json:"lte_ca_scell_info"`
	Lte_multi_ca_scell_info    string  `json:"lte_multi_ca_scell_info"`
	Lte_pci                    string  `json:"lte_pci"`
	Lte_rsrp                   int64   `json:"lte_rsrp,string"`
	Lte_snr                    float64 `json:"lte_snr,string"`
	Wlan_mac_address           string  `json:"wlan_mac_address"`
	Modem_main_state           string  `json:"modem_main_state"`
	Monthly_rx_bytes           int64   `json:"monthly_rx_bytes,string"`
	Monthly_time               int64   `json:"monthly_time,string"`
	Monthly_tx_bytes           int64   `json:"monthly_tx_bytes,string"`
	Network_type               string  `json:"network_type"`
	Nr5g_action_band           string  `json:"nr5g_action_band"`
	Nr5g_action_channel        int64   `json:"nr5g_action_channel,string"`
	Nr5g_cell_id               string  `json:"nr5g_cell_id"`
	Nr5g_pci                   string  `json:"nr5g_pci"`
	Ppp_dial_conn_fail_counter int64   `json:"ppp_dial_conn_fail_counter,string"`
	Ppp_status                 string  `json:"ppp_status"`
	Realtime_rx_bytes          int64   `json:"realtime_rx_bytes,string"`
	Realtime_rx_thrpt          int64   `json:"realtime_rx_thrpt,string"`
	Realtime_time              int64   `json:"realtime_time,string"`
	Realtime_tx_bytes          int64   `json:"realtime_tx_bytes,string"`
	Realtime_tx_thrpt          int64   `json:"realtime_tx_thrpt,string"`
	Rscp                       string  `json:"rscp"`
	Rssi                       string  `json:"rssi"`
	Signalbar                  int64   `json:"signalbar,string"`
	Wan_active_band            string  `json:"wan_active_band"`
	Wan_active_channel         int64   `json:"wan_active_channel,string"`
	Wan_ipaddr                 string  `json:"wan_ipaddr"`
	Wan_lte_ca                 string  `json:"wan_lte_ca"`
	Wa_inner_version           string  `json:"wa_inner_version"`
	Web_version                string  `json:"web_version"`
	Z5g_CELL_ID                string  `json:"Z5g_CELL_ID"`
	Z5g_dlEarfcn               string  `json:"Z5g_dlEarfcn"`
	Z5g_rsrp                   int64   `json:"Z5g_rsrp,string"`
	Z5g_SINR                   float64 `json:"Z5g_SINR,string"`
	Z5g_SNR                    string  `json:"Z5g_SNR"`
	ZCELLINFO_band             string  `json:"ZCELLINFO_band"`
}

type LdResponse

type LdResponse struct {
	LD string
}

type LoginResponse

type LoginResponse struct {
	Result int64 `json:",string"`
}

type Zte

type Zte struct {
	RouterUrl           string          `toml:"router_url"`
	LoginPasswordSha256 string          `toml:"login_password_sha256"`
	Timeout             config.Duration `toml:"timeout"`

	Log telegraf.Logger `toml:"-"`
	// contains filtered or unexported fields
}

func (*Zte) Gather

func (s *Zte) Gather(acc telegraf.Accumulator) error

func (*Zte) Init

func (s *Zte) Init() error

func (*Zte) SampleConfig

func (*Zte) SampleConfig() string

Jump to

Keyboard shortcuts

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