Commit 3e3e5188 authored by Marian Babik's avatar Marian Babik
Browse files

livestatus ipv6 updated

parent c84a5833
...@@ -115,6 +115,9 @@ grep -qF "${ETF_NAGIOS_HOST}" /etc/ncgx/ncgx.cfg || echo "NAGIOS_HOST = \"${ETF_ ...@@ -115,6 +115,9 @@ grep -qF "${ETF_NAGIOS_HOST}" /etc/ncgx/ncgx.cfg || echo "NAGIOS_HOST = \"${ETF_
sed -i "s/ETF_NAGIOS_HOST/${ETF_NAGIOS_HOST}/" /etc/httpd/conf.d/welcome.conf sed -i "s/ETF_NAGIOS_HOST/${ETF_NAGIOS_HOST}/" /etc/httpd/conf.d/welcome.conf
sed -i "s/ETF_NAGIOS_HOST/${ETF_NAGIOS_HOST}/" /var/www/html/index.html sed -i "s/ETF_NAGIOS_HOST/${ETF_NAGIOS_HOST}/" /var/www/html/index.html
# livestatus IPv6 fix
sed -i '/only_from/d' /omd/sites/etf/etc/xinetd.d/mk-livestatus
su etf -c "ncgx --ipv6 --log | tee /opt/omd/sites/etf/var/log/ncgx.log" su etf -c "ncgx --ipv6 --log | tee /opt/omd/sites/etf/var/log/ncgx.log"
su - etf -c "cmk -II; cmk -O" su - etf -c "cmk -II; cmk -O"
if [[ "${NSTREAM_ENABLED}" -eq "1" ]] ; then if [[ "${NSTREAM_ENABLED}" -eq "1" ]] ; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment