Commit Graph

510 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 8b4b0eeb9e Specify `dnsmasq` to check `consul` dns and the upper DNSs. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 705432e244 Deploy `sshd_config` for Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 05d7215f76 Use `timedatectl` when Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 3b45ffb703 Modify the OS version to install kernel extra package. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 12aabfb6c0 Do NOT deploy `perpare-commit-msg`. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 4b911ce98a Do NOT install `ntp` to Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 4a9e3d6286 Delete `fluentd` cookbook. 2020-10-13 21:12:39 +09:00
Kazuhiro MUSASHI 6706b9d4b1 Delete `monit` cookbook. 2020-10-13 21:12:27 +09:00
Kazuhiro MUSASHI 979323acc6 Merge branch 'divide-prometheus-cookbook' of kazu634/itamae into master 2020-10-13 18:02:09 +09:00
Kazuhiro MUSASHI 8dc77210ac Create `base` role and `prometheus` role. 2020-10-13 17:53:49 +09:00
Kazuhiro MUSASHI 057b7fa979 Create dedicated cookbook for `Prometheus` exporters. 2020-10-13 17:53:33 +09:00
Kazuhiro MUSASHI d5ad34ac82 Create `prometheus` dedicated cookbook. 2020-10-13 17:53:16 +09:00
Kazuhiro MUSASHI 7dc0c81081 Merge branch 'loki' of kazu634/itamae into master 2020-10-12 23:30:19 +09:00
Kazuhiro MUSASHI 80175d609c Change `Loki` endpoint to `loki.service.consul:3100`. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI e8c01fc6ed Deploy `Consul` config for `Loki`. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI f2c3a5557d Deploy `systemd` config for `promtail-loki`. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI 0a9b4983d0 Deploy `promtail` config for `Loki`. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI b95f7a0383 Deploy `logrotated` config for `Loki`. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI 9aa481fa56 Deploy `rsyslog` config for `loki` logs. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI d6c76791b6 Deploy `systemd` config for `Loki`. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI 49869c48fa Deploy `Loki` config. 2020-10-12 23:27:58 +09:00
Kazuhiro MUSASHI e0c58066ec Install & Setup `Loki`. 2020-10-12 23:23:03 +09:00
Kazuhiro MUSASHI 65fd0bb831 Merge branch 'modify-sudo-log-monitoring' of kazu634/itamae into master 2020-10-12 14:05:56 +09:00
Kazuhiro MUSASHI 6b7b0a0844 Modify `promtail` config for `sudo` logs. 2020-10-12 14:03:03 +09:00
Kazuhiro MUSASHI 57d21b0a40 Merge branch 'modify-context-switch-threashold' of kazu634/itamae into master 2020-09-28 01:00:30 +09:00
Kazuhiro MUSASHI 990cf44393 Change threashold from 100 to 4000. 2020-09-28 00:59:43 +09:00
Kazuhiro MUSASHI 3b09f0a74f Change threashold from 100 to 4000. 2020-09-28 00:56:09 +09:00
Kazuhiro MUSASHI b79d7ca578 Merge branch 'modify-prometheus-exporter-service-name' of kazu634/itamae into master 2020-09-28 00:22:20 +09:00
Kazuhiro MUSASHI b814e759af Modify the service name. 2020-09-28 00:21:15 +09:00
Kazuhiro MUSASHI 9392614652 Merge branch 'modify-promehtues-node-exporter-alerts' of kazu634/itamae into master 2020-09-27 18:23:37 +09:00
Kazuhiro MUSASHI 40a8fc29cc Change `"` to `'`. 2020-09-27 18:21:46 +09:00
Kazuhiro MUSASHI 87f9f3197c Merge branch 'install-filestat_exporter' of kazu634/itamae into master 2020-09-27 18:20:32 +09:00
Kazuhiro MUSASHI 7dea0e4f4e Collect `filestat_exporter` metrics. 2020-09-27 18:18:34 +09:00
Kazuhiro MUSASHI 4e47ebfa6f Deploy `filestat_exporter`. 2020-09-27 18:11:58 +09:00
Kazuhiro MUSASHI 839e1449d4 Deploy `exporter_proxy` config under `/etc/prometheus_exporters.d/exporter_proxy`. 2020-09-27 18:11:57 +09:00
Kazuhiro MUSASHI ec906dae58 Create `/etc/prometheus_exporters.d`. 2020-09-27 18:11:57 +09:00
Kazuhiro MUSASHI b607d9f107 Merge branch 'modify-prometheus-alerts' of kazu634/itamae into master 2020-09-27 13:03:50 +09:00
Kazuhiro MUSASHI 673b30eeb2 Modify `Prometheus` alert settings. 2020-09-27 13:01:44 +09:00
Kazuhiro MUSASHI c9fcead1ec Merge branch 'collect-grafana-metrics' of kazu634/itamae into master 2020-09-27 00:27:01 +09:00
Kazuhiro MUSASHI e8d8ceeacb Deploy the `consul` config for `Grafana`. 2020-09-27 00:23:47 +09:00
Kazuhiro MUSASHI 06438d0dc2 Collect the metrics from `grafana`. 2020-09-27 00:22:50 +09:00
Kazuhiro MUSASHI 22e78ccc93 Merge branch 'delete-consul-template' of kazu634/itamae into master 2020-09-26 17:28:11 +09:00
Kazuhiro MUSASHI 7eede61bc2 Delete `consul-template` dependencies. 2020-09-26 17:28:10 +09:00
Kazuhiro MUSASHI 7c6502e24f Merge branch 'ignore-already-banned-message' of kazu634/itamae into master 2020-09-26 17:23:05 +09:00
Kazuhiro MUSASHI 6b2a5bdf07 Add monitoring condition for the logs containing "already banned". 2020-09-26 17:23:05 +09:00
Kazuhiro MUSASHI 4ca2676d47 Merge branch 'ignore-already-banned-message' of kazu634/itamae into master 2020-09-26 17:08:57 +09:00
Kazuhiro MUSASHI 9bf98f1d20 Ignore `already banned` message. 2020-09-26 17:08:05 +09:00
Kazuhiro MUSASHI 3180a21533 Merge branch 'delete-prometheus-target-static-file' of kazu634/itamae into master 2020-09-26 17:05:29 +09:00
Kazuhiro MUSASHI 9a5d2d0178 Delete `Prometheus` static target file. 2020-09-26 17:02:51 +09:00
Kazuhiro MUSASHI 81cfec10d9 Merge branch 'hotfix-for-nf-conntrack' of kazu634/itamae into master 2020-09-26 16:59:59 +09:00