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

Centos 7 + Directadmin fail to collect

Open Zetecc opened this issue 8 years ago • 5 comments

Hi, i just installed the agent on Centos 7 + nginx + Directadmin, amplify collects system data but not nginx stats. These are the errors in agent.log

supervisor failed to read /etc/nginx/nginx.conf due to: IOError nginx_meta nginx_meta failed to collect: find_packages raised ValueError

Thanks

Zetecc avatar Sep 19 '17 21:09 Zetecc

Can you please reach out through Intercom chat so that we can identify you and create a support ticket? :) TIA!

ghost avatar Sep 21 '17 11:09 ghost

I just did what you suggested, thanks.

Zetecc avatar Sep 21 '17 16:09 Zetecc

Hi Ptreyes,

I am also facing the same issue, I got system metric whereas i am not receiving Nginx metrics, Could you post the suggestion here.

Thanks

Beer786 avatar Nov 27 '17 03:11 Beer786

I am also having the same issue on centos 7. Someone kindly reply

vmanikes avatar Feb 26 '18 18:02 vmanikes

Same issue on centos 7

2018-03-27 21:53:21,153 [14787] nginx_meta nginx_meta failed to collect: find_packages raised ValueError
2018-03-27 21:53:21,154 [14787] nginx_meta additional info:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/amplify/agent/collectors/abstract.py", line 121, in collect
    method(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/amplify/agent/collectors/nginx/meta.py", line 148, in find_packages
    package, version = rpm_out[0].split()
ValueError: too many values to unpack

kn007 avatar Mar 27 '18 13:03 kn007