diff --git a/scripts/collectd.conf b/scripts/collectd.conf index f610650..b7e89e3 100644 --- a/scripts/collectd.conf +++ b/scripts/collectd.conf @@ -89,7 +89,7 @@ LoadPlugin write_graphite - ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:6969/jmxrmi" + ServiceURL "service:jmx:rmi:///jndi/rmi://127.0.0.1:6969/jmxrmi" Collect "memory_pool" Collect "memory" diff --git a/scripts/install_collectd_debian.sh b/scripts/install_collectd_debian.sh index 202a4c9..8d1503d 100755 --- a/scripts/install_collectd_debian.sh +++ b/scripts/install_collectd_debian.sh @@ -56,6 +56,9 @@ sudo -H -i -u "${ROOT_USER}" systemctl daemon-reload sudo -H -i -u "${ROOT_USER}" systemctl enable nginx.service sudo -H -i -u "${ROOT_USER}" systemctl enable collectd.service +echo "[*] Symlink libjvm.so for collectd to work" +sudo -H -i -u "${ROOT_USER}" ln -s /usr/lib/jvm/openjdk-11.0.2/lib/server/libjvm.so /lib/x86_64-linux-gnu/libjvm.so + echo "[*] Restarting services" set +e service bisq status >/dev/null 2>&1 diff --git a/scripts/nginx.conf b/scripts/nginx.conf index fc1a962..d498e73 100644 --- a/scripts/nginx.conf +++ b/scripts/nginx.conf @@ -25,4 +25,14 @@ stream { proxy_ssl_session_reuse on; } + server { + listen 127.0.0.1:13003; + proxy_pass monitor.bisq.network:13002; + proxy_ssl on; + + proxy_ssl_certificate /etc/nginx/cert.crt; + proxy_ssl_certificate_key /etc/nginx/cert.key; + + proxy_ssl_session_reuse on; + } }