Zabbix Server Troubleshooting Info
- Log Location in Linux – /var/log/zabbix/
- Zabbix Server Configuration file – /etc/zabbix
Zabbix Agent Troubleshooting Info
- Log Location in Linux – /var/log/zabbix/
- Log Location in Windows – C:\Program Files\Zabbix Agent
- Zabbix Agent Configuration file – C:\Program Files\Zabbix Agent
Useful commands for Zabbix Troubleshooting
# Check Database details
$ mysql -h localhost -u zabbix -p -P 3306 -s <<< 'show databases;'
# Check the Zabbix server Database is populated completly or not
$ zcat /usr/share/doc/zabbix-server-mysql-*/create.sql.gz | mysql -uzabbix -pZpcBMdhntW9X7eEw zabbix
# If you succeed then continue with table listing: Check Database Tables
$ mysql -h localhost -u zabbix -p -P 3306 -s <<< 'use zabbix; show tables;'
# Check passwordless connection to database.
$ mysql -h localhost -u zabbix -p -P 3306 -s <<< 'show grants;'
# Please show what zabbix packages you have installed
$ dpkg-query -l | grep zabbix
# Check if log file has generated some content and it is clear from any errors or warnings:
$ cat /var/log/zabbix_server.log
$ cat /var/log/zabbix/zabbix_server.log
# Start Stop zabbix-server Commands
$ systemctl stop zabbix-server
$ systemctl start zabbix-server
Zabbix Firewall Commands
Zabbix agent listens on port 10050. If you have a UFW firewall or firewalld running, consider opening the port as follows.
----------- On UFW Firewall -----------
$ sudo ufw allow 10050/tcp
$ sudo ufw reload
----------- On Firewalld -----------
$ sudo firewall-cmd --add-port=10050/tcp --permanent
$ sudo firewall-cmd --reload
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND
Good day,
How does one increase the cacheSize in zabbix?|
Regards