You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change php-fpm configration file and apply the changes.
10
+
11
+
```bash
12
+
$ sudo vim /path/to/php-fpm.conf
13
+
pm.status_path = /phpfpm_status
14
+
# restart php-fpm
15
+
```
16
+
17
+
Include [nginx.conf](https://github.com/luohu1/zabbix-template-phpfpm/blob/master/nginx.conf#L1-L17) to your nginx configuration file and reload nginx server.
18
+
19
+
Ensure it works.
20
+
21
+
```bash
22
+
$ curl -s http://127.0.0.1/phpfpm_status
23
+
pool: www
24
+
process manager: dynamic
25
+
start time: 17/May/2019:14:54:02 +0530
26
+
start since: 886617
27
+
accepted conn: 1619617
28
+
listen queue: 0
29
+
max listen queue: 0
30
+
listen queue len: 0
31
+
idle processes: 28
32
+
active processes: 1
33
+
total processes: 30
34
+
max active processes: 31
35
+
max children reached: 0
36
+
slow requests: 0
37
+
```
38
+
39
+
### Setup zabbix_agentd
40
+
41
+
Copy `userparameter_phpfpm.conf` to zabbix_agentd sub configuration directory such as `etc/zabbix_agentd.conf.d` and restart zabbix_agentd
42
+
43
+
44
+
45
+
Request Zabbix UI to configuration the template and link it to hosts.
0 commit comments