This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install the Zabbix agent | |
yum: | |
name: http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-agent-3.4.8-1.el7.x86_64.rpm | |
- name: Configure the Zabbix agent | |
replace: | |
path: /etc/zabbix/zabbix_agentd.conf | |
regexp: '{{item.regexp}}' | |
replace: '{{item.replace}}' | |
with_items: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# JR: made some very minor changes for python3 | |
import socket | |
import threading | |
import select | |
import sys | |
terminateAll = False |