ntopng

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	HostList      map[string]ntopHost
	InterfaceList map[string]ntopInterfaceFull
	ListRWMutex   *sync.RWMutex
	// contains filtered or unexported fields
}

func CreateController

func CreateController(config *config.Config, stopChan <-chan struct{}) Controller

func (*Controller) CacheInterfaceIds

func (c *Controller) CacheInterfaceIds() error

func (*Controller) ResolveIfID

func (c *Controller) ResolveIfID(inputIfID int) (string, error)

func (*Controller) RunController

func (c *Controller) RunController()

func (*Controller) ScrapeAllConfiguredTargets

func (c *Controller) ScrapeAllConfiguredTargets()

func (*Controller) ScrapeHostEndpointForAllInterfaces

func (c *Controller) ScrapeHostEndpointForAllInterfaces()

func (*Controller) ScrapeInterfaceEndpointForAllInterfaces

func (c *Controller) ScrapeInterfaceEndpointForAllInterfaces()

type NtopDNSSub

type NtopDNSSub struct {
	NumQueries      float64        `json:"num_queries"`
	NumRepliesError float64        `json:"num_replies error"`
	NumRepliesOK    float64        `json:"num_replies ok"`
	Queries         ntopDNSQueries `json:"queries"`
}

Jump to

Keyboard shortcuts

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