예제 #1
0
        public static void Start()
        {
            try
            {
                Log.Info("Inside start service sensu-client ");

                _keepalivethread.Start();
                Log.Info("Sensu-client KeeAliveScheduler started!");

                _subscriptionsthread.Start();
                Log.Info("Sensu-client Subscription started!");

                _socketServer.Open();
                Log.Info("Socket server opened");

                _standAloneCheckScheduler.Start();
                Log.Info("StandAlone checks started");
            }
            catch (Exception exception)
            {
                Log.Error(exception, "Fail on starting ");
            }
        }