Documentation ¶
Index ¶
- Constants
- Variables
- type Netprobes
- func (n *Netprobes) Add(tmpl string, port uint16) (err error)
- func (n *Netprobes) Command() (args, env []string, home string)
- func (n *Netprobes) Config() *config.Config
- func (n *Netprobes) Home() string
- func (n *Netprobes) Host() *geneos.Host
- func (n *Netprobes) Load() (err error)
- func (n *Netprobes) Loaded() time.Time
- func (n *Netprobes) Name() string
- func (n *Netprobes) Rebuild(initial bool) error
- func (n *Netprobes) Reload() (err error)
- func (n *Netprobes) SetLoaded(t time.Time)
- func (n *Netprobes) String() string
- func (n *Netprobes) Type() *geneos.Component
- func (n *Netprobes) Unload() (err error)
Constants ¶
View Source
const Name = "netprobe"
Variables ¶
View Source
var Netprobe = geneos.Component{ Name: Name, Aliases: []string{"probe", "netprobes", "probes"}, LegacyPrefix: "netp", UsesKeyfiles: true, DownloadBase: geneos.DownloadBases{Default: "Netprobe+-+Standard, Netprobe", Nexus: "geneos-netprobe-standard, geneos-netprobe"}, DownloadInfix: "netprobe-standard", GlobalSettings: map[string]string{ config.Join(Name, "ports"): "7036,7100-", config.Join(Name, "clean"): strings.Join([]string{ "*.old", }, ":"), config.Join(Name, "purge"): strings.Join([]string{ "*.log", "*.txt", "*.snooze", "*.user_assignment", "Workflow/", "ca.pid.*", }, ":"), }, PortRange: config.Join(Name, "ports"), CleanList: config.Join(Name, "clean"), PurgeList: config.Join(Name, "purge"), ConfigAliases: map[string]string{ config.Join(Name, "ports"): Name + "portrange", config.Join(Name, "clean"): Name + "cleanlist", config.Join(Name, "purge"): Name + "purgelist", }, LegacyParameters: 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`, `calogfile=collection-agent.log`, `libpaths={{join "${config:install}" "${config:version}" "lib64"}}:{{join "${config:install}" "${config:version}"}}`, `autostart=true`, }, Directories: []string{ "packages/netprobe", "netprobe/netprobes", "netprobe/netprobes_shared", }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.