Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guohongze authored Apr 17, 2017
1 parent c7250c0 commit 84b3eba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ python manage.py runserver 0.0.0.0:8000
## 客户端说明
说明:为保证注册IP是管理IP(后续会被ansible等调用),客户端的IP抓取目前使用主机名解析,也就是说主机名必须可以被解析才能执行自动上报脚本,否则报错。
如:主机名为centos6 请在/etc/hosts中加入相应的解析 192.168.x.x centos6,这样再执行agent_post_info.py 可以保证正常运行。
centos7不进行解析也可获取主机IP,但是centos6必须在/etc/hosts对主机名进行解析。
#### step1:
yum install -y smartmontools <br>
yum install -y dmidecode
Expand Down

0 comments on commit 84b3eba

Please sign in to comment.