From 790edf8985f13851ce8e9c7a456b21703ab0827b Mon Sep 17 00:00:00 2001 From: Ramil Valitov Date: Sun, 20 Sep 2020 21:10:42 +0300 Subject: [PATCH] [add] info about required package name for cgi-fcgi utility to make it easier for the user to understand what package is missing, helps #53 --- zabbix/zabbix_php_fpm_discovery.sh | 2 +- zabbix/zabbix_php_fpm_status.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zabbix/zabbix_php_fpm_discovery.sh b/zabbix/zabbix_php_fpm_discovery.sh index 5a59f21..2bc1ec5 100644 --- a/zabbix/zabbix_php_fpm_discovery.sh +++ b/zabbix/zabbix_php_fpm_discovery.sh @@ -118,7 +118,7 @@ if [[ ! -x $S_SLEEP ]]; then exit 1 fi if [[ ! -x $S_FCGI ]]; then - echo "Utility 'cgi-fcgi' not found. Please, install it first." + echo "Utility 'cgi-fcgi' not found. Please, install it first. The required package's name depends on your OS type and version and can be 'libfcgi-bin' or 'libfcgi0ldbl' or 'fcgi'." exit 1 fi diff --git a/zabbix/zabbix_php_fpm_status.sh b/zabbix/zabbix_php_fpm_status.sh index f9a6b09..71d2ab5 100644 --- a/zabbix/zabbix_php_fpm_status.sh +++ b/zabbix/zabbix_php_fpm_status.sh @@ -7,7 +7,7 @@ S_FCGI=$(type -P cgi-fcgi) S_GREP=$(type -P grep) if [[ ! -x $S_FCGI ]]; then - echo "Utility 'cgi-fcgi' not found. Please, install it first." + echo "Utility 'cgi-fcgi' not found. Please, install it first. The required package's name depends on your OS type and version and can be 'libfcgi-bin' or 'libfcgi0ldbl' or 'fcgi'." exit 1 fi