• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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