sudo apt update && sudo apt upgrade -y
sudo apt install mysql-server -y
sudo systemctl start mysql.service
sudo systemctl enable mysql.service
sudo mysql
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'very-secure';
mysql> quit;
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-2+ubuntu24.04_all.deb
dpkg -i zabbix-release_7.0-2+ubuntu24.04_all.deb
apt update
apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
sudo mysql -uroot -p
mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@localhost identified by 'password';
mysql> grant all privileges on zabbix.* to zabbix@localhost;
mysql> set global log_bin_trust_function_creators = 1;
mysql> quit;
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix
mysql -uroot -p
mysql> set global log_bin_trust_function_creators = 0;
mysql> quit;
sudo nano /etc/zabbix/zabbix_server.conf
DBName=zabbix
DBUser=zabbix
DBPassword=password
http://server_ip_address/zabbix
Username: Admin
Password: zabbix
These are the steps to take the Ceragon Radio MIB and turn it into a Template. In this case all we want to monitor is the radio's RX (genEquipRfuStatusRxLevel) and TX (genEquipRfuStatusTxLevel) levels. That is all we will have enabled. This is tricky since there are two radios in the unit and a total of 4 interfaces in a table.
sudo apt install snmp
sudo apt install snmp-mibs-downloader
sudo apt-get install perl libxml-simple-perl libsnmp-perl
curl -sL -o mib2zabbix https://raw.githubusercontent.com/cavaliercoder/mib2zabbix/master/mib2zabbix.pl
chmod 755 mib2zabbix
https://github.com/librenms/librenms/blob/master/mibs/ceraos
snmptranslate -Tz -m ./MWRM-RADIO-MIB.txt | ./mib2zabbix -o 1.3.6.1.4 -f mwrm-radio.xml -N MWRM-Radio









