-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
使用adminset_agent.py报错 #20
Comments
token 是根据在服务器上配置管理页面中的token来进行设置的。 |
@guohongze 谢谢你的答复,再问一个问题。 |
服务端在docker上,只需要做端口映射即可,宿主机随便开一个端口映射到有adminset server的docker的80上,然后客户端通过这个映射的固定端口上报信息。 |
@guohongze 再请教一下 权限设置的问题 新建了账号并在平台监控这个模块设置了访问权限 如图: 登陆新建账号后不能查看该允许权限连接,查看访问日志报/accounts/permission/deny/ 如图: 是否还需要开启其他权限连接? |
权限模块的工作机制是这样的: |
@guohongze 可能我解析的不太清楚 这样加是不行的 看日nginx日志,发现 /monitor/get/有这个动作,所以权限添加必须先把 /monitor/get/这个加上才能有权限访问。 |
客户端用docker容器运行
容器内系统是
CentOS Linux release 7.3.1611 (Core)
在adminset_agent.py上修改了
server_ip = '172.17.0.7'
此为容器iptoken
这个是根据服务端上的token进行修改的吗?运行adminset_agent.py后报错:
请问如何解决?
The text was updated successfully, but these errors were encountered: