elcamlost / checkmk-php-fpm-plugin

9 stars 7 forks source link

Wato Rules not registerd #4

Open m4c3 opened 3 years ago

m4c3 commented 3 years ago

The wato rules for this check do not show up, seems that they are not registered properly

elcamlost commented 2 years ago

Hi! Can you check is issue still present in latest 1.0 release?

maniac-0s commented 2 years ago

I have a similar issue:

I had to enforce the php-fpm service to make it show up in the hosts but then I still get report that the plugin received no data.

[agent] Version: 2.0.0p13, OS: linux, Missing monitoring data for check plugins: php_fpm_poolsWARN, execution time 0.8 sec

check_mk_agent on the client however shows php fpm data:

0::/system.slice/php7.4-fpm.service root 371576 37700 00:00:00 02:54:16 1900550 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf) 0::/system.slice/php7.4-fpm.service www-data 380048 105172 00:00:04 02:54:15 1900551 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 379620 100424 00:00:03 02:54:15 1900552 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 383120 114172 00:00:03 02:54:15 1900553 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 379848 102232 00:00:05 02:54:15 1900554 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 379888 105708 00:00:02 02:54:15 1900555 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 379732 107616 00:00:03 02:54:15 1900556 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 377580 95616 00:00:02 02:54:15 1900557 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 377588 102680 00:00:02 02:54:15 1900558 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 379604 98636 00:00:03 02:54:15 1900559 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 379588 101756 00:00:03 02:54:15 1900560 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 382940 117756 00:00:03 02:54:15 1900561 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 381100 104860 00:00:02 02:54:15 1900562 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 394032 118316 00:00:03 02:54:15 1900563 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 385960 121980 00:00:03 02:54:15 1900564 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 391916 124200 00:00:03 02:54:15 1900565 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 382272 118192 00:00:03 02:54:15 1900566 php-fpm: pool www 0::/system.slice/php7.4-fpm.service www-data 381408 114524 00:00:02 02:54:06 1900571 php-fpm: pool www

jplitza commented 1 year ago

@maniac-0s That's not the output from the php_fpm plugin, but from the builtin processes section (<<<ps_lnx>>>) and has nothing to do with the WATO ruleset at all (which is the configuration page in the web interface of Check_MK itself). So please open a new issue for that.

Furthermore, the message "Missing monitoring data for check plugins: php_fpm_pools" suggests the agent once had output for that plugin but now doesn't.