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

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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 Grafana error, cant install and cant recover agent360

javismiles

Basic Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Product version: Plesk Obsidian 18.0.56.4 OS version: Ubuntu 22.04 x86_64 Build date: 2023/11/06 15:00 Revision: 7f3265358b91416f035eddb5dfe564171fd100a4
this morning by mistake I deleted agent360 and now I dont know how to reinstall it,
I tried to activate Grafana, and I keep getting this error:
" Could not check if Monitoring was installed correctly: The Grafana service seems to be broken. Fix installation "
and click on fix and nothing happens, it hangs or gives an error

- could you help me reinstall agent360 which is my preferred way
- and could you help me understand why grafana also fails

thank you very much
 
looks like the grafana install gives this errors:

Execution package has failed with exit code 1, stdout: , stderr: WARNING:__main__:Unable to download package information: Command '['apt-get', '-qq', 'update', '--allow-releaseinfo-change']' returned non-zero exit status 100. Trying to install requested packages using previously created cache. ERROR:__main__:Command '['apt-get', '-q', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'apt-transport-https', 'ca-certificates']' returned non-zero exit status 100. stdout: Reading package lists... Building dependency tree... Reading state information... ca-certificates is already the newest version (20230311ubuntu0.22.04.1). ca-certificates set to manually installed. The following NEW packages will be installed: apt-transport-https 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 1510 B of archives. After this operation, 169 kB of additional disk space will be used. Ign:1 Index of /ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.10 Err:1 Index of /ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.10 404 Not Found [IP: 91.189.91.83 80] stderr:E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/a/apt/apt-transport-https_2.4.10_all.deb 404 Not Found [IP: 91.189.91.83 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I hope you can help me to reinstall agent360 and also see whats up with Grafana, thank you
 
I now found how to install agent360 in this page
so I followed the instructions by doing
wget -q -N monitoring.platform360.io/agent360.sh && bash agent360.sh usertoken

and it works and I Can do
service agent360 status
and its active

and I do
sudo -u agent360 agent360 info
Version: 1.2.48
Plugins enabled: iostat, diskusage, swap, system, process, cpu, network, loadavg, memory, ping
Plugins directory: /usr/local/lib/python3.10/dist-packages/agent360/plugins

looks good,
but within the plesk panel I cannot see the charts or anything,
and there is no option at all related to agent360 within the plesk panel,
so how do I recover the access to the charts from within the plesk panel?

thank you very much
 
finally fixed it,
- deleted extension
- had to kill process that was holding the lock of apt-get update
- reinstalled extension
- now it works
 
Back
Top