bundles/minecraft: add monitoring via icinga2

This commit is contained in:
Franzi 2022-11-13 17:48:22 +01:00
parent 019d5ce2b6
commit 7a14084417
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -11,6 +11,15 @@ defaults = {
'/home/minecraft',
},
},
'icinga2_api': {
'minecraft': {
'services': {
'MINECRAFT SERVER': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit minecraft',
},
},
},
},
'minecraft': {
'java_opts': {
# https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/