shinken-solutions / shinken

Flexible and scalable monitoring framework
http://www.shinken-monitoring.org
GNU Affero General Public License v3.0
1.13k stars 337 forks source link

Arbiter stuck when using vmware-autolinking module #1878

Open claneys opened 7 years ago

claneys commented 7 years ago

Arbiter became stuck just after initialisation if script and output file aren't here from vmware_autolinking module, same problem about autolinking for libvirt or any derivated.

Arbiter log stop here :

[1478072366] INFO: [Shinken] Dispatching Realm All
[1478072366] INFO: [Shinken] [All] Dispatching 1/1 configurations
[1478072366] INFO: [Shinken] [All] Schedulers order: scheduler-master
[1478072366] INFO: [Shinken] [All] Dispatching configuration 0
[1478072366] INFO: [Shinken] [All] Trying to send conf 0 to scheduler scheduler-master
[1478072366] INFO: [Shinken] [All] Dispatch OK of conf in scheduler scheduler-master
[1478072366] INFO: [Shinken] OK, all schedulers configurations are dispatched :)
[1478072366] INFO: [Shinken] [All] Dispatching reactionner satellite with order: reactionner-master (spare:False),
[1478072366] INFO: [Shinken] [All] Trying to send configuration to reactionner reactionner-master
[1478072366] INFO: [Shinken] [All] Dispatch OK of configuration 0 to reactionner reactionner-master
[1478072366] INFO: [Shinken] [All] OK, no more reactionner sent need
[1478072366] INFO: [Shinken] [All] Dispatching poller satellite with order: poller-master (spare:False),
[1478072366] INFO: [Shinken] [All] Trying to send configuration to poller poller-master
[1478072366] INFO: [Shinken] [All] Dispatch OK of configuration 0 to poller poller-master
[1478072366] INFO: [Shinken] [All] OK, no more poller sent need
[1478072366] INFO: [Shinken] [All] Dispatching broker satellite with order: broker-master (spare:False),
[1478072366] INFO: [Shinken] [All] Trying to send configuration to broker broker-master
[1478072366] INFO: [Shinken] [All] Dispatch OK of configuration 0 to broker broker-master
[1478072366] INFO: [Shinken] [All] OK, no more broker sent need
[1478072366] INFO: [Shinken] [All] Dispatching receiver satellite with order: receiver-master (spare:False),
[1478072366] INFO: [Shinken] [All] Trying to send configuration to receiver receiver-master
[1478072366] INFO: [Shinken] [All] Dispatch OK of configuration 0 to receiver receiver-master
[1478072366] INFO: [Shinken]  (http://localhost:7773/)
[1478072366] INFO: [Shinken] [All] OK, no more receiver sent need
[1478072366] INFO: [Shinken] [All] Trying to send configuration to receiver receiver-master
[1478072366] INFO: [Shinken] [All] Dispatch OK of configuration to receiver receiver-master
[1478072367] INFO: [Shinken] The external command is done!

Everything runs fine but none of externals commands from webui will be executed as arbiter isn't alive in fact.

Once, missing files are created then everything return to normal and arbiter log its life.

More tests reveal that link script can be missing but not the external mapping file ! If this one is missing then you will have arbiter stuck with no Error messages. If you want so, you have to launch it in foreground.

Shinken 2.4.3 installed using @hvad rpm packages if that can help.

claneys commented 7 years ago

I'll include missing linking script into shinken modules and push it into shinken.io to fix at least that problems.