bundles/minecraft: add monitoring via icinga2
This commit is contained in:
parent
019d5ce2b6
commit
7a14084417
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,15 @@ defaults = {
|
||||||
'/home/minecraft',
|
'/home/minecraft',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'icinga2_api': {
|
||||||
|
'minecraft': {
|
||||||
|
'services': {
|
||||||
|
'MINECRAFT SERVER': {
|
||||||
|
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit minecraft',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
'minecraft': {
|
'minecraft': {
|
||||||
'java_opts': {
|
'java_opts': {
|
||||||
# https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
|
# https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
|
||||||
|
|
Loading…
Reference in a new issue