WordPress monitoring.

Monitor WordPress websites using Site24x7 and stay on top of issues.

Configure our agent and check WordPress performance using a wide variety of metrics. Monitor various attributes with our open ecosystem for Plugins. The feature comes for free along with our advanced server monitoring capabilities. Learn how the plugin works.

WordPress performance monitoring metrics:

Apache version

The version of Apache running on the server. Important in understanding which Apache features are available and whether updation is required or not. E.g.: "Apache/2.2.31 (unix)".

PHP version

The version of PHP running in your WordPress server. Important in understanding which PHP features are available and whether updation is required or not. E.g.: "PHP 5.6.16".

MySQL version

Version of MySQL database running in your WordPress server. Important in understanding which MySQL features are available and whether updation is required or not. E.g.: "MySQL 5.6.39".

PHP CPU

The portion of CPU occupied by PHP processes specific to your WordPress server. It is displayed in percentage on the dashboard.

PHP memory

The portion of memory occupied by PHP processes specific to your WordPress server. It is displayed in percentage on the dashboard.

Apache status

Status of Apache server in your WordPress server.

PHP status

Status of PHP process in your WordPress server.

MySQL status

Status of MySQL database in your WordPress server.

MySQL memory

The portion of memory occupied by MySQL queries specific to your WordPress server. It is displayed in percentage on the dashboard.

MySQL CPU

The portion of CPU occupied by MySQL queries specific to your WordPress server. It is displayed in percentage on the dashboard.

Apache server attributes:

Apache total accesses

The total number of times your Apache server was accessed.

Apache total Bytes

The total number of bytes count served by your Apache server.

Apache CPU load

The portion of CPU used by all Apache worker threads combined. It is displayed in percentage on the dashboard.

Aapche Uptime

The amount of time the Apache server was up and running.

Apache reqests per second

Average number of requests per second recieved by the Apache server.

Apache bytes per second

Average number of bytes per second served by the Apache server. .

Apache bytes per request

Average number of bytes present in each request served by the Apache server.

Apache busy workers

The number of workers serving requests received by the Apache server.

Apache idle workers

The number of idle workers available to serve requests recieved by the Apache server.


How it works?

  • Log-in to your Site24x7 account. Sign up here if you don't have one.
  • Download and install the latest version of Site24x7 Linux Agent
  • Install the WordPress plugin
  • The agent will execute the WordPress plugin and push the data to the Site24x7 server

Prerequisites:

  • The plugin requires 'Curl' tool to fetch the statistics. Have this installed to use this feature.

WordPress plugin installation:

  • Create a directory with the name "wordpress", under the Site24x7 Linux Agent's plugin directory - /opt/site24x7/monagent/plugins/wordpress
  • Download the file ""wordpress.sh" from our GitHub repository and place it under the "wordpress" directory
  • Commands to perform the above step:
  • cd /opt/site24x7/monagent/plugins/
    mkdir wordpress
    cd wordpress
    wget https://raw.githubusercontent.com/site24x7/plugins/master/wordpress/wordpress.sh

Configure Apache to support statistics:

  • Edit your httpd.conf file so that it enables sending statistics. As mentioned at https://httpd.apache.org/docs/2.4/mod/mod_status.html#machinereadable
  • Sample code for stats setup in the file "/usr/local/apache/conf/httpd.conf":
  • < Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1 ::1
    < /Location>
  • Restart apache server and check wether the configured URL is receiving apache statistics by opening it in a browser

WordPress plugin configuration:

  • Now change the following values in the plugin file (copied to agent plugin's directory earlier):
  • "APACHE_STATS" to "ENABLED" ("DISABLED" by default)
  • Enter your stats URL as specified while configuring Apache for statistics to the variable "APACHE_STATUS_URL". The final stats URL should contain "?auto" in the end as this is required to fetch the statistics from our agent
  • Sample value - APACHE_STATUS_URL="http://localhost:80/server-status?auto"

Monitor additional metrics:

  • To monitor additional metrics, edit the "wordpress.sh" file and add the new metrics that need monitoring
  • Increment the plugin version value in the file "wordpress.sh" to view the newly added metrics ( For e.g. Change the default plugin version from PLUGIN_VERSION = "1" to "PLUGIN_VERSION = "2")

Related plugins:

  • Redis plugin - Monitor performance metrics of your Redis databases
  • MongoDB plugin - Monitor performance metrics of your MongoDB databases
  • Memcached plugin - Analyze performance of your Memcached server
  • Nagios plugin - Execute thousands of Nagios plugins in Site24x7 without the need of running a Nagios server
  • Out-of-the-box plugins - Monitor your entire app stack with our extensive list of integrations
  • Create custom plugins - Create custom Linux and Windows plugins and monitor custom attributes
Trusted

World's leading companies

Client

Don't have a Site24x7 account? Sign up now!