From 83f96417ef30bea6b93256ea6ec0deddf624c813 Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Tue, 15 Oct 2019 17:07:21 +0100 Subject: [PATCH] Fix various installation commands in README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b95c479..638e9e2 100644 --- a/README.md +++ b/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. \ No newline at end of file +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.