• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk 360 monitoring broken after updating agent

carini

Basic Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.53_build1800230619.12 os_Ubuntu 20.04
After updating agent the monitoring go broke:

root@plesk52:~# systemctl status agent360 ● agent360.service - agent360 Loaded: loaded (/etc/systemd/system/agent360.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-07-20 20:30:23 CEST; 7min ago Main PID: 3651549 (agent360) Tasks: 1 (limit: 9517) Memory: 18.2M CGroup: /system.slice/agent360.service └─3651549 /usr/bin/python3 /usr/local/bin/agent360 Jul 20 20:30:23 plesk52.scibile.network systemd[1]: Started agent360. Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: Exception in thread Thread-1: Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: Traceback (most recent call last): Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: self.run() Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: File "/usr/lib/python3.8/threading.py", line 870, in run Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: self._target(*self._args, **self._kwargs) Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: File "/usr/local/lib/python3.8/dist-packages/agent360/agent360.py", line 602, in _data Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: connection.close() Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: UnboundLocalError: local variable 'connection' referenced before assignment

Stopping and starting the agent or upgrading manually is no use.
 
Plesk on Ubuntu 22.04.2 LTS seems unaffected, python version differs

Ubuntu 20.04.6 LTS:
root@plesk52:~# dpkg -l python3 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-==============-============-========================================================================= ii python3 3.8.2-0ubuntu2 amd64 interactive high-level object-oriented language (default python3 version)

Ubuntu 22.04.2 LTS:
root@plesk63:~# dpkg -l python3 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-==============-============-========================================================================= ii python3 3.10.6-1~22.04 amd64 interactive high-level object-oriented language (default python3 version)

Anyone with the same problem?
 
Back
Top