Environment Specifications Operating System: CentOS 7.8 Database: MariaDB or MySQL 5.7+ Web Language: PHP 7.2+ Basic Hardware Requirements Deployment Size Platform CPU / RAM Database Storage Monitored Hosts Small CentOS Virtual Appliance MySQL InnoDB Up to 100 Medium CentOS 2 Cores / 2 GB MySQL Inno...
This guide demonstrates a complete source-based installation of Zabbix 5.0.36 on CentOS Linux releace 7.9 (16 CPUs, 32 GB RAM). It also covers installing Nginx 1.6.2, MySQL 8.0.28 (minimal), and PHP 7.3. The required packages are: zabbix-5.0.36.tar.gz mysql-8.0.28-linux-glibc2.17-x86_64-minimal.tar....
Zabbix supports multiple methods to deliver alert notifications, such as email and SMS. However, an increasing number of organizations are adopting WeChat integration with Zabbix as they primary alerting mechanism, enabling timely and efficient delivery of alerts to recipients for prompt response.1....
Running multiple Tomcat instances on a single host requires careful port management and service isolation. This setup demonstrates deploying two additional instances alongside a primary installation, followed by JMX monitoring configuration and Zabbix integration using containerized infrastructure....
When monitoring a Zabbix agent, an alert indicated unavailability despite the agent process running. Checking network cnonections revealed numerous TCP connections in the TIME_WAIT state, prevanting new connections to the proxy due to exhausted socket resources. In active mode, the agent initiates c...
Zabbix stores metric history using Unix timestamps in large InnoDB tables (notab history and history_uint). Over time these grow substantially, slowing queries and cnosuming disk. Old rows can be removed by timestamp to reclaim space. Stop Zabbix and web services # Prefer systemd when available syst...
Measure storage use in the Zabbix schema Identify which tables consume the most space before pruning. SELECT t.table_name AS tbl, ROUND((t.data_length + t.index_length) / 1024 / 1024, 2) AS size_mb FROM information_schema.tables AS t WHERE t.table_schema = 'zabbix' ORDER BY size_mb DESC; Large footp...
1. Agent fails to start, PID file missing, semaphore errors Sample logs: PID file /run/zabbix/zabbix_agentd.pid not readable (yet?) after start zabbix-agent.service never wrote its PID file. Failing Agent log indicates IPC/semaphore allocation failure: zabbix_agentd[5922]: cannot open log: cannot cr...
Custom items (e.g., UserParameters) often take longer than the default Zabbix agent timeout. When execution exceeds the agent’s 3-second default, the item is marked not supported and you may see: $ zabbix_get -s 10.0.0.61 -p 10050 -k "login_user" ZBX_NOTSUPPORTED: Unsupported item key. Inc...
When Zabbix server starts and reports Z3001 with "Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’", it typically means Zabbix is pointing too a socket path that does not exist or differs from the one MySQL/MariaDB actually created. Symptom Example log excerpt...