From 6beee1e2bacdd57a0ef620672dc7b51839af31d0 Mon Sep 17 00:00:00 2001 From: guillaume Date: Sat, 30 Mar 2024 11:39:58 +0100 Subject: [PATCH] update client conf + doc --- monithor-client/etc/monithor-client/service.cfg | 1 - monithor-client/usr/local/bin/monithor-client.d/MoniThorFnct | 2 +- .../usr/local/bin/monithor-client.d/MoniThorWebServer | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/monithor-client/etc/monithor-client/service.cfg b/monithor-client/etc/monithor-client/service.cfg index de5b09b..e858c89 100644 --- a/monithor-client/etc/monithor-client/service.cfg +++ b/monithor-client/etc/monithor-client/service.cfg @@ -1,4 +1,3 @@ -RemoteIp=10.10.10.3:1666 LocalPassword='Evil@MonitoR-666' Crypted=no Rotation=1 diff --git a/monithor-client/usr/local/bin/monithor-client.d/MoniThorFnct b/monithor-client/usr/local/bin/monithor-client.d/MoniThorFnct index 2e67122..0e67419 100644 --- a/monithor-client/usr/local/bin/monithor-client.d/MoniThorFnct +++ b/monithor-client/usr/local/bin/monithor-client.d/MoniThorFnct @@ -23,7 +23,7 @@ CheckAllEnd() { echo ' - MoniThor on '${RemoteIp}' +MoniThor on '$(hostname)' MONITHOR diff --git a/monithor-client/usr/local/bin/monithor-client.d/MoniThorWebServer b/monithor-client/usr/local/bin/monithor-client.d/MoniThorWebServer index 6733327..f3776c5 100644 --- a/monithor-client/usr/local/bin/monithor-client.d/MoniThorWebServer +++ b/monithor-client/usr/local/bin/monithor-client.d/MoniThorWebServer @@ -8,7 +8,7 @@ python3 -m http.server ${1} & echo ' - MoniThor on '${RemoteIp}' +MoniThor on '$(hostname)' MONITHOR