Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HostGroupTask ¶
type HostGroupTask struct {
MonitorHostGroupDto *monitor.MonitorHostGroupDto
}
func (HostGroupTask) Run ¶
func (h HostGroupTask) Run()
type MonitorCommonTask ¶
type MonitorCommonTask struct {
MonitorTaskDto *monitor.MonitorTaskDto
}
func (MonitorCommonTask) Run ¶
func (h MonitorCommonTask) Run()
type MonitorCommonTaskImpl ¶
type MonitorCommonTaskImpl struct { HostDto host.HostDto TaskDto monitor.MonitorTaskDto }
func (*MonitorCommonTaskImpl) CheckProcess ¶
func (h *MonitorCommonTaskImpl) CheckProcess()
* 检查host cpu_rate,cpu 使用率 mem_rate,内存使用率 disk_rate,磁盘使用率 free_mem,空闲内存,单位为G free_disk,空闲磁盘单位为G
type ProcessDto ¶
type ProcessDto struct {
ProcessName string `json:"processName"`
}
type ResourcesBackUpTask ¶
type ResourcesBackUpTask struct { ResourcesBackUpDto *resources.ResourcesBackUpDto // contains filtered or unexported fields }
func (ResourcesBackUpTask) Run ¶
func (h ResourcesBackUpTask) Run()
Click to show internal directories.
Click to hide internal directories.