Documentation ¶
Index ¶
- Variables
- type DetectionMode
- type DroppedPacketsDetectionConfig
- func (me *DroppedPacketsDetectionConfig) HandlePreconditions() error
- func (me *DroppedPacketsDetectionConfig) MarshalHCL(properties hcl.Properties) error
- func (me *DroppedPacketsDetectionConfig) Schema() map[string]*schema.Schema
- func (me *DroppedPacketsDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type DroppedPacketsDetectionThresholds
- type EsxiHighCpuDetectionConfig
- type EsxiHighCpuDetectionThresholds
- type EsxiHighMemoryDetectionConfig
- func (me *EsxiHighMemoryDetectionConfig) HandlePreconditions() error
- func (me *EsxiHighMemoryDetectionConfig) MarshalHCL(properties hcl.Properties) error
- func (me *EsxiHighMemoryDetectionConfig) Schema() map[string]*schema.Schema
- func (me *EsxiHighMemoryDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type EsxiHighMemoryDetectionThresholds
- type GuestCPULimitDetectionConfig
- func (me *GuestCPULimitDetectionConfig) HandlePreconditions() error
- func (me *GuestCPULimitDetectionConfig) MarshalHCL(properties hcl.Properties) error
- func (me *GuestCPULimitDetectionConfig) Schema() map[string]*schema.Schema
- func (me *GuestCPULimitDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type GuestCPULimitDetectionThresholds
- type LowDatastoreSpaceDetectionConfig
- func (me *LowDatastoreSpaceDetectionConfig) HandlePreconditions() error
- func (me *LowDatastoreSpaceDetectionConfig) MarshalHCL(properties hcl.Properties) error
- func (me *LowDatastoreSpaceDetectionConfig) Schema() map[string]*schema.Schema
- func (me *LowDatastoreSpaceDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type LowDatastoreSpaceDetectionThresholds
- type OverloadedStorageDetectionConfig
- func (me *OverloadedStorageDetectionConfig) HandlePreconditions() error
- func (me *OverloadedStorageDetectionConfig) MarshalHCL(properties hcl.Properties) error
- func (me *OverloadedStorageDetectionConfig) Schema() map[string]*schema.Schema
- func (me *OverloadedStorageDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type OverloadedStorageDetectionThresholds
- type Settings
- type SlowPhysicalStorageDetectionConfig
- func (me *SlowPhysicalStorageDetectionConfig) HandlePreconditions() error
- func (me *SlowPhysicalStorageDetectionConfig) MarshalHCL(properties hcl.Properties) error
- func (me *SlowPhysicalStorageDetectionConfig) Schema() map[string]*schema.Schema
- func (me *SlowPhysicalStorageDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type SlowPhysicalStorageDetectionThresholds
- type UndersizedStorageDetectionConfig
- func (me *UndersizedStorageDetectionConfig) HandlePreconditions() error
- func (me *UndersizedStorageDetectionConfig) MarshalHCL(properties hcl.Properties) error
- func (me *UndersizedStorageDetectionConfig) Schema() map[string]*schema.Schema
- func (me *UndersizedStorageDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type UndersizedStorageDetectionThresholds
Constants ¶
This section is empty.
Variables ¶
var DetectionModes = struct { Auto DetectionMode Custom DetectionMode }{ "auto", "custom", }
Functions ¶
This section is empty.
Types ¶
type DetectionMode ¶
type DetectionMode string
type DroppedPacketsDetectionConfig ¶
type DroppedPacketsDetectionConfig struct { CustomThresholds *DroppedPacketsDetectionThresholds `json:"customThresholds,omitempty"` // Alert if the condition is met in 3 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*DroppedPacketsDetectionConfig) HandlePreconditions ¶
func (me *DroppedPacketsDetectionConfig) HandlePreconditions() error
func (*DroppedPacketsDetectionConfig) MarshalHCL ¶
func (me *DroppedPacketsDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*DroppedPacketsDetectionConfig) Schema ¶
func (me *DroppedPacketsDetectionConfig) Schema() map[string]*schema.Schema
func (*DroppedPacketsDetectionConfig) UnmarshalHCL ¶
func (me *DroppedPacketsDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type DroppedPacketsDetectionThresholds ¶
type DroppedPacketsDetectionThresholds struct {
DroppedPacketsPerSecond int `json:"droppedPacketsPerSecond"` // Receive/transmit dropped packets rate on NIC is higher than
}
DroppedPacketsDetectionThresholds. Alert if the condition is met in 3 out of 5 samples
func (*DroppedPacketsDetectionThresholds) MarshalHCL ¶
func (me *DroppedPacketsDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*DroppedPacketsDetectionThresholds) Schema ¶
func (me *DroppedPacketsDetectionThresholds) Schema() map[string]*schema.Schema
func (*DroppedPacketsDetectionThresholds) UnmarshalHCL ¶
func (me *DroppedPacketsDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
type EsxiHighCpuDetectionConfig ¶
type EsxiHighCpuDetectionConfig struct { CustomThresholds *EsxiHighCpuDetectionThresholds `json:"customThresholds,omitempty"` // Alert if **all three** conditions are met in 3 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*EsxiHighCpuDetectionConfig) HandlePreconditions ¶
func (me *EsxiHighCpuDetectionConfig) HandlePreconditions() error
func (*EsxiHighCpuDetectionConfig) MarshalHCL ¶
func (me *EsxiHighCpuDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*EsxiHighCpuDetectionConfig) Schema ¶
func (me *EsxiHighCpuDetectionConfig) Schema() map[string]*schema.Schema
func (*EsxiHighCpuDetectionConfig) UnmarshalHCL ¶
func (me *EsxiHighCpuDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type EsxiHighCpuDetectionThresholds ¶
type EsxiHighCpuDetectionThresholds struct { CpuPeakPercentage int `json:"cpuPeakPercentage"` // At least one peak occurred when Hypervisor CPU usage was higher than CpuUsagePercentage int `json:"cpuUsagePercentage"` // CPU usage is higher than VmCpuReadyPercentage int `json:"vmCpuReadyPercentage"` // VM CPU ready is higher than }
EsxiHighCpuDetectionThresholds. Alert if **all three** conditions are met in 3 out of 5 samples
func (*EsxiHighCpuDetectionThresholds) MarshalHCL ¶
func (me *EsxiHighCpuDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*EsxiHighCpuDetectionThresholds) Schema ¶
func (me *EsxiHighCpuDetectionThresholds) Schema() map[string]*schema.Schema
func (*EsxiHighCpuDetectionThresholds) UnmarshalHCL ¶
func (me *EsxiHighCpuDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
type EsxiHighMemoryDetectionConfig ¶
type EsxiHighMemoryDetectionConfig struct { CustomThresholds *EsxiHighMemoryDetectionThresholds `json:"customThresholds,omitempty"` // Alert if the condition is met in 3 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*EsxiHighMemoryDetectionConfig) HandlePreconditions ¶
func (me *EsxiHighMemoryDetectionConfig) HandlePreconditions() error
func (*EsxiHighMemoryDetectionConfig) MarshalHCL ¶
func (me *EsxiHighMemoryDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*EsxiHighMemoryDetectionConfig) Schema ¶
func (me *EsxiHighMemoryDetectionConfig) Schema() map[string]*schema.Schema
func (*EsxiHighMemoryDetectionConfig) UnmarshalHCL ¶
func (me *EsxiHighMemoryDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type EsxiHighMemoryDetectionThresholds ¶
type EsxiHighMemoryDetectionThresholds struct {
CompressionDecompressionRate float64 `json:"compressionDecompressionRate"` // ESXi host swap IN/OUT or compression/decompression rate is higher than
}
EsxiHighMemoryDetectionThresholds. Alert if the condition is met in 3 out of 5 samples
func (*EsxiHighMemoryDetectionThresholds) MarshalHCL ¶
func (me *EsxiHighMemoryDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*EsxiHighMemoryDetectionThresholds) Schema ¶
func (me *EsxiHighMemoryDetectionThresholds) Schema() map[string]*schema.Schema
func (*EsxiHighMemoryDetectionThresholds) UnmarshalHCL ¶
func (me *EsxiHighMemoryDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
type GuestCPULimitDetectionConfig ¶
type GuestCPULimitDetectionConfig struct { CustomThresholds *GuestCPULimitDetectionThresholds `json:"customThresholds,omitempty"` // Alert if **all three** conditions are met in 3 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*GuestCPULimitDetectionConfig) HandlePreconditions ¶
func (me *GuestCPULimitDetectionConfig) HandlePreconditions() error
func (*GuestCPULimitDetectionConfig) MarshalHCL ¶
func (me *GuestCPULimitDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*GuestCPULimitDetectionConfig) Schema ¶
func (me *GuestCPULimitDetectionConfig) Schema() map[string]*schema.Schema
func (*GuestCPULimitDetectionConfig) UnmarshalHCL ¶
func (me *GuestCPULimitDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type GuestCPULimitDetectionThresholds ¶
type GuestCPULimitDetectionThresholds struct { HostCpuUsagePercentage int `json:"hostCpuUsagePercentage"` // Hypervisor CPU usage is higher than VmCpuReadyPercentage int `json:"vmCpuReadyPercentage"` // VM CPU ready is higher than VmCpuUsagePercentage int `json:"vmCpuUsagePercentage"` // VM CPU usage (VM CPU Usage Mhz / VM CPU limit in Mhz) is higher than }
GuestCPULimitDetectionThresholds. Alert if **all three** conditions are met in 3 out of 5 samples
func (*GuestCPULimitDetectionThresholds) MarshalHCL ¶
func (me *GuestCPULimitDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*GuestCPULimitDetectionThresholds) Schema ¶
func (me *GuestCPULimitDetectionThresholds) Schema() map[string]*schema.Schema
func (*GuestCPULimitDetectionThresholds) UnmarshalHCL ¶
func (me *GuestCPULimitDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
type LowDatastoreSpaceDetectionConfig ¶
type LowDatastoreSpaceDetectionConfig struct { CustomThresholds *LowDatastoreSpaceDetectionThresholds `json:"customThresholds,omitempty"` // Alert if the condition is met in 1 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*LowDatastoreSpaceDetectionConfig) HandlePreconditions ¶
func (me *LowDatastoreSpaceDetectionConfig) HandlePreconditions() error
func (*LowDatastoreSpaceDetectionConfig) MarshalHCL ¶
func (me *LowDatastoreSpaceDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*LowDatastoreSpaceDetectionConfig) Schema ¶
func (me *LowDatastoreSpaceDetectionConfig) Schema() map[string]*schema.Schema
func (*LowDatastoreSpaceDetectionConfig) UnmarshalHCL ¶
func (me *LowDatastoreSpaceDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type LowDatastoreSpaceDetectionThresholds ¶
type LowDatastoreSpaceDetectionThresholds struct {
FreeSpacePercentage int `json:"freeSpacePercentage"` // Datastore free space is lower than
}
LowDatastoreSpaceDetectionThresholds. Alert if the condition is met in 1 out of 5 samples
func (*LowDatastoreSpaceDetectionThresholds) MarshalHCL ¶
func (me *LowDatastoreSpaceDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*LowDatastoreSpaceDetectionThresholds) Schema ¶
func (me *LowDatastoreSpaceDetectionThresholds) Schema() map[string]*schema.Schema
func (*LowDatastoreSpaceDetectionThresholds) UnmarshalHCL ¶
func (me *LowDatastoreSpaceDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
type OverloadedStorageDetectionConfig ¶
type OverloadedStorageDetectionConfig struct { CustomThresholds *OverloadedStorageDetectionThresholds `json:"customThresholds,omitempty"` // Alert if the condition is met in 3 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*OverloadedStorageDetectionConfig) HandlePreconditions ¶
func (me *OverloadedStorageDetectionConfig) HandlePreconditions() error
func (*OverloadedStorageDetectionConfig) MarshalHCL ¶
func (me *OverloadedStorageDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*OverloadedStorageDetectionConfig) Schema ¶
func (me *OverloadedStorageDetectionConfig) Schema() map[string]*schema.Schema
func (*OverloadedStorageDetectionConfig) UnmarshalHCL ¶
func (me *OverloadedStorageDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type OverloadedStorageDetectionThresholds ¶
type OverloadedStorageDetectionThresholds struct {
CommandAbortsNumber int `json:"commandAbortsNumber"` // Number of command aborts is higher than
}
OverloadedStorageDetectionThresholds. Alert if the condition is met in 3 out of 5 samples
func (*OverloadedStorageDetectionThresholds) MarshalHCL ¶
func (me *OverloadedStorageDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*OverloadedStorageDetectionThresholds) Schema ¶
func (me *OverloadedStorageDetectionThresholds) Schema() map[string]*schema.Schema
func (*OverloadedStorageDetectionThresholds) UnmarshalHCL ¶
func (me *OverloadedStorageDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { DroppedPacketsDetection *DroppedPacketsDetectionConfig `json:"droppedPacketsDetection"` EsxiHighCpuDetection *EsxiHighCpuDetectionConfig `json:"esxiHighCpuDetection"` EsxiHighMemoryDetection *EsxiHighMemoryDetectionConfig `json:"esxiHighMemoryDetection"` GuestCpuLimitDetection *GuestCPULimitDetectionConfig `json:"guestCpuLimitDetection"` LowDatastoreSpaceDetection *LowDatastoreSpaceDetectionConfig `json:"lowDatastoreSpaceDetection"` OverloadedStorageDetection *OverloadedStorageDetectionConfig `json:"overloadedStorageDetection"` SlowPhysicalStorageDetection *SlowPhysicalStorageDetectionConfig `json:"slowPhysicalStorageDetection"` UndersizedStorageDetection *UndersizedStorageDetectionConfig `json:"undersizedStorageDetection"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type SlowPhysicalStorageDetectionConfig ¶
type SlowPhysicalStorageDetectionConfig struct { CustomThresholds *SlowPhysicalStorageDetectionThresholds `json:"customThresholds,omitempty"` // Alert if **any** condition is met in 4 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*SlowPhysicalStorageDetectionConfig) HandlePreconditions ¶
func (me *SlowPhysicalStorageDetectionConfig) HandlePreconditions() error
func (*SlowPhysicalStorageDetectionConfig) MarshalHCL ¶
func (me *SlowPhysicalStorageDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*SlowPhysicalStorageDetectionConfig) Schema ¶
func (me *SlowPhysicalStorageDetectionConfig) Schema() map[string]*schema.Schema
func (*SlowPhysicalStorageDetectionConfig) UnmarshalHCL ¶
func (me *SlowPhysicalStorageDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type SlowPhysicalStorageDetectionThresholds ¶
type SlowPhysicalStorageDetectionThresholds struct { AvgReadWriteLatency int `json:"avgReadWriteLatency"` // Read/write latency is higher than PeakReadWriteLatency int `json:"peakReadWriteLatency"` // Peak value for read/write latency is higher than }
SlowPhysicalStorageDetectionThresholds. Alert if **any** condition is met in 4 out of 5 samples
func (*SlowPhysicalStorageDetectionThresholds) MarshalHCL ¶
func (me *SlowPhysicalStorageDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*SlowPhysicalStorageDetectionThresholds) Schema ¶
func (me *SlowPhysicalStorageDetectionThresholds) Schema() map[string]*schema.Schema
func (*SlowPhysicalStorageDetectionThresholds) UnmarshalHCL ¶
func (me *SlowPhysicalStorageDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
type UndersizedStorageDetectionConfig ¶
type UndersizedStorageDetectionConfig struct { CustomThresholds *UndersizedStorageDetectionThresholds `json:"customThresholds,omitempty"` // Alert if **any** condition is met in 3 out of 5 samples DetectionMode *DetectionMode `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Custom` Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) }
func (*UndersizedStorageDetectionConfig) HandlePreconditions ¶
func (me *UndersizedStorageDetectionConfig) HandlePreconditions() error
func (*UndersizedStorageDetectionConfig) MarshalHCL ¶
func (me *UndersizedStorageDetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*UndersizedStorageDetectionConfig) Schema ¶
func (me *UndersizedStorageDetectionConfig) Schema() map[string]*schema.Schema
func (*UndersizedStorageDetectionConfig) UnmarshalHCL ¶
func (me *UndersizedStorageDetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type UndersizedStorageDetectionThresholds ¶
type UndersizedStorageDetectionThresholds struct { AverageQueueCommandLatency int `json:"averageQueueCommandLatency"` // Average queue command latency is higher than PeakQueueCommandLatency int `json:"peakQueueCommandLatency"` // Peak queue command latency is higher than }
UndersizedStorageDetectionThresholds. Alert if **any** condition is met in 3 out of 5 samples
func (*UndersizedStorageDetectionThresholds) MarshalHCL ¶
func (me *UndersizedStorageDetectionThresholds) MarshalHCL(properties hcl.Properties) error
func (*UndersizedStorageDetectionThresholds) Schema ¶
func (me *UndersizedStorageDetectionThresholds) Schema() map[string]*schema.Schema
func (*UndersizedStorageDetectionThresholds) UnmarshalHCL ¶
func (me *UndersizedStorageDetectionThresholds) UnmarshalHCL(decoder hcl.Decoder) error
Source Files ¶
- dropped_packets_detection_config.go
- dropped_packets_detection_thresholds.go
- enums.go
- esxi_high_cpu_detection_config.go
- esxi_high_cpu_detection_thresholds.go
- esxi_high_memory_detection_config.go
- esxi_high_memory_detection_thresholds.go
- guest_cpulimit_detection_config.go
- guest_cpulimit_detection_thresholds.go
- low_datastore_space_detection_config.go
- low_datastore_space_detection_thresholds.go
- overloaded_storage_detection_config.go
- overloaded_storage_detection_thresholds.go
- settings.go
- slow_physical_storage_detection_config.go
- slow_physical_storage_detection_thresholds.go
- undersized_storage_detection_config.go
- undersized_storage_detection_thresholds.go