UserParameter=phpfpm.discovery, echo '{"data":[{"{#FPMPOOL}":"'$(ls /var/run/ | grep php | grep sock | head -c -1 | tr '\n' '*' | replace "*" '"},{"{#FPMPOOL}":"')'"}]}' #UserParameter=phpfpm.discovery, echo "{\"data\":[{\"{#FPMPOOL}\": \"php5-fpm.sock\"},{\"{#FPMPOOL}\": \"php5-fpm-egotec.com.sock\"},{\"{#FPMPOOL}\": \"php5-fpm-smallbusiness\"}]}" UserParameter=phpfpm.ping[*], sudo zabbix_phpfpm_ping.sh $1 UserParameter=phpfpm.statusall[*], sudo zabbix_phpfpm_status.sh $1 UserParameter=phpfpm.status[*], sudo zabbix_phpfpm_status.sh $1 | grep $2 | tail -n1 | cut -c 23- UserParameter=phpfpm.statusfullall[*], sudo zabbix_phpfpm_statusfull.sh $1 UserParameter=phpfpm.statusfull[*], sudo zabbix_phpfpm_statusfull.sh $1 | grep $2