• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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