Documentation ¶
Index ¶
- Constants
- Variables
- type CA3s
- func (n *CA3s) Add(tmpl string, port uint16) (err error)
- func (n *CA3s) Command() (args, env []string, home string)
- func (n *CA3s) Config() *config.Config
- func (n *CA3s) Home() string
- func (n *CA3s) Host() *geneos.Host
- func (n *CA3s) Load() (err error)
- func (n *CA3s) Loaded() time.Time
- func (n *CA3s) Name() string
- func (n *CA3s) Rebuild(initial bool) error
- func (n *CA3s) Reload() (err error)
- func (n *CA3s) SetLoaded(t time.Time)
- func (n *CA3s) String() string
- func (n *CA3s) Type() *geneos.Component
- func (n *CA3s) Unload() (err error)
Constants ¶
View Source
const Name = "ca3"
Variables ¶
View Source
var CA3 = geneos.Component{ Name: Name, Aliases: []string{"collection-agent", "ca3s", "collector"}, LegacyPrefix: "", ParentType: &netprobe.Netprobe, PackageTypes: []*geneos.Component{&netprobe.Netprobe}, DownloadBase: geneos.DownloadBases{Default: "Netprobe", Nexus: "geneos-netprobe"}, GlobalSettings: map[string]string{ config.Join(Name, "ports"): "7137-", config.Join(Name, "clean"): strings.Join([]string{ "*.old", }, ":"), config.Join(Name, "purge"): strings.Join([]string{ "*.log", }, ":"), }, 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{}, Defaults: []string{ `binary=java`, `home={{join .root "netprobe" "ca3s" .name}}`, `install={{join .root "packages" "netprobe"}}`, `version=active_prod`, `plugins={{join .install .version "collection_agent"}}`, `program={{"/usr/bin/java"}}`, `logdir={{join .home "collection_agent"}}`, `logfile=collection-agent.log`, `config={{join .home "collection-agent.yml"}}`, `minheap=512M`, `maxheap=512M`, `autostart=true`, }, Directories: []string{ "packages/ca3", "netprobe/netprobes_shared", "netprobe/ca3s", }, GetPID: pidCheckFn, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.