• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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