Skip to content

envoylabs/cosmozab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

cosmozab

Zabbix stuff for Cosmos Nodes

Introduction

This is a collection of instructions, configurations and templates to integrate Zabbix monitoring with standard Cosmos Nodes running.

Configurations are based on Ubuntu 20.04 but should work on most Linux distributions.

Install Agent and Configs

We will be using Zabbix version 5.4 repository.

Install repository and zabbix-agent2

Add repository and update apt:

wget wget https://repo.zabbix.com/zabbix/5.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.4-1+ubuntu20.04_all.deb
sudo dpkg -i zabbix-release_5.4-1+ubuntu20.04_all.deb && sudo apt update

Install zabbix-agent2 with apt:

sudo apt install zabbix-agent2 -y

Configure zabbix-agent2

Edit the zabbix-agen2.conf

Set a variable with your server address:

SERVER=<your-server-address>

Inject server address into config with sed

sudo sed -i 's/Server=127.0.0.1/Server='"${SERVER}"'/g' /etc/zabbix/zabbix_agent2.conf

Install Configs

curl config file from repo

sudo curl -o /etc/zabbix/zabbix_agent2.d/zab.userparameters.cosmos.conf https://raw.githubusercontent.com/nullmames/cosmozab/main/zabbix_agent2.d/zab.userparameters.cosmos.conf

Restart agent

sudo systemctl restart zabbix-agent2

About

Zabbix stuff for Cosmos Nodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published