Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
f0c6e69b
Commit
f0c6e69b
authored
Apr 08, 2019
by
Marian Babik
Browse files
alerts
parent
a6fc7244
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/etf-cms/docker-entrypoint.sh
View file @
f0c6e69b
...
...
@@ -71,6 +71,12 @@ fi
if
[[
-g
/etc/check_mk/users.mk
]]
;
then
cp
/etc/check_mk/users.mk /opt/omd/sites/
${
CHECK_MK_SITE
}
/etc/check_mk/conf.d/wato/
fi
if
[[
"
${
ETF_ALERTS_ENABLED
}
"
-eq
"1"
]]
&&
[[
-f
/etc/check_mk/notifications.mk
]]
;
then
echo
"Enabling notifications ..."
cp
/etc/check_mk/notifications.mk /opt/omd/sites/
${
CHECK_MK_SITE
}
/etc/check_mk/conf.d/wato/
sed
-i
"s/ETF_HOSTED_BY/
${
ETF_HOSTED_BY
}
/"
/opt/omd/sites/
${
CHECK_MK_SITE
}
/etc/check_mk/conf.d/wato/notifications.mk
sed
-i
"s/ETF_NAGIOS_HOST/
${
ETF_NAGIOS_HOST
}
/"
/opt/omd/sites/
${
CHECK_MK_SITE
}
/etc/check_mk/conf.d/wato/notifications.mk
fi
cp
/etc/ncgx/templates/generic/handlers.cfg /opt/omd/sites/etf/etc/nagios/conf.d/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment