Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(configPath string)
InitConfig creates a config object from the give configpath
Types ¶
type Config ¶
type Config struct { Main struct { NagiosSpoolfileFolder string NagiosSpoolfileWorker int InfluxWorker int MaxInfluxWorker int DumpFile string NagfluxSpoolfileFolder string } Log struct { LogFile string MinSeverity string } Monitoring struct { WebserverPort string } Influx struct { Address string Arguments string Version float32 CreateDatabaseIfNotExists bool NastyString string NastyStringToReplace string } Grafana struct { FieldSeperator string } Livestatus struct { Type string Address string } }
Config Represents the config file.
Click to show internal directories.
Click to hide internal directories.