@cryptotaxi247 / infra / commits / 92620f5c

More zabbix removal

Eelco Dolstra committed Jul 27, 2017 at 12:50 UTC 92620f5c9134d69a096faca422a3310702e2adf6
2 files changed -7
delft/megacli.nix
-6
@@ -6,10 +6,4 @@
6 ''
7 zabbix ALL=(ALL) NOPASSWD: ${pkgs.megacli}/bin/MegaCli64
8 '';
9 -
10 - services.zabbixAgent.extraConfig =
11 - ''
12 - UserParameter=megaraid[*],/var/setuid-wrappers/sudo ${pkgs.megacli}/bin/MegaCli64 -pdInfo -PhysDrv[$2:$3] -a$1 | grep '$4' | cut -f2 -d':' | cut -b2-
13 - UserParameter=megaraid.degraded,/var/setuid-wrappers/sudo ${pkgs.megacli}/bin/MegaCli64 -AdpAllInfo -aAll -NoLog | grep -A 2 'Virtual Drives' | grep Degraded | ${pkgs.gawk}/bin/awk '/Degraded/ {TOTAL += $3} END {print TOTAL}'
14 - '';
9 }
delft/webroot/robots.txt
-1
@@ -4,4 +4,3 @@ Disallow: /viewvc
4 Disallow: /repos
5 Disallow: /repos-xml
6 Disallow: /svnweb
7 -Disallow: /zabbix