From a35cb432b9ca7651cb973c3b3a1e89ae1ef0b82c Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Tue, 26 Nov 2019 18:26:21 +0300 Subject: [PATCH] [add] info how to use this script --- zabbix/zabbix_php_fpm_status.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zabbix/zabbix_php_fpm_status.sh b/zabbix/zabbix_php_fpm_status.sh index 8fe72d8..44dd877 100644 --- a/zabbix/zabbix_php_fpm_status.sh +++ b/zabbix/zabbix_php_fpm_status.sh @@ -18,9 +18,10 @@ fi if [[ -z $1 ]] || [[ -z $2 ]]; then echo "No input data specified" - echo "Usage: $0 socket status" + echo "Usage: $0 php-path status" echo "where:" - echo "socket - path to socket file, for example, /var/lib/php7.3-fpm/web1.sock" + echo "php-path - path to socket file, for example, /var/lib/php7.3-fpm/web1.sock" + echo "or IP and port of the PHP-FPM, for example, 127.0.0.1:9000" echo "status - path configured in pm.status of PHP-FPM" exit 1 fi