Skip to content

need documentation: how to host an instance #1

@allenTonX

Description

@allenTonX

Hello,

I'm attempting to set up an instance of this repository, but I need more information. I'm hoping to get some help from you.
I'm also new to Zabbix, btw.

what I have

hosts

  • Zabbix node (Zabbix, gateway, MySQL, nginx)
  • validator node (validator, mytonctrl, Zabbix agent2)

steps

configure agent

  1. install agent2 on the validator node
  2. config server IP in agent2's config
    sudo vi /etc/zabbix/zabbix_agent2.conf
  3. change systemd file User/Group to root
  4. systemctl reload the config, enable and restart

10050 port open

configure Zabbix

  1. install Zabbix 6.0 full mode
  2. import template(ton_blockchain.json) on web UI
  3. add host, select template "TON Blockchain", set network interface
  4. clone this repo
  5. install python package.
    sudo apt install python3-pip && pip install -r requirements.txt
    ...

questions

  • install netdata? Is this a must?
  • where should folders be placed? all inside /usr/lib/zabbix/externalscripts/?
  • how to generate ton_config.json and ton_mainnet_validators_load_hourly.json file
  • where to place etc/config.json, etc/config_agent.json
  • is this repo compatible with the docker installation of Zabbix? (it seems additional Python pkg is needed.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions