mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00

Replace $(NF-1) by $(NF). I don't know, but on my CentOs server, the commande "lsof -p 1179 2>/dev/null | grep unix | head -1" gives me : php-fpm 1179 php-fpm 24u unix 0xffff8f77b774dc00 0t0 8958617 /local/php/sockets/php7_mediawiki.sock So, the socket is in the last row, not in the before last.