Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeDNS ¶ added in v1.18.0
type NodeDNS struct { Data struct { Searchdomain string `json:"search"` } `json:"data"` }
type Proxmox ¶
type Proxmox struct { BaseURL string `toml:"base_url"` APIToken string `toml:"api_token"` ResponseTimeout internal.Duration `toml:"response_timeout"` NodeName string `toml:"node_name"` tls.ClientConfig Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
func (*Proxmox) Description ¶
func (*Proxmox) SampleConfig ¶
type ResourceType ¶
type ResourceType string
var ( QEMU ResourceType = "qemu" LXC ResourceType = "lxc" )
type VMCurrentStats ¶ added in v1.18.0
type VMCurrentStats struct {
Data VMStat `json:"data"`
}
type VMStat ¶ added in v1.18.0
type VMStat struct { ID string `json:"vmid"` Name string `json:"name"` Status string `json:"status"` UsedMem json.Number `json:"mem"` TotalMem json.Number `json:"maxmem"` UsedDisk json.Number `json:"disk"` TotalDisk json.Number `json:"maxdisk"` UsedSwap json.Number `json:"swap"` TotalSwap json.Number `json:"maxswap"` Uptime json.Number `json:"uptime"` CPULoad json.Number `json:"cpu"` }
Click to show internal directories.
Click to hide internal directories.