nginx-amplify-agent icon indicating copy to clipboard operation
nginx-amplify-agent copied to clipboard

sys_metrics failed to collect disk_io_counters due to OSError

Open centminmod opened this issue 9 years ago • 7 comments
trafficstars

On OpenVZ Virtualized VPS server https://community.centminmod.com/posts/20844/

in /var/log/amplify-agent/agent.log

2015-11-26 11:46:58,272 [26231] sys_meta failed to collect meta lscpu due to AmplifySubprocessError
2015-11-26 11:47:11,209 [26231] sys_metrics failed to collect disk_io_counters due to OSError
2015-11-26 11:47:11,238 [26231] nginx_metrics get http://127.0.0.1:80/nginx_status 200 10 102 0.003

also lscpu doesn't work on OpenVZ VPS

lscpu
lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: No such file or directory

you can check for existence of this file /proc/user_beancounters on OpenVZ VPS containers as to whether lscpu works and disk_io_counters code

centminmod avatar Nov 26 '15 11:11 centminmod

We will investigate the problems with Open VZ VPS containers soon.

dedm avatar Dec 08 '15 22:12 dedm

cheers @dedm :)

centminmod avatar Dec 11 '15 13:12 centminmod

I have the same error on OVH VPS and Dedicated Server

rafa-suagu avatar Jul 23 '16 11:07 rafa-suagu

This issue still open?

OpenVZ box

2018-06-30 01:01:18,809 [8174] sys_metrics sys_metrics failed to collect: disk_io_counters raised IOError
2018-06-30 01:01:20,061 [8174] sys_meta sys_meta failed to collect: lscpu raised AmplifySubprocessError

argosback avatar Jun 30 '18 06:06 argosback

we have the same issue on all systems and disk data is not available in the amplify ui. thank you. this is an awesome product

virtuman avatar Jan 17 '19 21:01 virtuman

I have this problem too on 3 of my servers :( There is not fix for this yet?

sky93 avatar May 21 '20 21:05 sky93

I have this problem too on 3 of my servers :( There is not fix for this yet?

+1 :(

jonas-w avatar Feb 15 '22 22:02 jonas-w