options

package
v1.58.6 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OsTypeEnums = struct {
	OsTypeAix     OsTypeEnum
	OsTypeDarwin  OsTypeEnum
	OsTypeHpux    OsTypeEnum
	OsTypeLinux   OsTypeEnum
	OsTypeSolaris OsTypeEnum
	OsTypeUnknown OsTypeEnum
	OsTypeWindows OsTypeEnum
	OsTypeZos     OsTypeEnum
}{
	"OS_TYPE_AIX",
	"OS_TYPE_DARWIN",
	"OS_TYPE_HPUX",
	"OS_TYPE_LINUX",
	"OS_TYPE_SOLARIS",
	"OS_TYPE_UNKNOWN",
	"OS_TYPE_WINDOWS",
	"OS_TYPE_ZOS",
}

Functions

This section is empty.

Types

type DiskComplex

type DiskComplex struct {
	Filesystem *string    `json:"filesystem,omitempty"` // **File system type field:** the type of the file system to be excluded from monitoring. Examples:\n\n* ext4\n* ext3\n* btrfs\n* ext*\n\n⚠️ File system types are case sensitive! \n\nThe wildcard in the last example means to exclude matching file systems such as types ext4 and ext3
	Mountpoint *string    `json:"mountpoint,omitempty"` // **Disk or mount point path field:** the path to where the disk to be excluded from monitoring is mounted. Examples:\n\n* /mnt/my_disk\n* /staff/emp1\n* C:\\\n* /staff/*\n* /disk*\n\n ⚠️ Mount point paths are case sensitive! \n\nThe wildcard in **/staff/*** means to exclude every child folder of /staff.\n\nThe wildcard in **/disk*** means to exclude every mount point starting with /disk, for example /disk1, /disk99,  /diskabc
	Os         OsTypeEnum `json:"os"`                   // Possible Values: `OS_TYPE_AIX`, `OS_TYPE_DARWIN`, `OS_TYPE_HPUX`, `OS_TYPE_LINUX`, `OS_TYPE_SOLARIS`, `OS_TYPE_UNKNOWN`, `OS_TYPE_WINDOWS`, `OS_TYPE_ZOS`
}

func (*DiskComplex) MarshalHCL

func (me *DiskComplex) MarshalHCL(properties hcl.Properties) error

func (*DiskComplex) Schema

func (me *DiskComplex) Schema() map[string]*schema.Schema

func (*DiskComplex) UnmarshalHCL

func (me *DiskComplex) UnmarshalHCL(decoder hcl.Decoder) error

type DiskComplexes

type DiskComplexes []*DiskComplex

func (DiskComplexes) MarshalHCL

func (me DiskComplexes) MarshalHCL(properties hcl.Properties) error

func (*DiskComplexes) Schema

func (me *DiskComplexes) Schema() map[string]*schema.Schema

func (*DiskComplexes) UnmarshalHCL

func (me *DiskComplexes) UnmarshalHCL(decoder hcl.Decoder) error

type OsTypeEnum

type OsTypeEnum string

type Settings

type Settings struct {
	DisableNfsDiskMonitoring bool          `json:"disableNfsDiskMonitoring"` // Deactivate NFS monitoring on all supported systems
	Exclusions               DiskComplexes `json:"exclusions,omitempty"`     // OneAgent automatically detects and monitors all your mount points, however you can create exception rules to remove disks from the monitoring list.
	NfsShowAll               bool          `json:"nfsShowAll"`               // When disabled OneAgent will try to deduplicate some of nfs disks. Disabled by default, applies only to Linux hosts. Requires OneAgent 1.209 or later
	Scope                    *string       `json:"-" scope:"scope"`          // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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