How to Add php-fpm to System and Server status monitor?

12 posts / 0 new
Last post
#1 Thu, 09/26/2019 - 00:55
adamjedgar

How to Add php-fpm to System and Server status monitor?

How do I add PHP-fpm to System and Service Status Monitor?

Simply monitoring Apache isn't enough. I have had PHP-fpm go down, apache keep running and I'm none the wiser until a Wordpress website goes offline because PHP-fpm stops working (which is highly embarrassing sometimes).

Webmin>Others>System and Server Status Monitor doesn't have a PHP-fpm option

Mon, 09/30/2019 - 17:06
qlpqlp

Hello,

Again FPM down and no monitoring option :(

This is a must have.

Regards

Tue, 10/01/2019 - 04:19
Tue, 10/01/2019 - 06:54 (Reply to #3)
qlpqlp

Hello @jfro

How this commit add the notification? I have merged the commit and I dont see the monitoring option :)

Tue, 10/01/2019 - 07:38
Jfro

Don't know only trying to point to some more info about maybe that topic.

Tue, 10/01/2019 - 08:45
scotwnw

Webmin has a generic "check Process" in the status monitoring module. Can monitor any process you want.

Tue, 10/01/2019 - 09:07
Jfro

He means here you can WEBMIN: Others > System and Server Status > Add monitor of type: Check Process Then in "Command to check"

Tue, 10/01/2019 - 09:24
qlpqlp

Thanks @jfro and @scotwnw :)

I added in the field "Command to Check" the process "php-fpm" and now its working :)

Thu, 10/03/2019 - 18:06
adamjedgar

This is good. I have also set mine to run the following command if php-fpm monitor detects its not active...

/etc/init.d/php-fpm start

However, how can we change the descriptor in the Server Status monitor to something more appropriate/meaningful?

Currently, it shows as "Check Process". I would much prefer "php-fpm"

EDIT... Belay the "Descriptor" question...who would have thought it was so simple, I was too stupid to see how to change that!

The problem now is, the status monitor is not displaying its current status???

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Fri, 10/04/2019 - 02:35
Jfro

adamjedgar.

even with this change/update? https://github.com/virtualmin/virtualmin-gpl/commit/e3b42f45709e94c36408...

don't think that is it but to be sure.

all caches cleared ofcourse?

Fri, 10/04/2019 - 03:24
adamjedgar

I run Virtualmin Pro not GPL.

Will that update work with Pro?

Also, does this display in the Server status monitor alongside Apache, Bind, MySQL etc?

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Fri, 10/04/2019 - 04:42
Jfro

don't knwo make a topic here i think

https://www.virtualmin.com/project/issues

Topic locked