• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

How to Write Your First 360 Monitoring Plugin

I get an error on the plesk-wpt.py:
Code:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/agent360/agent360.py", line 372, in _execution
    payload = plugin.run(self.config)
  File "/usr/local/lib/python3.6/site-packages/agent360/plugins/plesk-wpt.py", line 27, in run
    data['wpsites-outdated-php'] = int(os.popen('sudo -n plesk ext wp-toolkit --list | grep "Outdated PHP" |  wc -l').read())
ValueError: invalid literal for int() with base 10: ''

This is result of the command that causes the error:
Code:
# sudo -n plesk ext wp-toolkit --list | grep "Outdated PHP" |  wc -l
23
 
Back
Top