Documentation
¶
Index ¶
Constants ¶
View Source
const (
DataType string = "ibm-as400"
)
Variables ¶
View Source
var ( DependUrl = "https://%s:%s/private/dependencies/collector/as400/%s" AgentManagerPort = "9000" LogAuthProxyPort = "50051" DependenciesPort = "9001" ServiceLogFile = filepath.Join(utils.GetMyPath(), "logs", "utmstack_as400_collector.log") UUIDFileName = filepath.Join(utils.GetMyPath(), "uuid.yml") ConfigurationFile = filepath.Join(utils.GetMyPath(), "config.yml") RetentionConfigFile = filepath.Join(utils.GetMyPath(), "retention.json") LogsDBFile = filepath.Join(utils.GetMyPath(), "logs_process", "logs.db") VersionPath = filepath.Join(utils.GetMyPath(), "version.json") CollectorJarPath = filepath.Join(utils.GetMyPath(), "as400-collector.jar") ConfigFilePath = filepath.Join(utils.GetMyPath(), "local_storage", "server.json") )
View Source
var REPLACE_KEY string = ""
Functions ¶
func GenerateNewUUID ¶
func SaveConfig ¶
Types ¶
type Config ¶
type Config struct {
Server string `yaml:"server"`
CollectorID uint `yaml:"collector-id"`
CollectorKey string `yaml:"collector-key"`
SkipCertValidation bool `yaml:"insecure"`
}
func GetCurrentConfig ¶
func GetInitialConfig ¶
type InstallationUUID ¶
type InstallationUUID struct {
UUID string `yaml:"uuid"`
}
Click to show internal directories.
Click to hide internal directories.