elcamlost / checkmk-php-fpm-plugin

9 stars 7 forks source link

[Errno 2] No such file or directory #1

Closed jilabaca closed 4 years ago

jilabaca commented 4 years ago

Hello, I come from https://exchange.checkmk.com/p/php-fpm, thank you very much for making this plugins available, I installed it but I have a problem that I could not solve, I have this error.

[root@te-aai-34-03 plugins]# ./php_fpm_pools
<<<php_fpm_pools>>>
[Errno 2] No such file or directory
[root@te-aai-34-03 plugins]#

my config file is this:

[root@te-aai-34-03 plugins]# cat /etc/check_mk/php_fpm_pools.cfg
php_fpm = [
 {"socket": "localhost:9000"}
]
[root@te-aai-34-03 plugins]#

the test according to the checkman works for me.

[root@te-aai-34-03 plugins]# SCRIPT_NAME=/status SCRIPT_FILENAME=/status QUERY_STRING= REQUEST_METHOD=GET cgi-fcgi -bind -connect localhost:9000
X-Powered-By: PHP/7.3.11
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Content-type: text/plain;charset=UTF-8

pool:                 www
process manager:      ondemand
start time:           25/Apr/2020:23:39:06 -0400
start since:          1112
accepted conn:        42
listen queue:         0
max listen queue:     0
listen queue len:     511
idle processes:       0
active processes:     1
total processes:      1
max active processes: 1
max children reached: 0
slow requests:        0
[root@te-aai-34-03 plugins]# 

I don't know what I could be missing, some help please

my check_mk version is: 1.6.0p11 Raw

Thanks!

JLIO.

elcamlost commented 4 years ago

Issue has been resolved with release 0.20