ca3

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CA3 = geneos.Component{
	Name:             "ca3",
	LegacyPrefix:     "",
	RelatedTypes:     []*geneos.Component{&netprobe.Netprobe},
	ComponentMatches: []string{"ca3", "collection-agent", "ca3s", "collector"},
	RealComponent:    true,
	DownloadBase:     geneos.DownloadBases{Resources: "Netprobe", Nexus: "geneos-netprobe"},
	PortRange:        "CA3PortRange",
	CleanList:        "CA3CleanList",
	PurgeList:        "CA3PurgeList",
	Aliases:          map[string]string{},
	Defaults: []string{
		`home={{join .root "ca3" "ca3s" .name}}`,
		`install={{join .root "packages" "netprobe"}}`,
		`plugins={{join .install "collection_agent" "plugins"}}`,
		`version=active_prod`,
		`program={{"/usr/bin/java"}}`,
		`logfile=collection-agent.log`,
		`config={{join .home "collection-agent.yml"}}`,
		`minheap=512M`,
		`maxheap=512M`,
	},
	GlobalSettings: map[string]string{
		"CA3PortRange": "7137-",
		"CA3CleanList": "*.old",
		"CA3PurgeList": "*.log",
	},
	Directories: []string{
		"packages/ca3",
		"ca3/ca3s",
	},
	GetPID: ca3getPID,
}

Functions

func New

func New(name string) geneos.Instance

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)

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() bool

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(params []string) (err error)

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