Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseDir ¶
func GetBaseDir() string
GetBaseDir return executable base directory, os independant
Types ¶
type Configuration ¶
type Configuration struct { Hostname string Environment string Location string DataserviceURL string AgentUser string AgentPassword string EnableServerValidation bool ForcePwshVersion string Period int Verbose bool ParallelizeRequests bool Features Features }
Configuration holds the agent configuration options
func ReadConfig ¶
func ReadConfig() Configuration
ReadConfig reads the configuration file from the current dir or /opt/ercole-agent
type Features ¶
type Features struct { OracleDatabase OracleDatabaseFeature Virtualization VirtualizationFeature OracleExadata OracleExadataFeature MicrosoftSQLServer MicrosoftSQLServerFeature }
Features holds features params
type Hypervisor ¶
type Hypervisor struct { Type string Endpoint string Username string Password string OvmUserKey string OvmControl string }
Hypervisor holds the parameters used to connect to an hypervisor
type MicrosoftSQLServerFeature ¶
MicrosoftSQLServerFeature holds microsoft sql server feature params
type OracleDatabaseFeature ¶
type OracleDatabaseFeature struct { Enabled bool FetcherUser string Oratab string AWR int Forcestats bool }
OracleDatabaseFeature holds oracle database feature params
type OracleExadataFeature ¶
OracleExadataFeature holds oracle exadata feature params
type VirtualizationFeature ¶
type VirtualizationFeature struct { Enabled bool FetcherUser string Hypervisors []Hypervisor }
VirtualizationFeature holds virtualization feature params
Click to show internal directories.
Click to hide internal directories.