Udemy Zabbix 6.0 Eğitimi

Eğitime indirimli olarak ulaşmak için buradaki link.

Geçerli indirim kuponu = OCAKKUPON1

Ders-4
sudo su
apt update && apt upgrade -y
Ders-5
su
yum update
yum upgrade -y
Ders-6
cat /etc/os-release
apt install mysql-server -y
systemctl enable mysql
systemctl restart mysql
mysql_secure_installation
mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'MysqlYeniParola';
mysql_secure_installation
mysql -uroot -p

nano /etc/zabbix/apache.conf
php_value date.timezone Europe/Istanbul

systemctl enable zabbix-server zabbix-agent apache2 mysql
systemctl restart zabbix-server zabbix-agent apache2 mysql

systemctl status zabbix-server
systemctl status apache2
systemctl status mysql
systemctl status zabbix-agent

tail -f /var/log/zabbix/zabbix_server.log
Ders-7
su
yum update 
yum upgrade -y
cat /etc/os-release
yum install nano -y

sestatus
nano /etc/selinux/config
SELINUX=disabled
sudo reboot

dnf install mysql-server -y
systemctl enable mysqld
systemctl restart mysqld
mysql_secure_installation

mysql -uroot -p

systemctl enable zabbix-server zabbix-agent httpd php-fpm mysqld
systemctl restart zabbix-server zabbix-agent httpd php-fpm mysqld
systemctl status mysqld
systemctl status httpd
systemctl status zabbix-server
systemctl status zabbix-agent

firewalld-cmd --state
firewall-cmd --permanent --zone=public --list-ports
firewall-cmd --permanent --zone=public --add-port=80/tcp
firewall-cmd --reload
firewall-cmd --permanent --zone=public --list-ports

tail -f /var/log/zabbix/zabbix_server.log
Ders-11
zabbix_agentd.exe -c zabbix_agentd.conf -i => install
zabbix_agentd.exe -c zabbix_agentd.conf -s => start
zabbix_agentd.exe -c zabbix_agentd.conf -x => stop
zabbix_agentd.exe -c zabbix_agentd.conf -d => uninstall
Ders-12
zabbix_agent2.exe -c zabbix_agent2.conf -i => install
zabbix_agent2.exe -c zabbix_agent2.conf -s => start
zabbix_agent2.exe -c zabbix_agent2.conf -x => stop
zabbix_agent2.exe -c zabbix_agent2.conf -d => uninstall
Ders-13
firewall-cmd --permanent --zone=public --list-ports
firewall-cmd --permanent --zone=public --add-port=10051/tcp
firewall-cmd --reload
firewall-cmd --permanent --zone=public --list-ports
Ders-14
Server=192.168.1.100
ServerActive=192.168.1.100
#Hostname=Windows host
HostMetadataItem=system.uname

Agent
zabbix_agentd.exe -c zabbix_agentd.conf -i => install
zabbix_agentd.exe -c zabbix_agentd.conf -s => start
zabbix_agentd.exe -c zabbix_agentd.conf -x => stop
zabbix_agentd.exe -c zabbix_agentd.conf -d => uninstall

Agent2
zabbix_agent2.exe -c zabbix_agent2.conf -i => install
zabbix_agent2.exe -c zabbix_agent2.conf -s => start
zabbix_agent2.exe -c zabbix_agent2.conf -x => stop
zabbix_agent2.exe -c zabbix_agent2.conf -d => uninstall
Ders-15
sudo ufw disable
sudo ufw enable

sudo ufw status
sudo ufw allow 10050/tcp
sudo ufw status numbered

wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4%2Bubuntu20.04_all.deb
dpkg -i zabbix-release_6.0-4+ubuntu20.04_all.deb

apt update

apt install zabbix-agent -y

systemctl restart zabbix-agent
systemctl enable zabbix-agent

nano /etc/zabbix/zabbix-agent.conf

Server=192.168.1.100

systemctl restart zabbix-agent
Ders-16
sudo apt-get remove zabbix-agent
rm -rf /etc/zabbix*
sudo apt-get remove --auto-remove zabbix-agent
sudo apt-get purge zabbix-agent
sudo apt-get purge --auto-remove zabbix-agent

wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4%2Bubuntu20.04_all.deb
dpkg -i zabbix-release_6.0-4+ubuntu20.04_all.deb
apt update

apt install zabbix-agent2 -y

systemctl restart zabbix-agent2
systemctl enable zabbix-agent2

nano /etc/zabbix/zabbix-agent2.conf

Server=192.168.1.100

systemctl restart zabbix-agent2
Ders-17
nano /etc/zabbix/zabbix_agent2.conf

Server=192.168.1.100
ServerActive=192.168.1.100
#Hostname=Windows host
HostMetadataItem=system.uname

systemctl restart zabbix-agent2
Ders-21
yum install nc
TCP => nc -z -v 192.168.1.10 22
UDP => nc -z -v -u 192.168.1.10 161

SNMP Walk kurulumu;
yum -y install net-snmp-utils -y

SNMPv2 Test;
snmpwalk -v2c -c test 192.168.1.10
Ders-22
Port kontrolü için;

yum install nc
TCP => nc -z -v 192.168.1.10 22
UDP => nc -z -v -u 192.168.1.10 161

SNMP Walk kurulumu;
yum -y install net-snmp-utils -y

SNMPv3 v3user 
       md5 5KiloP0rtaka1
       des 5KiloP0rtaka1

snmpwalk -v3  -l authPriv -u v3user -a MD5 -A "5KiloP0rtaka1" -x DES -X "5KiloP0rtaka1" 192.168.1.10
Ders-23
.1.3.6.1.2.1.1.1.0 => SystemDesc
.1.3.6.1.2.1.1.5.0 => Hostname

snmpwalk -v3  -l authPriv -u v3user -a MD5 -A "5KiloP0rtaka1" -x DES -X "5KiloP0rtaka1" 192.168.1.10 .1.3.6.1.2.1.1.1.0
snmpwalk -v3  -l authPriv -u v3user -a MD5 -A "5KiloP0rtaka1" -x DES -X "5KiloP0rtaka1" 192.168.1.10 .1.3.6.1.2.1.1.5.0
Ders-30
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/oss/release/grafana_9.1.6_amd64.deb
sudo dpkg -i grafana_9.1.6_amd64.deb

systemctl status grafana-server
systemctl enable grafana-server --now