--- - hosts: urun remote_user: root tasks: - name: copy zabbix key config file copy: src=/etc/zabbix/zabbix_agentd.conf.d/get_disk_io.conf dest=/etc/zabbix/zabbix_agentd.conf.d/ - name: copy disk io script file copy: src=/etc/zabbix/get_sda_riops.py dest=/etc/zabbix/ - name: restart zabbix agentd service service: name=zabbix-agent state=restarted - hosts: zabbix remote_user: root tasks: - name: copy zabbix key config file copy: src=/etc/zabbix/zabbix_agentd.conf.d/get_disk_io.conf dest=/usr/local/etc/zabbix_agentd.conf.d/ - name: copy disk io script file copy: src=/etc/zabbix/get_sda_riops.py dest=/etc/zabbix/ - name: stop zabbix agentd service shell: pkill zabbix_agentd - name: start zabbix agentd service shell: zabbix_agentd
一个与zabbix-agentd有关的playbooks任务
原创
©著作权归作者所有:来自51CTO博客作者TtrToby的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
AE中的遮罩与蒙版是一个概念吗?
本文分析AE中的遮罩与蒙版的概念,并给出二者的区别、联系及基本应用实例操作。
遮罩层 AE 蒙版 AfterEffects -
zabbix-agentd 的配置
zabbix-agent的安装以及如何监控agentd端
配置 agent zabbix -
zabbix-agentd 配置详解说明
zabbix-agentd 配置详解说明
zabbix zabbix 配置 zabbix-agentd配置 -
zabbix-agentd触发告警后自动重启服务操作记录
zabbix-agentd触发告警后自动重启服务操作记录
zabbix 重启服务 操作记录 -
iOS|一个与 NSDateFormatter 有关的小 Bug
我们的 iOS APP 有一个小 Bug,场景简化后是这样:接口返回一个时间字符串,APP 里比较它与当前时间,如果当前时间晚于它,就有打开,那么这个 Bug 就会出现。相...
ios bug cocoa macos objective-c