alarm

package
v2.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SendAlarmArgs

type SendAlarmArgs struct {
	ClusterId  string `json:"cluster_id"`
	Site       string `json:"site"`
	Msg        string `json:"msg"`
	Hostname   string `json:"hostname,omitempty"`
	NtfName    string `json:"ntf_name,omitempty"`
	AlarmType  string `json:"alarm_type,omitempty"`
	AlarmGroup string `json:"alarm_group,omitempty"`
	Ip         string `json:"ip"`
	Tag1       string `json:"tag1"`
}

type SendAlarmResponse

type SendAlarmResponse struct {
	Code     string `json:"Code"`
	Message  string `json:"Message"`
	CodeDesc string `json:"codeDesc,omitempty"`
}

func SendAlarm

func SendAlarm(args *SendAlarmArgs) (*SendAlarmResponse, error)

Jump to

Keyboard shortcuts

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