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

5 Commits

Author SHA1 Message Date
LeoShivas
9acb7224d2
Update zabbix_php_fpm_discovery.sh
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.
2019-11-26 11:46:52 +01:00
Carl Heaton
5d9b551aa6 Improved alias safe method to get commands and locations of required executables (#6) 2019-11-05 00:45:20 +03:00
Ramil Valitov
97304dcc0f
[fix] correct autodiscovery if there are problems with PID or socket, #1
If PID or socket are invalid or failed to detect, then it caused the JSON to be malformed because of extra comma.
2019-10-01 12:02:49 +03:00
Ramil Valitov
ce5b04f74c
[add] files for Zabbix 2019-08-13 11:32:59 +03:00
Ramil Valitov
a9e5d5401d [add] pools discovery 2019-08-12 15:22:49 +03:00