WP Toolkit Plugin

This plugin keeps track of the status of all your WordPress installations managed by the WordPress Toolkit both on cPanel and Plesk.

Reported Metrics

  • Total number of WordPress websites
  • Number of WordPress websites alive
  • Number of broken WordPress websites
  • Number of outdated WordPress websites
  • Number of WordPress websites with outdated PHP Versions

Dependencies

This plugin needs to be able to speak with the command-line interface of the WP Toolkit.
Plesk users need to add the following line to their /etc/sudoersfile:

agent360 ALL=(ALL) NOPASSWD: /usr/sbin/plesk

cPanel users need to add the following line to their /etc/sudoersfile:

agent360 ALL=(ALL) NOPASSWD: /usr/local/bin/wp-toolkit

Configure the plugin

To enable the plugin, edit the /etc/agent360-custom.inifile and add the following lines:

[wpt]
enabled = yes
interval = 3600

Test the plugin

To test the plugin, run the sudo -u agent360 agent360 test wpt command.
Now you can restart the agent with the service agent360 restart command.