Verified Commit 98036872 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Remove non-working irccat zabbix to irc bridge

This never worked well as irccat seems to be buggy with joining the
devops channel. Additionally we are moving away from Zabbix for
monitoring.
parent 9b98a228
Pipeline #443 passed with stage
in 1 minute
--- ---
- name: install packages - name: install packages
pacman: name=zabbix-server,zabbix-frontend-php,irccat,gnu-netcat pacman: name=zabbix-server,zabbix-frontend-php
- name: set zabbix directory permissions in /etc - name: set zabbix directory permissions in /etc
file: path=/etc/zabbix state=directory owner=root group=root mode=755 file: path=/etc/zabbix state=directory owner=root group=root mode=755
...@@ -68,15 +68,6 @@ ...@@ -68,15 +68,6 @@
- name: install zabbix web config - name: install zabbix web config
template: src=zabbix.conf.php.j2 dest=/usr/share/webapps/zabbix/conf/zabbix.conf.php owner=zabbix-web group=zabbix-web mode=600 template: src=zabbix.conf.php.j2 dest=/usr/share/webapps/zabbix/conf/zabbix.conf.php owner=zabbix-web group=zabbix-web mode=600
- name: install irccat configuration
template: src=irccat.json.j2 dest=/etc/irccat.json owner=root group=root mode=644
- name: run irccat service
service: name=irccat enabled=yes state=started
- name: install zabbix to irc message script
template: src=zabbix-irc-msg.j2 dest=/usr/local/bin/zabbix-irc-msg owner=root group=root mode=755
- name: run zabbix server service - name: run zabbix server service
service: name=zabbix-server-pgsql enabled=yes state=started service: name=zabbix-server-pgsql enabled=yes state=started
......
#!/bin/sh
sender=$1
subject=$2
body=$3
echo $subject | nc -c localhost 12345
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment