netprobe

package
v1.0.1-pre Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Netprobe = geneos.Component{
	Name:             "netprobe",
	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 .install .version .binary}}",
		"logfile=netprobe.log",
		"libpaths={{join .install .version \"lib64\"}}:{{join .install .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(username string, tmpl string, port uint16) (err error)

func (*Netprobes) Command

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

func (*Netprobes) Home

func (n *Netprobes) Home() string

func (*Netprobes) Host

func (n *Netprobes) Host() *host.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) Prefix

func (n *Netprobes) Prefix() string

func (*Netprobes) Rebuild

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

func (*Netprobes) Reload

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

func (*Netprobes) SetConf

func (n *Netprobes) SetConf(v *viper.Viper)

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)

func (*Netprobes) V

func (n *Netprobes) V() *viper.Viper

Jump to

Keyboard shortcuts

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