Return host state monitor
@@ -97,12 +97,12 @@ func main() {
log.WithField("pkg", "cluster-monitor"), "Cluster State Monitor", Options.ClusterStateMonitorInterval, clusterApi.ClusterMonitoring)
clusterStateMonitor.Start()
defer clusterStateMonitor.Stop()
- /*
+
hostStateMonitor := thread.New(
log.WithField("pkg", "host-monitor"), "Host State Monitor", Options.HostStateMonitorInterval, hostApi.HostMonitoring)
hostStateMonitor.Start()
defer hostStateMonitor.Stop()
- */
+
s3Client, err := awsS3Client.NewS3Client(Options.BMConfig.S3EndpointURL, Options.BMConfig.AwsAccessKeyID, Options.BMConfig.AwsSecretAccessKey, log)
if err != nil {
log.Fatal("Failed to setup S3 client", err)
