]> ###2025.10.30 - Bumped checkmk_agent to 2.2.0p47 ###2025.10.16 - Bumped checkmk_agent to 2.2.0p46 ###2025.08.14 - Bumped checkmk_agent to 2.2.0p45 ###2025.07.14 - Added support for configuring docker plugin ###2025.07.10 - Bumped checkmk_agent to 2.2.0p44 ###2025.06.12 - Bumped checkmk_agent to 2.2.0p43 ###2025.05.15 - Bumped checkmk_agent to 2.2.0p42 ###2025.03.27 - Bumped checkmk_agent to 2.2.0p41 ###2025.02.27 - Bumped checkmk_agent to 2.2.0p40 ###2025.01.30 - Bumped checkmk_agent to 2.2.0p39 ###2025.01.23 - Bumped checkmk_agent to 2.2.0p38 ###2024.12.05 - Bumped checkmk_agent to 2.2.0p37 ###2024.11.07 - Bumped checkmk_agent to 2.2.0p36 ###2024.10.10 - Bumped checkmk_agent to 2.2.0p35 ###2024.09.26 - Bumped checkmk_agent to 2.2.0p34 ###2024.09.11 - Bumped checkmk_agent to 2.2.0p33 ###2024.08.14 - Bumped checkmk_agent to 2.2.0p32 ###2024.07.17 - Bumped checkmk_agent to 2.2.0p31 ###2024.07.10 - Bumped checkmk_agent to 2.2.0p30 ###2024.07.03 - Bumped checkmk_agent to 2.2.0p29 ###2024.06.05 - Bumped checkmk_agent to 2.2.0p27 ###2024.05.08 - Bumped checkmk_agent to 2.2.0p26 ###2024.04.24 - Bumped checkmk_agent to 2.2.0p25 ###2024.03.27 - Bumped checkmk_agent to 2.2.0p24 ###2024.03.06 - Bumped checkmk_agent to 2.2.0p23 ###2024.02.21 - Bumped checkmk_agent to 2.2.0p22 ###2024.01.31 - Bumped checkmk_agent to 2.2.0p21 ###2024.01.24 - Bumped checkmk_agent to 2.2.0p19 ###2024.01.17 - Bumped checkmk_agent to 2.2.0p18 ###2023.12.13 - Bumped checkmk_agent to 2.2.0p17 ###2023.12.06 - Bumped checkmk_agent to 2.2.0p16 ###2023.11.15 - Bumped checkmk_agent to 2.2.0p14 ###2023.11.01 - Bumped checkmk_agent to 2.2.0p12 ###2023.09.13 - Bumped checkmk_agent to 2.2.0p9 ###2023.08.23 - Bumped checkmk_agent to 2.2.0p8 ###2023.08.02 - Bumped checkmk_agent to 2.2.0p7 ###2023.07.19 - Bumped checkmk_agent to 2.2.0p6 ###2023.07.12 - Bumped checkmk_agent to 2.2.0p5 rm -f $(ls &plugin;/packages/&name;*.tgz 2>/dev/null|grep -v '&version;') rm -f $(ls &plugin;/packages/*.txz 2>/dev/null|grep -v '&xinetd;') &gitURL;/packages/&name;-&version;.tgz &md5; &gitURL;/packages/&xinetd;.txz &xinetdmd5; **Checkmk-Agent 2.2.0** Monitors local services and reports any issues to the Checkmk server. The agents are passive and connect to TCP Port 6556. Only on receiving a Checkmk server query will they be activated and respond with the required data. To install plugins, place them in '/usr/lib/check_mk_agent/plugins', but they will need to be downloaded again after each reboot. To use encryption, edit the file '/boot/config/plugins/check_mk_agent/encryption.cfg'. To configure docker plugin behavior, edit the file '/boot/config/plugins/check_mk_agent/docker.cfg'. #Create check_mk xinetd file if [ ! -f "/etc/xinetd.d/check_mk" ]; then cp /etc/check_mk/xinetd-service-template.cfg /etc/xinetd.d/check_mk fi #Download icon if [ ! -f "&plugin;/checkmk.png" ]; then wget -q -nc --show-progress --progress=bar:force:noscroll -O "&plugin;/&name;.png" "https://raw.githubusercontent.com/donimax/unraid-docker-templates/master/donimax/images/checkmk.png" fi #Create encryption file and link file if [ ! -f "&plugin;/encryption.cfg" ]; then echo "ENCRYPTED=no PASSPHRASE='YOURPASSPHRASE'" > &plugin;/encryption.cfg chmod 600 &plugin;/encryption.cfg ln -s &plugin;/encryption.cfg /etc/check_mk/encryption.cfg else chmod 600 &plugin;/encryption.cfg ln -s &plugin;/encryption.cfg /etc/check_mk/encryption.cfg fi #Create docker file and link file if [ ! -f "&plugin;/docker.cfg" ]; then echo "[DOCKER] # skip_sections: no sections skipped" > &plugin;/docker.cfg chmod 600 &plugin;/docker.cfg ln -s &plugin;/docker.cfg /etc/check_mk/docker.cfg else chmod 600 &plugin;/docker.cfg ln -s &plugin;/docker.cfg /etc/check_mk/docker.cfg fi #Install icon if [ ! -f "&emhttp;/images/&name;.png" ]; then if [ ! -d "&emhttp;/images" ]; then mkdir -p &emhttp;/images fi cp &plugin;/&name;.png &emhttp;/images/ fi #Start xinetd if [ -z "$(pidof xinetd)" ]; then xinetd fi echo "----------------------------------------" echo "-------Uninstalling Checkmk-Agent-------" echo "----------------------------------------" # Kill xinetd and remove plugin related files kill $(pidof xinetd) > /dev/null 2>&1 removepkg &name;-&version;.tgz removepkg &xinetd;.tgz rm -rf &plugin; rm -rf &emhttp; rm -rf /etc/xinetd.d/check_mk echo echo "----------------------------------------------------------" echo "---------------Checkmk-Agent uninstalled!-----------------" echo "----------------------------------------------------------" echo