Migrates from map-services to svc-map
This patch migrates the check_mk-agent element from map-services to svc-map by adding a svc-map file and adding the -a option to os-svc-enable. Change-Id: If61fa0fdfb4ba031c54b54ad4267f12da9bca903
This commit is contained in:
parent
a16cbda6ea
commit
287111756c
@ -9,4 +9,4 @@ install-packages xinetd check-mk-agent check-mk-agent-logwatch
|
||||
# check_mk is disabled by default so we need to enable it here
|
||||
sed -i "s/\tdisable = yes/\tdisable = no/g" /etc/xinetd.d/check_mk
|
||||
|
||||
os-svc-enable -n xinetd
|
||||
os-svc-enable -an xinetd
|
||||
|
2
elements/check_mk-agent/svc-map
Normal file
2
elements/check_mk-agent/svc-map
Normal file
@ -0,0 +1,2 @@
|
||||
xinetd:
|
||||
default: xinetd
|
Loading…
Reference in New Issue
Block a user