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

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    4:27 PM
    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

    50,472
    11,661
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,083
    Local Time:
    6:27 AM
    Nginx 1.25.x
    MariaDB 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

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    4:27 PM
    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.