Commit 1a7b5878 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

zabbix_server: add irccat service for notifications in irc

irccat allows connections on 12345 on localhost and forwards them to the
archlinux-devops channel. To be used for zabbix to irc notificatons.
parent 8b2f94a5
$ANSIBLE_VAULT;1.1;AES256
61653339306335306538306231313962623561373262383030306539383936633663316637623935
6665353831643337386464393830646462613436336538660a663536303335313336386531346364
66376536323135393934383666323962323337353462643662623462623639613835393133333464
6361346465306533640a396431643435356264623865393662633632313039656431653639663335
36303666643730636430346465353436366435353436666331366138333639613334353232646439
31313532353237383964363965396238303739623731366236623035366238376134363564383838
31313131393234623562633432306533336630363231666664623032656366623433633562373831
33303333643532623231303661643764623264353737316539616137326133356464333065653538
63333638613632373232356462356164303730643966346261626361333235633132623661663739
61626130376430373566663065326335626464316631386161306663353365346462386263313039
66616435343431643734653933353430343834633264643132613735363130663036636165613165
33646230313839356637
65363165363933396431326564326233616436663933353665323735306439633939626338366533
6566363035333761346631663733383662333265653163610a376235333532666330356636636165
36333734306332396137366466373039363032373334623139666532316365333164313566613933
6561383137356130310a363136326236356363303431393134366436633763313638343833643764
36616432343533636630366665613738346463393339656566366364396132376465633437666436
34643338353139346664383563366365386162623834653931363835656137376232626662393461
30353939626431336331393364636333306338373230306637653236393530643165386631383437
65316238373866646534653130626134303433343836316634313438643630323431353532363537
33323664383831656461373638316434333766343137386434616134643535633131323864363433
31373362353939366463363632623734393762626539663232643839663462393834336565303838
33303164326230663337363332343839303865346631363436383463353036323461376463333961
39663033303039366366316537326362616136303638303438343833663166373038656435343338
32356662623832623439383038656561613638366132626638653438656534366636636335626236
63333264383834396163343939366665643139626331343036373363633532643639633338326333
323366333631393762653435613365616436
......@@ -8,7 +8,7 @@ archweb_domains_redirects:
'packages.archlinux.org': '/packages$request_uri'
archweb_nginx_conf: '/etc/nginx/nginx.d/archweb.conf'
archweb_repository: 'https://github.com/archlinux/archweb.git'
archweb_version: release_2019-11-17
archweb_version: release_2019-12-02
archweb_pgp_key: ['E499C79F53C96A54E572FEE1C06086337C50773E']
archweb_site: true
archweb_mirrorcheck: false
......
---
- name: install packages
pacman: name=zabbix-server,zabbix-frontend-php
pacman: name=zabbix-server,zabbix-frontend-php,irccat,gnu-netcat
- file: path=/etc/zabbix state=directory owner=root group=root mode=755
......@@ -67,6 +67,15 @@
- 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
- 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
service: name=zabbix-server-pgsql enabled=yes state=started
......
......@@ -5,3 +5,4 @@ DBPassword={{vault_zabbix_db_password}}
Timeout=4
LogSlowQueries=3000
StartPollers=30
AlertScriptsPath=/usr/local/bin
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