Alignak-monitoring / alignak

Monitoring tool, highly flexible and new standard oriented
https://alignak-monitoring.github.io
GNU Affero General Public License v3.0
86 stars 19 forks source link

Daemon stop mode - arbiter is logging too much #1123

Open mohierf opened 4 years ago

mohierf commented 4 years ago

On arbiter stop, when in the daemon stop more, many connection error logs may be avoided:


[2020-02-14 19:13:01] INFO: [arbiter-master.alignak.daemons.arbiterdaemon] daemon stop mode ...
[2020-02-14 19:13:01] INFO: [arbiter-master.alignak.daemons.arbiterdaemon] entering daemon stop mode, time before exiting: 5
[2020-02-14 19:13:01] ERROR: [arbiter-master.alignak.objects.satellitelink] The connection is not created for reactionner-master
[2020-02-14 19:13:01] WARNING: [arbiter-master.alignak.dispatcher] Daemon stop request failed, <ReactionnerLink_1 - reactionner/reactionner-master, http//reactionner-master:7769, rid: 1581703747.39399452, spare: False, realm: 0a26de38-d8b9-4def-9934-8c9475376929, sub-realms: True, managing:  (f6f5a47cccf0177ec03328945f5691713ee5fb69) /> probably stopped!
[2020-02-14 19:13:01] INFO: [arbiter-master.alignak.objects.satellitelink] Stopping... daemon (poller/poller-master) cannot be connected. It is also probably stopping or yet stopped.
[2020-02-14 19:13:01] ERROR: [arbiter-master.alignak.objects.satellitelink] The connection is not created for receiver-master
[2020-02-14 19:13:01] WARNING: [arbiter-master.alignak.dispatcher] Daemon stop request failed, <ReceiverLink_1 - receiver/receiver-master, http//receiver-master:7773, rid: 1581703745.2600744, spare: False, realm: 0a26de38-d8b9-4def-9934-8c9475376929, sub-realms: True, managing:  (f6f5a47cccf0177ec03328945f5691713ee5fb69) /> probably stopped!
[2020-02-14 19:13:01] ERROR: [arbiter-master.alignak.objects.satellitelink] The connection is not created for scheduler-master
[2020-02-14 19:13:01] WARNING: [arbiter-master.alignak.dispatcher] Daemon stop request failed, <SchedulerLink_1 - scheduler/scheduler-master, http//scheduler-master:7768, rid: 1581703754.54320379, spare: False, realm: 0a26de38-d8b9-4def-9934-8c9475376929, sub-realms: True, managing:  (9668edcfba01872d38cacae1dd24a120d8bb4dfa) /> probably stopped!
[2020-02-14 19:13:01] ERROR: [arbiter-master.alignak.objects.satellitelink] The connection is not created for scheduler-north
[2020-02-14 19:13:01] WARNING: [arbiter-master.alignak.dispatcher] Daemon stop request failed, <SchedulerLink_2 - scheduler/scheduler-north, http//scheduler-north:17768, rid: 1581703748.4779407, spare: False, realm: 37d51efc-624e-47d3-89f6-19a2fc5cd89a, sub-realms: True, managing:  (d13fcd49708b6db13b7771e5100ae690c8745aba) /> probably stopped!
[2020-02-14 19:13:01] ERROR: [arbiter-master.alignak.objects.satellitelink] The connection is not created for scheduler-south
[2020-02-14 19:13:01] WARNING: [arbiter-master.alignak.dispatcher] Daemon stop request failed, <SchedulerLink_3 - scheduler/scheduler-south, http//scheduler-south:27768, rid: 1581703744.70936165, spare: False, realm: 36d6d6e0-b9b8-4e8a-ac38-d9c5f7a15b13, sub-realms: True, managing:  (f6f5a47cccf0177ec03328945f5691713ee5fb69) /> probably stopped!
``