##README
- IDCOS 环境目录/home/ap/idcos
- 采集客户端脚本路径/home/ap/idcos/ocsinventory-agent
- COPY lib 到 /home/ap/idcos/ocsinventory-agent
- COPY cmd/ocsinventory-agent 到 /home/ap/idcos/bin
- echo “PATH=$PATH:/home/ap/idcos/bin” >> .bash_profile ---redhat
- echo “export PATH” >> .bash_profile
- 运行 ocsinventory-agent --local=/tmp ----生成json到本地/tmp下
- ocsinventory-agent --server=http://localhost:8080 ---把json数据推送到mongo上;