netprobe

package
v1.5.0-beta2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Netprobe = geneos.Component{
	Name:             "netprobe",
	LegacyPrefix:     "netp",
	RelatedTypes:     nil,
	ComponentMatches: []string{"netprobe", "probe", "netprobes", "probes"},
	RealComponent:    true,
	DownloadBase:     geneos.DownloadBases{Resources: "Netprobe", Nexus: "geneos-netprobe"},
	PortRange:        "NetprobePortRange",
	CleanList:        "NetprobeCleanList",
	PurgeList:        "NetprobePurgeList",
	Aliases: map[string]string{
		"binsuffix": "binary",
		"netphome":  "home",
		"netpbins":  "install",
		"netpbase":  "version",
		"netpexec":  "program",
		"netplogd":  "logdir",
		"netplogf":  "logfile",
		"netpport":  "port",
		"netplibs":  "libpaths",
		"netpcert":  "certificate",
		"netpkey":   "privatekey",
		"netpuser":  "user",
		"netpopts":  "options",
	},
	Defaults: []string{
		`binary=netprobe.linux_64`,
		`home={{join .root "netprobe" "netprobes" .name}}`,
		`install={{join .root "packages" "netprobe"}}`,
		`version=active_prod`,
		`program={{join "${config:install}" "${config:version}" "${config:binary}"}}`,
		`logfile=netprobe.log`,
		`libpaths={{join "${config:install}" "${config:version}" "lib64"}}:{{join "${config:install}" "${config:version}"}}`,
	},
	GlobalSettings: map[string]string{
		"NetprobePortRange": "7036,7100-",
		"NetprobeCleanList": "*.old",
		"NetprobePurgeList": "netprobe.log:netprobe.txt:*.snooze:*.user_assignment",
	},
	Directories: []string{
		"packages/netprobe",
		"netprobe/netprobes",
	},
}

Functions

func New

func New(name string) geneos.Instance

Types

type Netprobes

type Netprobes instance.Instance

func (*Netprobes) Add

func (n *Netprobes) Add(tmpl string, port uint16) (err error)

func (*Netprobes) Command

func (n *Netprobes) Command() (args, env []string)

func (*Netprobes) Config

func (n *Netprobes) Config() *config.Config

func (*Netprobes) Home

func (n *Netprobes) Home() string

func (*Netprobes) Host

func (n *Netprobes) Host() *geneos.Host

func (*Netprobes) Load

func (n *Netprobes) Load() (err error)

func (*Netprobes) Loaded

func (n *Netprobes) Loaded() bool

func (*Netprobes) Name

func (n *Netprobes) Name() string

func (*Netprobes) Rebuild

func (n *Netprobes) Rebuild(initial bool) error

func (*Netprobes) Reload

func (n *Netprobes) Reload(params []string) (err error)

func (*Netprobes) String

func (n *Netprobes) String() string

func (*Netprobes) Type

func (n *Netprobes) Type() *geneos.Component

Return the Component for an Instance

func (*Netprobes) Unload

func (n *Netprobes) Unload() (err error)

Jump to

Keyboard shortcuts

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