added tagfile and make use of it in modules
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# * MK_PORT: Port check_mk agent will use to communicate with server
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_install_mkagent="0.0.4"
|
||||
export VER_install_mkagent="0.0.5"
|
||||
export DEP_install_mkagent="upgrade_dist install_pkg"
|
||||
|
||||
install_mkagent()
|
||||
@@ -23,9 +23,11 @@ install_mkagent()
|
||||
|
||||
backupdist /etc/xinetd.d/check_mk
|
||||
installfile cmk/check_mk /etc/xinetd.d/check_mk
|
||||
tagfile /etc/xinetd.d/check_mk
|
||||
sed -i -e "s/@MK_SERVER_IP@/$MK_SERVER_IP/" /etc/xinetd.d/check_mk
|
||||
|
||||
mkdir -pv /usr/lib/check_mk_agent/plugins/28800
|
||||
installfile cmk/mk_apt /usr/lib/check_mk_agent/plugins/28800/mk_apt
|
||||
sed -i -e "s/@MK_SERVER_IP@/$MK_SERVER_IP/" /etc/xinetd.d/check_mk
|
||||
|
||||
svc_restart xinetd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user