Versions in this module Expand all Collapse all v1 v1.48.0 Jan 17, 2025 v1.47.0 Dec 23, 2024 v1.46.1 Dec 11, 2024 v1.46.0 Dec 7, 2024 v1.45.0 Oct 30, 2024 v1.44.0 Oct 13, 2024 Changes in this version + type DeviceEnt struct + FirstTime int64 + ID string + IP string + LastTime int64 + Name string + NodeID string + Penalty int64 + Score float64 + UpdateTime int64 + ValidScore bool + Vendor string + type EventLogEnt struct + Event string + Level string + NodeID string + NodeName string + Time int64 + Type string + type FlowEnt struct + Bytes int64 + Client string + ClientLoc string + ClientName string + ClientNodeID string + Count int64 + FirstTime int64 + ID string + LastTime int64 + Penalty int64 + Score float64 + Server string + ServerLoc string + ServerName string + ServerNodeID string + Services map[string]int64 + UpdateTime int64 + ValidScore bool + type IPReportEnt struct + Change int64 + Count int64 + FirstTime int64 + IP string + LastTime int64 + Loc string + MAC string + Name string + NodeID string + Penalty int64 + Score float64 + UpdateTime int64 + ValidScore bool + Vendor string + type LogEnt struct + Log string + Time int64 + Type string + type LogFilterEnt struct + EndTime string + Filter string + LogType string + StartTime string + type MonitorDataEnt struct + At int64 + Bytes float64 + CPU float64 + Conn int + Disk float64 + Load float64 + Mem float64 + Net float64 + Proc int + type NodeEnt struct + AddrMode string + AutoAck bool + Community string + Descr string + GNMIEncoding string + GNMIPassword string + GNMIPort string + GNMIUser string + ID string + IP string + IPv6 string + Icon string + Image string + MAC string + Name string + Password string + PublicKey string + SnmpMode string + State string + URL string + User string + X int + Y int + type PollingEnt struct + Extractor string + FailAction string + Filter string + ID string + LastTime int64 + Level string + LogMode int + Mode string + Name string + NextTime int64 + NodeID string + Params string + PollInt int + RepairAction string + Result map[string]interface{} + Retry int + Script string + State string + Timeout int + Type string + type PollingLogEnt struct + PollingID string + Result map[string]interface{} + State string + Time int64 + type SFlowCounterEnt struct + Data string + Remote string + Type string + type SensorEnt struct + FirstTime int64 + Host string + ID string + Ignore bool + LastTime int64 + Monitors []SensorMonitorEnt + Param string + Send int64 + State string + Stats []SensorStatsEnt + Total int64 + Type string + type SensorMonitorEnt struct + CPU float64 + Load float64 + Mem float64 + Process int64 + Recv int64 + RxSpeed float64 + Sent int64 + Time int64 + TxSpeed float64 + type SensorStatsEnt struct + Count int64 + LastSend int64 + PS float64 + Send int64 + Time int64 + Total int64 + type ServerEnt struct + Bytes int64 + Count int64 + DHCPInfo string + FirstTime int64 + ID string + LastTime int64 + Loc string + NTPInfo string + Penalty int64 + Score float64 + Server string + ServerName string + ServerNodeID string + Services map[string]int64 + TLSInfo string + UpdateTime int64 + ValidScore bool + type UserClientEnt struct + Ok int32 + Total int32 + type UserEnt struct + ClientMap map[string]UserClientEnt + FirstTime int64 + ID string + LastTime int64 + Ok int + Penalty int64 + Score float64 + Server string + ServerName string + ServerNodeID string + Total int + UpdateTime int64 + UserID string + ValidScore bool v1.43.2 Sep 13, 2024 v1.43.1 Sep 2, 2024 v1.43.0 Aug 31, 2024 Changes in this version + type AiListEntWebAPI struct + Count int + ID string + LastTime int64 + NodeID string + NodeName string + PollingName string + Score float64 + type ArpFilter struct + EndDate string + EndTime string + IP string + MAC string + StartDate string + StartTime string + type ArpWebAPI struct + IP string + MAC string + OldMAC string + OldVendor string + State string + Time int64 + Vendor string + type EventLogFilter struct + EndDate string + EndTime string + Event string + Level string + NodeID string + StartDate string + StartTime string + Type string + type EventLogsWebAPI struct + EventLogs []*datastore.EventLogEnt + NodeList []selectEntWebAPI + type NetflowFilter struct + DstIP string + DstPort string + EndDate string + EndTime string + Filter int + IP string + NextTime int64 + Port string + Protocol string + SrcDst bool + SrcIP string + SrcPort string + StartDate string + StartTime string + TCPFlag string + type NetflowWebAPI struct + Filter int + Limit int + Logs []*NetflowWebAPILogEnt + NextTime int64 + Process int + type NetflowWebAPILogEnt struct + Bytes int64 + Dst string + DstIP string + DstMAC string + DstPort int + Duration float64 + Packets int64 + Protocol string + Src string + SrcIP string + SrcMAC string + SrcPort int + TCPFlags string + Time int64 + type PollingsWebAPI struct + NodeList []selectEntWebAPI + Pollings []*datastore.PollingEnt + type SFlowCounterFilter struct + EndDate string + EndTime string + Filter int + NextTime int64 + Remote string + StartDate string + StartTime string + Type string + type SFlowCounterWebAPI struct + Filter int + Limit int + Logs []*SFlowCounterWebAPILogEnt + NextTime int64 + Process int + type SFlowCounterWebAPILogEnt struct + Time int64 + type SFlowFilter struct + DstIP string + DstPort string + EndDate string + EndTime string + Filter int + IP string + NextTime int64 + Port string + Protocol string + Reason string + SrcDst bool + SrcIP string + SrcPort string + StartDate string + StartTime string + TCPFlag string + type SFlowWebAPI struct + Filter int + Limit int + Logs []*SFlowWebAPILogEnt + NextTime int64 + Process int + type SFlowWebAPILogEnt struct + Bytes int64 + Dst string + DstIP string + DstMAC string + DstPort int + Protocol string + Reason int + Src string + SrcIP string + SrcMAC string + SrcPort int + TCPFlags string + Time int64 + type SnmpTrapFilter struct + EndDate string + EndTime string + FromAddress string + StartDate string + StartTime string + TrapType string + Variables string + type SnmpTrapWebAPI struct + FromAddress string + Time int64 + TrapType string + Variables string + type SyslogFilter struct + EndDate string + EndTime string + Extractor string + Filter int + Host string + Level string + Message string + NextTime int64 + StartDate string + StartTime string + Tag string + Type string + type SyslogWebAPI struct + ExtractDatas [][]string + ExtractHeader []string + Filter int + Limit int + Logs []*SyslogWebAPILogEnt + NextTime int64 + Process int + type SyslogWebAPILogEnt struct + Facility int + Host string + Level string + Message string + Severity int + Tag string + Time int64 + Type string + type TWSNMPApi struct + InsecureSkipVerify bool + Timeout int + Token string + URL string + func NewClient(url string) *TWSNMPApi + func (a *TWSNMPApi) Delete(path string) error + func (a *TWSNMPApi) DeleteLog(id string) error + func (a *TWSNMPApi) DeleteNodes(ids []string) error + func (a *TWSNMPApi) DeletePollings(ids []string) error + func (a *TWSNMPApi) DeleteReport(t, id string) error + func (a *TWSNMPApi) Get(path string) ([]byte, error) + func (a *TWSNMPApi) GetAIList() ([]*AiListEntWebAPI, error) + func (a *TWSNMPApi) GetArpLogs(filter *ArpFilter) ([]*ArpWebAPI, error) + func (a *TWSNMPApi) GetDevices() ([]*datastore.DeviceEnt, error) + func (a *TWSNMPApi) GetEventLogs(filter *EventLogFilter) (*EventLogsWebAPI, error) + func (a *TWSNMPApi) GetFlows() ([]*datastore.FlowEnt, error) + func (a *TWSNMPApi) GetIPFIX(filter *NetflowFilter) (*NetflowWebAPI, error) + func (a *TWSNMPApi) GetIPs() ([]*datastore.IPReportEnt, error) + func (a *TWSNMPApi) GetMonitor() ([]*datastore.MonitorDataEnt, error) + func (a *TWSNMPApi) GetNetFlow(filter *NetflowFilter) (*NetflowWebAPI, error) + func (a *TWSNMPApi) GetNodes() ([]*datastore.NodeEnt, error) + func (a *TWSNMPApi) GetPollingLogs(id string, filter *TimeFilter) ([]*datastore.PollingLogEnt, error) + func (a *TWSNMPApi) GetPollings() (*PollingsWebAPI, error) + func (a *TWSNMPApi) GetSFlow(filter *SFlowFilter) ([]*SFlowWebAPI, error) + func (a *TWSNMPApi) GetSFlowCounter(filter *SFlowCounterFilter) (*SFlowCounterWebAPI, error) + func (a *TWSNMPApi) GetSensors() ([]*datastore.SensorEnt, error) + func (a *TWSNMPApi) GetServers() ([]*datastore.ServerEnt, error) + func (a *TWSNMPApi) GetSnmpTraps(filter *SnmpTrapFilter) ([]*SnmpTrapWebAPI, error) + func (a *TWSNMPApi) GetSyslogs(filter *SyslogFilter) (*SyslogWebAPI, error) + func (a *TWSNMPApi) GetUsers() ([]*datastore.UserEnt, error) + func (a *TWSNMPApi) Login(user, password string) error + func (a *TWSNMPApi) Post(path string, data []byte) ([]byte, error) + func (a *TWSNMPApi) ResetReport(t string) error + func (a *TWSNMPApi) UpdateNode(node *datastore.NodeEnt) error + func (a *TWSNMPApi) UpdatePolling(polling *datastore.PollingEnt) error + type TimeFilter struct + EndDate string + EndTime string + StartDate string + StartTime string