sys_metrics failed to collect: disk_io_counters raised ValueError
ctrlbrk42 opened this issue · 4 comments
Hi, receiving this error:
2020-03-06 21:57:50,745 [24958] sys_metrics sys_metrics failed to collect: disk_io_counters raised ValueError
uname -a
Linux pegasus 5.5.5-custom nginxinc/nginx-amplify-agent-priv#1 SMP Thu Feb 20 13:54:35 EST 2020 x86_64 GNU/Linux
apt-cache policy nginx-amplify-agent
nginx-amplify-agent:
Installed: 1.7.0-5~stretch
pip install psutil
Requirement already satisfied: psutil in /usr/local/lib/python2.7/dist-packages
su www-data
$ ps
PID TTY TIME CMD
7706 pts/2 00:00:00 sh
7749 pts/2 00:00:00 ps
nginx runs as www-data.
The result is in the dashboard, all disk metrics such as Disk I/O, Disk Latency, and Disk IOPS all show as no data collected.
The docs vaguely mention something about VPS's having this issue, however I am using GCP hardware.
Two weeks, is anyone here?
I guess not
I am currently running into the same issue. Just upgraded from Ubuntu 20.04 to 20.10
Before everything worked fine (with some custom tinkering)
Now I got the Agent working again (mostly) but get the same sys_metrics failed to collect: disk_io_counters raised ValueError error in my /var/log/amplify-agent/agent.log
Installed psutils version is
Collecting psutil
Using cached psutil-5.8.0-cp38-cp38-manylinux2010_x86_64.whl (296 kB)
Installing collected packages: psutil
Successfully installed psutil-5.8.0
I guess many issues could be resolved when the agent is being upgraded/reworked in Python 3 (which I don't know if it already happened) because currently it is still running on python 2.
And there seem to be many dependency issues with python 2.