Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行成功,却无数据推送到agent #12

Open
zhusas opened this issue Sep 25, 2017 · 2 comments
Open

执行成功,却无数据推送到agent #12

zhusas opened this issue Sep 25, 2017 · 2 comments

Comments

@zhusas
Copy link

zhusas commented Sep 25, 2017

按照说明配置了,不知道哪里出了问题

@hhfcyong
Copy link

我也是

@Cola20150301
Copy link

sed匹配的时候,在linux终端是能执行的,但是到了python环境下输出到agent的时候 port=\x01,导致数据读取不到,代码69行修改下
insts_list = [ os.path.basename(i) for i in commands.getoutput(''' ps -ef |grep memcached|grep -v grep |sed -n 's/.* *-p *\([0-9]\{1,5\}\).*/\1/p' ''' ).split('\n') ]
insts_list = [ os.path.basename(i) for i in commands.getoutput(''' ps -ef |grep memcached|grep -v grep |sed -n 's/.* *-p *\([0-9]\{1,5\}\).*/\\1/p' ''' ).split('\n') ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants