From 273a997c89a6da3c97094b4f047b41af82142068 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 21 Sep 2017 22:43:00 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 1 + apt/sources.list.d/icinga.list | 2 ++ apt/trusted.gpg | Bin 5706 -> 6900 bytes icinga2/conf.d/apt.conf | 1 + icinga2/conf.d/users.conf | 23 +++++++++++++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 apt/sources.list.d/icinga.list diff --git a/.etckeeper b/.etckeeper index 3432b8b..dcea793 100755 --- a/.etckeeper +++ b/.etckeeper @@ -244,6 +244,7 @@ maybe chmod 0644 'apt/repo.uhu-banane.de.gpg-key2.pub' maybe chmod 0644 'apt/sources.list' maybe chmod 0755 'apt/sources.list.d' maybe chmod 0644 'apt/sources.list.d/fbrehm.list' +maybe chmod 0644 'apt/sources.list.d/icinga.list' maybe chmod 0644 'apt/sources.list.d/salt.list' maybe chmod 0644 'apt/trusted.gpg' maybe chmod 0755 'apt/trusted.gpg.d' diff --git a/apt/sources.list.d/icinga.list b/apt/sources.list.d/icinga.list new file mode 100644 index 0000000..e4f5617 --- /dev/null +++ b/apt/sources.list.d/icinga.list @@ -0,0 +1,2 @@ +deb http://packages.icinga.com/debian icinga-stretch main +deb-src http://packages.icinga.com/debian icinga-stretch main diff --git a/apt/trusted.gpg b/apt/trusted.gpg index af016abf026dd978fdc0a8fb668215478e585d2e..96e7a47ddfafdeaa9638b81dd720b19683049cb2 100644 GIT binary patch delta 1211 zcmV;s1VsDFEc7+7N)~^a0ipy_ht5tB1OSp8!Uay(@Zp;cC;&9vXZg3fFR-PjOSv2| ziCzLHa;B(Gnn9q_m#vA53_XPYFz2ZVkw!N>5WtvOtEnk70j1=!O}^CLy@fXLFYT zpyKXG)fYvkSt<0BI=s_8R1yH0!2|zj>+M7au=_k<=#P@g1{}D5&3F#+E8H{;LM{gB z1~Hr$f-Ix(HcSFP*rADAsR3K_+JC*ameo45{-(OuS0f&FQ92E~8>InCUL#{hu__M|`RJYUse5>)yd-9k#W&G@=;TQSKI6_esH1O7Ul zczM($F%xfE%IviUf)2&(@40bQU7ssIrh1+1jB ztz#1%DeCR^Qu0D1N3^^qmH!AX9I3a${v6O>b^#bZ>HL zZf77ULUn0uWFT{8a&~2MDIh#)Zf0*lX=7<_XJIaHa%Vn>U<4Bp0stTd0#b+0P68VP z1`7!Y2Lpcs1Qh}Z0|XWV0|5da0Rk6*0162Z#^V{oG(iS}fg}K(7}s^XGOIYMhHPH| zr{6S|E-?HZ0HBimghE#&GXjx8w18088>q@}_zSQC00X%K4Fpn$&Q1^r0KEJol|({| z%=-Jdy3%?$pI)6c#Itvx6Y!|Brv0n*8I1+^{}_MP2Aq7TZ}7~vW43z1E>v$Y>uS#S zZE(*u^NqV^wNA}vRN(k8t9ea`7}ajwCM^+Czfm$r0utPUyuHXjed}Ecy&)mx6auY$jE*L4E-yeb}%jao*_l4Px|k33kq>C+clX;)wO5HMs1`jQ!`z zImLQb@T~PB{1@{@y_W~zva@>XLPMCuINF>}Rb`yHNT`Q><(>m0fED)u0|f{FOREY4 ziU;G{Lt(yg0rfHxo?Ci-IZrhSZF@9lxLl(Pu#EW$iD1K(hIqZ3ueSL5Sv3L05hSRrHi=UDp^lfMto9(n$DvaBpl zxf=|41o7tdN|qdeSLvhkZU)I^ojQN0)>Ih3H@Cm$ePv0I1gEBIoUTh)x$1wx z`70iUxA!omlEKiT{|i%X0Y09=Sk1Q-zl z00{*GQisk?0vikf3JDO#;~B#=K?XB|&X53`1r4DbvPu7Glu$vs#&iKorGM3FNH57Dp!00T0FE8+kE delta 7 OcmexjdP--5mlyyKO#?6h diff --git a/icinga2/conf.d/apt.conf b/icinga2/conf.d/apt.conf index b2c77a0..bdf2acc 100644 --- a/icinga2/conf.d/apt.conf +++ b/icinga2/conf.d/apt.conf @@ -2,6 +2,7 @@ apply Service "apt" { import "generic-service" check_command = "apt" + enable_notifications = false assign where host.name == NodeName } diff --git a/icinga2/conf.d/users.conf b/icinga2/conf.d/users.conf index aa31e27..4fd2ef5 100644 --- a/icinga2/conf.d/users.conf +++ b/icinga2/conf.d/users.conf @@ -10,6 +10,29 @@ object User "icingaadmin" { groups = [ "icingaadmins" ] email = "root@localhost" + enable_notifications = false +} + +object User "frank" { + import "generic-user" + + display_name = "Frank Brehm" + groups = [ "icingaadmins" ] + + email = "frank@brehm-online.com" +} + +object User "frank_by_gmx" { + import "generic-user" + + display_name = "Frank Brehm by GMX" + groups = [ "emergency_admins" ] + + email = "frank.brehm@gmx.net" +} + +object UserGroup "emergency_admins" { + display_name = "Admins Group for Eemergency" } object UserGroup "icingaadmins" { -- 2.39.5