Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CollectorEndpoint string
CollectorEndpointCACertPath string
AlertEndpoint string
AlertEndpointCACertPath string
Port string
TLSEnabled bool
CertPath string
KeyPath string
LogFileEnabled bool
LogFilePath string
CLIMonitoringInterval int
SQLiteDBLoggingEnabled bool
SQLiteDBPath string
MySQLUserName string
MySQLHost string
MySQLDatabaseName string
CPUThreshold int
MemoryThreshold int
DiskUsageThreshold int
MonitorIntervalSeconds int
DisksToIgnore string
WarnAfterSecs int
ServerId string
Services []ServiceToMonitor
}
Config struct with config
type ServiceToMonitor ¶
ServiceToMonitor holds service info from config.json
Click to show internal directories.
Click to hide internal directories.