1.交换板文件
/opt/tsg/bin
/opt/tsg/etc
更新telegraf.conf的global tags, 本机sn.
2.计算板文件(4台)
3.服务
启动交换板crontab服务:
service crond start
chkconfig crond on
crontab -e, 输入以下内容:
* * * * * /opt/tsg/bin/tsg_update_tags
* * * * * sleep 10; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 20; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 30; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 40; /opt/tsg/bin/tsg_update_tags
* * * * * sleep 50; /opt/tsg/bin/tsg_update_tags
修改后要执行: service crond restart