funcs

package
v0.0.0-...-595f689 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MapLock   = new(sync.Mutex)
	MapStatus map[string][]g.MapVal
)

Functions

func AlertSendMail

func AlertSendMail(t g.AlertLog)

func AlertStorage

func AlertStorage(t g.AlertLog)

func CheckAlertStatus

func CheckAlertStatus(v map[string]string) bool

func ClearArchive

func ClearArchive()

clear timeout alert table

func MapPingStorage

func MapPingStorage()

func Mapping

func Mapping()

func MappingTask

func MappingTask(tel string, prov string, ips []string, wg *sync.WaitGroup)

ping main function

func Ping

func Ping()

func PingStorage

func PingStorage(pingres g.PingSt, Addr string)

storage ping data

func PingTask

func PingTask(t g.NetworkMember, wg *sync.WaitGroup)

ping main function

func SendMail

func SendMail(user, pwd, host, to, subject, body string) error

func StartAlert

func StartAlert()

func StartCloudMonitor

func StartCloudMonitor()

Types

This section is empty.

Jump to

Keyboard shortcuts

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