Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Monitoring php-fpm processes with plugin?

Discussion in 'cPanel Developers' started by leonep, Feb 14, 2019.

Tags:
  1. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    110
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    Hi,
    My idea is to monitor php-fpm processes with a little plugin.
    basically i can get php status using php-fpm status page :


    Code:
    pool:                 xxxxxxxxxxx_com
    process manager:      ondemand
    start time:           14/Feb/2019:08:59:13 +0100
    start since:          37874
    accepted conn:        218
    listen queue:         0
    max listen queue:     0
    listen queue len:     0
    idle processes:       0
    active processes:     1
    total processes:      1
    max active processes: 1
    max children reached: 0
    slow requests:        0
    
    ************************
    pid:                  16319
    state:                Running
    start time:           14/Feb/2019:19:30:27 +0100
    start since:          0
    requests:             1
    request duration:     3582
    request method:       GET
    request URI:          /status.phtml?full
    content length:       0
    user:                 -
    script:               /home/XXXXXXXXXXX/public_html/status.phtml
    last request cpu:     0.00
    last request memory:  0
    With simple php scraper i get variables and store for statistic and analisis....
    This ,with interface in whm, can be nice..
    There is already something like this? it can be useful also for others?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,529
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @leonep,

    I'm not aware of any existing plugins that perform the task you have described. Let us know if you have any questions.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice