!!! WARNING: This user is a newbie. If you are expecting a message from a more veteran member, then this is an imposter !!!
I have Zabbix installed on a raspberry pi, agents on my miners
Server (Ubuntu stepsPre-Reqs
sudo apt-get install php7.0-xml php7.0-bcmath php7.0-mbstring
Server installwget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb
sudo
dpkg -i zabbix-release_3.2-1+xenial_all.deb
sudo apt-get update
sudo apt-get install zabbix-server-mysql zabbix-frontend-php
sudo apt-get install zabbix-agent
mysql setupmysql -uroot -p
mysql> create database zabbix character set utf8 collate utf8_bin
grant all privileges on zabbix.* to zabbix@localhost identified by 'your_password';
flush privileges;
quit;
Load up the DBzcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix
Put mysql pass in zabbix_server.conf/etc/zabbix/zabbix_server.confDBPassword=your_zabbix_mysql_password
Edit apache config for timezone/etc/zabbix/apache.conf # php_value date.timezone Europe/Riga
Change that to your timezone using
http://php.net/manual/en/timezones.phpAgent Installwget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb
sudo
dpkg -i zabbix-release_3.2-1+xenial_all.deb
sudo apt-get update
sudo apt-get install zabbix-agent
On the agent enable remote commands
/etc/zabbix/zabbig_agent.confFind EnableRemoteCommands and change it to
EnableRemoteCommands=1
Now at the bottom of the zabbix_agent.conf you can create custom checks using
userparameterExample: (use grep, awk, cut etc to grab the specific data, this is for EWBF)
UserParameter=temp.gpu0,curl
http://miner1:42000/getstat Grafana, do a basic install and add in the zabbix plugin. That one is a bit detailed
Here is what mine looks like
