From 1bb2d5f04425c397532641ef89b10579f9767ba4 Mon Sep 17 00:00:00 2001 From: _den <_den@outlook.com> Date: Wed, 19 Jan 2022 18:33:15 +1000 Subject: [PATCH] updated installation instructions --- monitoring/README.md | 17 ++++++++++++++--- monitoring/zabbix.tar.gz | Bin 0 -> 5292 bytes 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 monitoring/zabbix.tar.gz diff --git a/monitoring/README.md b/monitoring/README.md index bf9ebf2..3073846 100644 --- a/monitoring/README.md +++ b/monitoring/README.md @@ -1,7 +1,11 @@ # Installing the Zabbix server -Change default passwords, ports and set listet IP (ports `8080/tpc` and `10051/tcp` will be open on all interfaces, use a firewall or specify the address of the required interface), then run: +Change default passwords, ports and set listen IP (ports `8080/tcp` and `10051/tcp` will be open on all interfaces, use a firewall or specify the address of the required interface), then run: ```bash +wget https://github.com/tornadocash/tornado-relayer/raw/master/monitoring/zabbix.tar.gz +mkdir $HOME/monitoring/ +tar -xzf zabbix.tar.gz -C $HOME/monitoring/ +cd $HOME/monitoring/ docker-compose up -d ``` @@ -9,15 +13,22 @@ docker-compose up -d Download package from repository [https://repo.zabbix.com/zabbix/5.2/ubuntu/pool/main/z/zabbix/](https://repo.zabbix.com/zabbix/5.2/ubuntu/pool/main/z/zabbix/) and run: ```bash -dpkg -i zabbix-agent_5.2.*.deb +sudo dpkg -i zabbix-agent_5.2.*.deb +sudo usermod -aG docker zabbix ``` -Change default values in `/etc/zabbix/zabbix_agent2.conf` +Change default values in `/etc/zabbix/zabbix_agent2.conf`: * `Hostname` the same as in the zabbix-server web interface; * `Server` and `ServerActive` set zabbix server IP or DNS name; * `ListenIP` to local network IP available from zabbix server or set firewall rules to restrict access to port `10050`; * uncomment `Plugins.Docker.Endpoint=unix:///var/run/docker.sock`. +Then run: +```bash +sudo systemctl enable zabbix-agent2.service +sudo systemctl restart zabbix-agent2.service +``` + # Adding the host Log into your Zabbix server (defaul login and passord: `Admin` - `zabbix`) and click on the Configuration tab and then the Hosts tab. Click the Create host button near the top right corner. In the resulting page, change the Host name and IP ADDRESS sections to match the information for your remote server. Set `{$URL}` macros to relayer host, example `http://localhost/v1/status` or `https://domain.name/v1/status`. diff --git a/monitoring/zabbix.tar.gz b/monitoring/zabbix.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0b6f7cfb489b54050821c5de072a00b0b623240a GIT binary patch literal 5292 zcmV;d6jSRTiwFP!000001MNL&bK6L+`RrfOrEHaxsfZGFCfe0((GqQIqH9GeiE|W- zqS`Vy6v^RX$1`vL`$IPm@zmiflMGQ6+iG;9(Eu7iH$i1-C||KvR*bc2*qFIpYtJ4W zssOE4mHcMg&Dd}9XSLaCJ!2bet6i(t*?R3+l?8PD8LB=!D`{|TN45}pw%pNg7ybu@ z=V*p)$5Iss$%=w)8#xAItJNl3aTF67Ix^jbrYcA^kB+XfWvhnXLC1Bbd3so~| zog?&zyjZB;%A^Hb@ENIVd4)TEdnJZ0n=AWwts`rus^fB#sg*U^0VZISg^4zt4wAJS z`PPOO)36*e0YYU|qI`Ae&k{6U8=AYu0k(o2rJ@;%tU2l$cM=~hBhrhs{9)*Rr|^?y zAg>cs`D5`-!uoZ^wXKS#F8l>lWDNs5ilv&s)K+9LUoI*9&B2x~YkAa?_%y+5IWd69 zs*}@f-Ru~?HkPgi!pv*mJ-@D`Cx^D318w_C`igJUQ-_G1B-ZL8gLBfjdv<+oI+ko^ zOdnz>5m!^!s&9+BX&FifwVKU(lYTZXRSi=VvW-hH;2Lpl^z)T$Ejy^;e_mo!Gj3^5 zFm}VW6yJbRggk&^x;E^yD$}kW`%P=SHmutYV$Wy;42SI`JFp?sqngP+gPO)Uk78SYJKDL@m%DEo2Bp`qE#Ctf{h%!*!M84ko*`9Ihe*=X;xNT`11) z80GBJGIYmh&2|h^T3ND!B@iJ!7>ZNz`mrk+BD{|wPmcH{*p3fZnnR#-~VB58%J-)`s(hrO&m;C*%2 zG^LnAk{y=|=hlRnQlg4VVhu3-lBc}VQ5cYJ@FF)F0j{j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