fa2

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 11 Imported by: 0

README

geneos Fix Analysers

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FA2 = geneos.Component{
	Name:          "fa2",
	Aliases:       []string{"fixanalyser", "fixanalyzer", "fixanalyser2-netprobe"},
	LegacyPrefix:  "fa2",
	ParentType:    &netprobe.Netprobe,
	DownloadBase:  geneos.DownloadBases{Resources: "Fix+Analyser+2+Netprobe", Nexus: "geneos-fixanalyser2-netprobe"},
	DownloadInfix: "fixanalyser2-netprobe",
	PortRange:     "FA2PortRange",
	CleanList:     "FA2CleanList",
	PurgeList:     "FA2PurgeList",
	LegacyParameters: map[string]string{
		"binsuffix": "binary",
		"fa2home":   "home",
		"fa2bins":   "install",
		"fa2base":   "version",
		"fa2exec":   "program",
		"fa2logd":   "logdir",
		"fa2logf":   "logfile",
		"fa2port":   "port",
		"fa2libs":   "libpaths",
		"fa2cert":   "certificate",
		"fa2key":    "privatekey",
		"fa2user":   "user",
		"fa2opts":   "options",
	},
	Defaults: []string{
		`binary=fix-analyser2-netprobe.linux_64`,
		`home={{join .root "netprobe" "fa2s" .name}}`,
		`install={{join .root "packages" "fa2"}}`,
		`version=active_prod`,
		`program={{join "${config:install}" "${config:version}" "${config:binary}"}}`,
		`logfile=fa2.log`,
		`port=7030`,
		`libpaths={{join "${config:install}" "${config:version}" "lib64"}}:{{join "${config:install}" "${config:version}"}}`,
		`autostart=true`,
	},
	GlobalSettings: map[string]string{
		"FA2PortRange": "7030,7100-",
		"FA2CleanList": "*.old",
		"FA2PurgeList": "fa2.log:fa2.txt:*.snooze:*.user_assignment",
	},
	Directories: []string{
		"packages/fa2",
		"netprobe/fa2s",
	},
}

Functions

This section is empty.

Types

type FA2s

type FA2s instance.Instance

func (*FA2s) Add

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

func (*FA2s) Command

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

func (*FA2s) Config

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

func (*FA2s) Home

func (n *FA2s) Home() string

func (*FA2s) Host

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

func (*FA2s) Load

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

func (*FA2s) Loaded

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

func (*FA2s) Name

func (n *FA2s) Name() string

func (*FA2s) Rebuild

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

func (*FA2s) Reload

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

func (*FA2s) SetLoaded added in v1.8.0

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

func (*FA2s) String

func (n *FA2s) String() string

func (*FA2s) Type

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

Return the Component for an Instance

func (*FA2s) Unload

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

Jump to

Keyboard shortcuts

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