ca3

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 18 Imported by: 0

README

geneos Collection Agents

A ca3 instance is an unmanaged Collection Agents. The instances uses the standard netprobe installation packages and requires Java 11 to be installed.

A new ca3 instance is created using local package configuration files, therefore the same package version must be installed locally as on any remote host.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CA3 = geneos.Component{
	Name:             "ca3",
	Aliases:          []string{"collection-agent", "ca3s", "collector"},
	LegacyPrefix:     "",
	ParentType:       &netprobe.Netprobe,
	PackageTypes:     []*geneos.Component{&netprobe.Netprobe},
	DownloadBase:     geneos.DownloadBases{Resources: "Netprobe", Nexus: "geneos-netprobe"},
	PortRange:        "CA3PortRange",
	CleanList:        "CA3CleanList",
	PurgeList:        "CA3PurgeList",
	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`,
	},
	GlobalSettings: map[string]string{
		"CA3PortRange": "7137-",
		"CA3CleanList": "*.old",
		"CA3PurgeList": "*.log",
	},
	Directories: []string{
		"packages/ca3",
		"netprobe/netprobes_shared",
		"netprobe/ca3s",
	},
	GetPID: pidCheckFn,
}

Functions

This section is empty.

Types

type CA3s

type CA3s instance.Instance

func (*CA3s) Add

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

func (*CA3s) Command

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

func (*CA3s) Config

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

func (*CA3s) Home

func (n *CA3s) Home() string

func (*CA3s) Host

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

func (*CA3s) Load

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

func (*CA3s) Loaded

func (n *CA3s) Loaded() time.Time

func (*CA3s) Name

func (n *CA3s) Name() string

func (*CA3s) Rebuild

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

func (*CA3s) Reload

func (n *CA3s) Reload() (err error)

func (*CA3s) SetLoaded added in v1.8.0

func (n *CA3s) SetLoaded(t time.Time)

func (*CA3s) String

func (n *CA3s) String() string

func (*CA3s) Type

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

Return the Component for an Instance

func (*CA3s) Unload

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

Jump to

Keyboard shortcuts

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