Learn about Centmin Mod LEMP Stack today
Become a Member

WP Server stats plugin

Discussion in 'Add Ons' started by Matt Williams, Apr 23, 2021.

  1. Matt Williams

    Matt Williams WordPress Fanatic

    491
    95
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +142
    Local Time:
    5:53 AM
    latest
    10
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.08stable or 123.09beta01
    • Nginx Version Installed: i.e. 1.15.3
    • PHP Version Installed: i.e. 5.6.37, 7.0.31, 7.1.21, 7.2.9
    • MariaDB MySQL Version Installed: i.e. 10.0.x or 10.1.xx or 10.2.xx
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
    • Code (Text):
      cat /etc/centminmod/custom_config.inc
      

      Post output in CODE tags.
    I have a suggestion: When installing a new WP site via #22, with the installed plugins it auto installs, why not add WP Server Stats? WP Server Health Stats

    It works great but you have to enable shell_exec to show the Real Time RAM Usage, and Real Time CPU Load but it shows everything else.


    Run to Enable php_exec:
    Code:
    sed -i "s|^php_admin_value\[disable_functions\] = shell_exec|;php_admin_value\[disable_functions\] = shell_exec|" /usr/local/etc/php-fpm.conf
    to enable it.

    Screenshot with shell_exec enabled:
    Awesome Screenshot
     
  2. eva2000

    eva2000 Administrator Staff Member

    46,825
    10,620
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,482
    Local Time:
    7:53 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Yes I've evaluated that plugin before but decided against it. One of the FAQ on the plugin highlight possible issue

    It's probably a plugin left for end users to decide to use themselves, rather than make it default. Also there's a lot of tools which can also provide such stats too Sysadmin - monitoring and alert tools? and Sysadmin - HetrixTools Uptime, Blacklist, Domain/Nameserver Monitoring without needing to open wide shell_exec too :)

    And Nginx Amplify is free Nginx - Nginx Amplify Open Source Monitoring Service and PHP-FPM - How to configure PHP-FPM Status Monitoring with Nixstats & Nginx Amplify
     
  3. Matt Williams

    Matt Williams WordPress Fanatic

    491
    95
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +142
    Local Time:
    5:53 AM
    latest
    10
    I use Nginx Amplify but it is nice to just have it in your WP Dashboard. I've never had any issues with it. Installed it on several CMM VPSes.