Documentation ¶
Index ¶
- func AlertConnect(mysql *xorm.Engine, db_id int)
- func CheckExpression(tri common.Trigger, item_value string) int
- func Check_Item_Status(mysql *xorm.Engine, os_id int, host string, trigger_type string, ...)
- func ExecTriggers(mysql *xorm.Engine, db_id int, trigger_type string, item_name string, ...)
- func GatherLinuxBasicInfo(snmp *gs.GoSNMP, mysql *xorm.Engine, os_id int, host string, alias string, ...) error
- func GatherLinuxDiskIOInfo(mysql *xorm.Engine, os_id int, host string, alias string) error
- func GatherLinuxDiskInfo(snmp *gs.GoSNMP, mysql *xorm.Engine, os_id int, host string, alias string) error
- func GatherLinuxNetInfo(snmp *gs.GoSNMP, mysql *xorm.Engine, os_id int, host string, alias string) error
- func GatherOSStatus(mysql *xorm.Engine, os_id int, host string)
- func GatherWinBasicInfo(client *winrm.Client, mysql *xorm.Engine, os_id int, host string, alias string) error
- func GatherWinDiskIOInfo(client *winrm.Client, mysql *xorm.Engine, os_id int, host string, alias string) error
- func GatherWinDiskInfo(client *winrm.Client, mysql *xorm.Engine, os_id int, host string, alias string) error
- func GatherWinNetInfo(client *winrm.Client, mysql *xorm.Engine, os_id int, host string, alias string) error
- func GenerateLinuxStats(wg *sync.WaitGroup, mysql *xorm.Engine, os_id int, host string, port int, ...)
- func GenerateWinStats(wg *sync.WaitGroup, mysql *xorm.Engine, os_id int, host string, port int, ...)
- func GetBytesReceivedPerSec(client *winrm.Client, net string) (int64, error)
- func GetBytesSentPerSec(client *winrm.Client, net string) (int64, error)
- func GetColumnValue(mysql *xorm.Engine, column string, db_id int) string
- func GetConnect(mysql *xorm.Engine, db_id int) string
- func GetCpuUsage(mysql *xorm.Engine, os_id int) string
- func GetDiskIOReadTotal(mysql *xorm.Engine, os_id int) int64
- func GetDiskIOReadsOld(mysql *xorm.Engine, os_id int, fdisk string) int64
- func GetDiskIOTime(mysql *xorm.Engine, os_id int, fdisk string) int64
- func GetDiskIOWriteTotal(mysql *xorm.Engine, os_id int) int64
- func GetDiskIOWritesOld(mysql *xorm.Engine, os_id int, fdisk string) int64
- func GetDiskReadBytesPerSec(client *winrm.Client, driver string) (int64, error)
- func GetDiskWriteBytesPerSec(client *winrm.Client, driver string) (int64, error)
- func GetDriverFreeSize(client *winrm.Client, driver string) (int64, error)
- func GetDriverSize(client *winrm.Client, driver string) (int64, error)
- func GetHostname(snmp *gs.GoSNMP) (string, error)
- func GetIOTotal(mysql *xorm.Engine, os_id int) string
- func GetKernel(snmp *gs.GoSNMP) (string, error)
- func GetNetBytesIn(host string, netid string) (int64, error)
- func GetNetBytesOut(host string, netid string) (int64, error)
- func GetNetDescr(host string) (map[string]string, error)
- func GetNetInBytesOld(mysql *xorm.Engine, os_id int, fdisk string) int64
- func GetNetInBytesTotal(mysql *xorm.Engine, os_id int) int64
- func GetNetOutBytesOld(mysql *xorm.Engine, os_id int, fdisk string) int64
- func GetNetOutBytesTotal(mysql *xorm.Engine, os_id int) int64
- func GetNetTime(mysql *xorm.Engine, os_id int, fdisk string) int64
- func GetNetTotal(mysql *xorm.Engine, os_id int) string
- func GetProcess(snmp *gs.GoSNMP) (int64, error)
- func GetSnmpInt64ByOids(snmp *gs.GoSNMP, oids []string) (map[int]int64, error)
- func GetSnmpStringByOids(snmp *gs.GoSNMP, oids []string) (map[int]string, error)
- func GetSystemDate(snmp *gs.GoSNMP) (string, error)
- func GetUptime(snmp *gs.GoSNMP) (string, error)
- func GetWinHostname(client *winrm.Client) (string, error)
- func GetWinIdleCPU(client *winrm.Client) (string, error)
- func GetWinKernel(client *winrm.Client) (string, error)
- func GetWinMemoryFree(client *winrm.Client) (int64, error)
- func GetWinMemoryTotal(client *winrm.Client) (int64, error)
- func GetWinProcess(client *winrm.Client) (int, error)
- func GetWinSystemDate(client *winrm.Client) (string, error)
- func GetWinUptime(client *winrm.Client) (string, error)
- func MoveToHistory(mysql *xorm.Engine, table_name string, key_name string, key_value int)
- func ToBigInt(value interface{}) int64
- func Update_Item_Tips(mysql *xorm.Engine, host string, field string, value string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertConnect ¶
func Check_Item_Status ¶
func ExecTriggers ¶
func GatherLinuxBasicInfo ¶
func GatherLinuxDiskIOInfo ¶
func GatherLinuxDiskInfo ¶
func GatherLinuxNetInfo ¶
func GatherWinBasicInfo ¶
func GatherWinDiskIOInfo ¶
func GatherWinDiskInfo ¶
func GatherWinNetInfo ¶
func GenerateLinuxStats ¶
func GenerateWinStats ¶
func GetBytesReceivedPerSec ¶
func GetDiskIOWritesOld ¶
func GetDiskReadBytesPerSec ¶
func GetDiskWriteBytesPerSec ¶
func GetSnmpInt64ByOids ¶
func GetSnmpStringByOids ¶
func MoveToHistory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.