mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
Merge pull request #4 from danboid/master
Fix various installation commands in README.md
This commit is contained in:
commit
5a56022dfa
14
README.md
14
README.md
@ -113,21 +113,21 @@ apt-get -y install grep gawk lsof jq libfcgi0ldbl
|
||||
Download the latest version of the template:
|
||||
|
||||
```console
|
||||
wget https://github.com/rvalitov/zabbix-php-fpm/archive/master.zip /tmp/zabbix-php-fpm.zip
|
||||
wget https://github.com/rvalitov/zabbix-php-fpm/archive/master.zip -O /tmp/zabbix-php-fpm.zip
|
||||
```
|
||||
|
||||
Unzip the archive:
|
||||
|
||||
```console
|
||||
unzip /tmp/zabbix-php-fpm.zip
|
||||
unzip /tmp/zabbix-php-fpm.zip -d /tmp
|
||||
```
|
||||
|
||||
Copy the required files to the Zabbix agent configuration directory:
|
||||
|
||||
```console
|
||||
cp /tmp/zabbix-php-fpm/zabbix/userparameter_php_fpm.conf /etc/zabbix/zabbix_agentd.conf/
|
||||
cp /tmp/zabbix-php-fpm/zabbix/zabbix_php_fpm_discovery.sh /etc/zabbix/
|
||||
cp /tmp/zabbix-php-fpm/zabbix/zabbix_php_fpm_status.sh /etc/zabbix/
|
||||
cp /tmp/zabbix-php-fpm-master/zabbix/userparameter_php_fpm.conf /etc/zabbix/zabbix_agentd.d/
|
||||
cp /tmp/zabbix-php-fpm-master/zabbix/zabbix_php_fpm_discovery.sh /etc/zabbix/
|
||||
cp /tmp/zabbix-php-fpm-master/zabbix/zabbix_php_fpm_status.sh /etc/zabbix/
|
||||
```
|
||||
|
||||
Configure access rights:
|
||||
@ -224,7 +224,7 @@ Delete temporary files:
|
||||
|
||||
```console
|
||||
rm /tmp/zabbix-php-fpm.zip
|
||||
rm -rf /tmp/zabbix-php-fpm/
|
||||
rm -rf /tmp/zabbix-php-fpm-master/
|
||||
```
|
||||
|
||||
### 2. On Zabbix Server
|
||||
@ -297,4 +297,4 @@ Tested with:
|
||||
- Zabbix 4.2.5
|
||||
- ISPConfig v.3.1.14p2
|
||||
|
||||
Should work with PHP 5.6.x and later, Zabbix 4.x. Not tested with Zabbix 3.x and earlier: if it works, please let me know.
|
||||
Should work with PHP 5.6.x and later, Zabbix 4.x. Not tested with Zabbix 3.x and earlier: if it works, please let me know.
|
||||
|
Loading…
Reference in New Issue
Block a user