-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5-install-zabbix-server
50 lines (37 loc) · 1.96 KB
/
5-install-zabbix-server
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
################################################
Agent installation
################################################
This page covers installation of Zabbix agent. If needed, you may check additional info about supported platforms and permission requirements for the agent.
################################################
Red Hat Enterprise Linux / CentOS
################################################
To install agent after correct repository configuration package is installed, run the following command:
# yum install zabbix-server-pgsql zabbix-frontend-php
Now agent is ready to be started by:
# systemctl start zabbix-server
# systemctl enable zabbix-server
################################################
Debian / Ubuntu
################################################
To install agent after correct repository configuration package is installed, run the following command:
# apt-get install zabbix-server-pgsql zabbix-frontend-php
Now agent is ready to be started by:
# service zabbix-server start
# systemctl start zabbix-server
# systemctl enable zabbix-server
################################################
Windows
################################################
Check this appendix section for Windows-based installation and configuration instructions.
################################################
Database configuration for Zabbix server
################################################
Edit server host, name, user and password in zabbix_server.conf as follows, replacing <username_password> with actual password of PostgreSQL user:
# vi /etc/zabbix/zabbix_server.conf
DBHost=
DBName=zabbix
DBUser=zabbix
DBPassword=<username_password>
You might want to keep default setting DBHost=localhost (or an IP address), but this would make PostgreSQL use network socket connecting to Zabbix. See SELinux configuration block below for instructions.
# systemctl start zabbix-server
# systemctl enable zabbix-server