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

49 Commits

Author SHA1 Message Date
Ramil Valitov
2e71a996aa
[add] more details how to run Zabbix agent as root 2019-12-21 19:14:37 +03:00
Ramil Valitov
be9802dec9
[add] info how to install zabbix-get 2019-12-21 18:20:36 +03:00
Ramil Valitov
52612d807d
[add] some new screens, improved colors of graphs, less data to show in graphs to make them more friendly and readable 2019-12-21 17:33:49 +03:00
Ramil Valitov
d13b33fa59
[add] shorter names of parameters in template 2019-12-21 15:28:43 +03:00
Ramil Valitov
5797127be2
[add] details about pm ondemand issue 2019-12-19 14:29:04 +03:00
Ramil Valitov
718ae76828
[add] info about supported pool's listen directive and PM managers 2019-12-19 14:25:50 +03:00
Ramil Valitov
2210d3bbd5
Fix for issue #12 (#13)
## Fix (all problems specified in issue #12)
- **More robust method to discover sockets** (when PHP pool uses sockets). Script performs automatic checks of socket files (the file exists and is really a socket).
- **More robust method to discover host and port** (when PHP pool uses TCP connection).
- **Support of pools when PHP daemon listens on any network interface**. This mode is activated when in PHP pool configuration the `listen` command specifies only a port, without a host IP, for example:
```
listen = 9000
```
- **Correct discovery of pools in some cases.** The script performs analysis of all processes that belong to the pool. Previously, we checked only the first process, as a result if a pool somehow had multiple processes (for example Memcached, Redis, PostgreSQL) then discovery could capture wrong data. Now this problem is fixed.
- **Improved detection of pools**. We use better expressions in `grep` now. Previously special characters in pool names could lead to script failures. Besides such approach is a more robust method to fix #10.

## New functionality
- **Debug mode** of the discovery script helps to investigate problems that may happen
2019-12-19 14:02:16 +03:00
Ramil Valitov
805ef87655
Merge pull request #9 from LeoShivas/patch-2
Pools detection fix for CentOS
2019-12-15 16:19:40 +03:00
Ramil Valitov
d78455db86
Merge branch 'master' into patch-2 2019-12-15 16:18:38 +03:00
Ramil Valitov
c3bec2e000
[add] one more step how to grant previliges without root #7 2019-11-29 14:57:53 +03:00
Ramil Valitov
799f76ec1a
[add] info how to use zabbix_get for troubleshooting 2019-11-28 12:41:32 +03:00
Ramil Valitov
e6b19fc940
[fix] correct grep of pool name #10 2019-11-28 12:14:09 +03:00
Ramil Valitov
fc5b1d583c
[add] method how to grant previliges without root #7 2019-11-28 12:13:04 +03:00
Ramil Valitov
80401be1f2
[add] more details about cgi-fcgi package installation in Debian 2019-11-26 22:36:21 +03:00
Ramil Valitov
5623e2e38a
[add] how to troubleshoot template import failure 2019-11-26 19:24:53 +03:00
Ramil Valitov
5f17630c0f
[add] example of IP and port combination in script PHP-FPM pools detection output 2019-11-26 19:24:29 +03:00
Ramil Valitov
fbcbf39d2a
[add] import error details screenshot 2019-11-26 19:21:21 +03:00
Ramil Valitov
0678312563
[add, fix] detection of PHP-FPM pools spawned in TCP mode, fixes #8 2019-11-26 19:07:54 +03:00
Ramil Valitov
04243442fd
[del] remove debug file output 2019-11-26 18:26:39 +03:00
Ramil Valitov
a35cb432b9
[add] info how to use this script 2019-11-26 18:26:21 +03:00
Ramil Valitov
573c9b3123
[fix] better alias safe executables detection in addition to #6 2019-11-26 18:15:39 +03:00
Ramil Valitov
eba3d17825
[add] stale bot ignores bug labels 2019-11-26 18:12:58 +03:00
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
Ramil Valitov
a748ddfc90
[add] notice that we need bash 2019-11-05 01:05:17 +03:00
Ramil Valitov
9041821e20
[add] info how to install prerequisites using yum 2019-11-05 01:02:22 +03: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
1410cd3061
[add] update info that only Zabbix 4.2.x+ is supported 2019-10-22 22:17:54 +03:00
Ramil Valitov
359a7ce62a
reduce issue stale time 2019-10-22 22:11:29 +03:00
Ramil Valitov
2debace432
Merge pull request #3 from LeoShivas/patch-1
Use rss instead of vsize
2019-10-22 21:53:16 +03:00
Ramil Valitov
5a56022dfa
Merge pull request #4 from danboid/master
Fix various installation commands in README.md
2019-10-22 21:26:48 +03:00
Dan MacDonald
83f96417ef Fix various installation commands in README.md 2019-10-15 17:07:21 +01:00
LeoShivas
7299a383cc
Update zabbix_php_fpm_template.xml
Replace vsize by rss because it's more relevant in monitoring.
2019-10-11 12:07:26 +02:00
Ramil Valitov
3e69778090
[add] info how to troubleshoot autodiscovery, #1 2019-10-01 12:17:19 +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
7ece5b18c1
Create FUNDING.yml 2019-08-13 17:04:31 +03:00
Ramil Valitov
fe71fee823
[add] Stale bot config 2019-08-13 16:43:26 +03:00
Ramil Valitov
555e125922
[add] README 2019-08-13 12:02:31 +03:00
Ramil Valitov
b6144f4106
[add] open graph image 2019-08-13 12:00:14 +03:00
Ramil Valitov
ce5b04f74c
[add] files for Zabbix 2019-08-13 11:32:59 +03:00
Ramil Valitov
16526b37e8
[add] Zabbix graph screenshots 2019-08-13 11:20:25 +03:00
Ramil Valitov
6019cdf3cb
[add] Zabbix import interface screenshot 2019-08-13 11:07:29 +03:00
Ramil Valitov
6103abd45b
Merge branch 'master' of github.com:rvalitov/zabbix-php-fpm 2019-08-13 10:51:51 +03:00
Ramil Valitov
93bbbcad68 [add] ISPConfig resync screenshot 2019-08-13 10:25:38 +03:00
Ramil Valitov
a9e5d5401d [add] pools discovery 2019-08-12 15:22:49 +03:00
Ramil Valitov
3c566382b0
Initial commit 2019-08-12 11:34:21 +03:00
Ramil Valitov
73f3619b22 [add] ignore Visual Studio 2019-08-12 09:27:29 +03:00
Ramil Valitov
12444b7b13 [add] enable php-fpm status page 2019-08-12 09:21:35 +03:00
Ramil Valitov
c8d75f8a68 [add] original template from ISPConfig 3.1.14p2 2019-08-12 09:21:13 +03:00
Ramil Valitov
787aa08d7e initial commit 2019-08-12 09:20:13 +03:00