• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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