Commit Graph

455 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 70e78a2af0 Use `consul` service discovery to register `prometheus` monitoring. 2020-09-23 23:40:12 +09:00
Kazuhiro MUSASHI c13954bfc9 Delete `consul-template`. 2020-09-23 23:39:13 +09:00
Kazuhiro MUSASHI 40e1b4005e Merge branch 'promtail-consul-modify' of kazu634/itamae into master 2020-09-23 00:03:59 +09:00
Kazuhiro MUSASHI bfbf20e80f Change `level` and the regular expression. 2020-09-23 00:02:33 +09:00
Kazuhiro MUSASHI a5b9a41124 Merge branch 'promtail-init-modify' of kazu634/itamae into master 2020-09-22 23:56:24 +09:00
Kazuhiro MUSASHI ae827106cf Ignore `apt` and `Temporary Directories`. 2020-09-22 23:54:33 +09:00
Kazuhiro MUSASHI ffffb05627 Merge branch 'consul-reboot-check-fix' of kazu634/itamae into master 2020-09-22 23:48:28 +09:00
Kazuhiro MUSASHI 7ba084b71f Use `/usr/local/bin/check_file`. 2020-09-22 23:46:14 +09:00
Kazuhiro MUSASHI 3c634b7dc3 Deploy `check_file_ script. 2020-09-22 23:46:13 +09:00
Kazuhiro MUSASHI af970c80a7 Merge branch 'promtail-ssh-modify' of kazu634/itamae into master 2020-09-22 00:58:36 +09:00
Kazuhiro MUSASHI 34d38f63e2 Modify `promtail` config for `ssh`. 2020-09-22 00:54:28 +09:00
Kazuhiro MUSASHI 3b6bc203c1 Merge branch 'promtail-sudo-modify' of kazu634/itamae into master 2020-09-21 00:27:23 +09:00
Kazuhiro MUSASHI 39a4b22867 Change level when executing `itamae`. 2020-09-21 00:25:47 +09:00
Kazuhiro MUSASHI b1ea22a262 Merge branch 'promtail-journal-modify' of kazu634/itamae into master 2020-09-21 00:24:13 +09:00
Kazuhiro MUSASHI 0d3d8fe800 Modify `promtail` config for `systemd`. 2020-09-21 00:21:50 +09:00
Kazuhiro MUSASHI 81822f12d3 Modify `promtail` config for `init` journal. 2020-09-21 00:21:28 +09:00
Kazuhiro MUSASHI 6cabd89504 Merge branch 'promtail-consul' of kazu634/itamae into master 2020-09-21 00:17:11 +09:00
Kazuhiro MUSASHI 5cf6f09a03 Add `promtail` config to monitor `consul`. 2020-09-20 15:39:31 +09:00
Kazuhiro MUSASHI e0668afe05 Merge branch 'promtail-systemd-journal' of kazu634/itamae into master 2020-09-20 13:50:46 +09:00
Kazuhiro MUSASHI 9e91a66819 Monitor systemd journal. 2020-09-20 13:13:41 +09:00
Kazuhiro MUSASHI 21012e2d5b Merge branch 'promtail-prometheus' of kazu634/itamae into master 2020-09-19 01:21:56 +09:00
Kazuhiro MUSASHI 909ae01260 Deploy `promtail` config for `promtail`. 2020-09-19 01:19:21 +09:00
Kazuhiro MUSASHI 19fcefcd6a Merge branch 'promtail-base-modify' of kazu634/itamae into master 2020-09-14 01:13:56 +09:00
Kazuhiro MUSASHI 18f41794c3 Restart `promtail-base` service. 2020-09-14 01:11:52 +09:00
Kazuhiro MUSASHI c37124a212 Modify the base configuration for `promtail`. 2020-09-14 01:11:29 +09:00
Kazuhiro MUSASHI 2efe201394 Merge branch 'alertmanager-webhook' of kazu634/itamae into master 2020-09-14 00:23:36 +09:00
Kazuhiro MUSASHI 90c954a1a2 Modify `alertmanager` config to send alerts to webhook. 2020-09-14 00:14:13 +09:00
Kazuhiro MUSASHI d27b979ab0 Deploy `supervisord` config for `alertmanager-webhook-logger`. 2020-09-14 00:14:13 +09:00
Kazuhiro MUSASHI 1f08c9a784 Specify attributes for `alertmanager-webhook-logger` 2020-09-14 00:10:16 +09:00
Kazuhiro MUSASHI d463a2691d Install `alertmanager-webhook-logger`. 2020-09-14 00:10:16 +09:00
Kazuhiro MUSASHI d16d6e46d9 Merge branch 'alertmanager-supervisord' of kazu634/itamae into master 2020-09-12 15:55:11 +09:00
Kazuhiro MUSASHI 6ec9cb5539 Deploy `supervisord` config for `alertmanager`. 2020-09-12 15:52:56 +09:00
Kazuhiro MUSASHI 7d4efdd8e7 Merge branch 'promtail-nginx' of kazu634/itamae into master 2020-09-11 02:05:36 +09:00
Kazuhiro MUSASHI f621f97e75 `promtail` config for `nginx`. 2020-09-11 02:02:07 +09:00
Kazuhiro MUSASHI 110f8ae8bc `systemd` config for `prmtail` nginx. 2020-09-11 02:01:47 +09:00
Kazuhiro MUSASHI c599fccc2b Deploy `promtail` config & `systemd` config. 2020-09-11 01:59:50 +09:00
Kazuhiro MUSASHI 8485309442 Merge branch 'promtail-gitea' of kazu634/itamae into master 2020-09-07 23:08:23 +09:00
Kazuhiro MUSASHI 335ffa11c8 Deploy `promtail` & `systemd` configs. 2020-09-07 23:06:06 +09:00
Kazuhiro MUSASHI d5248604a2 Merge branch 'promtail' of kazu634/itamae into master 2020-09-07 22:17:15 +09:00
Kazuhiro MUSASHI 9841ff26e8 Instead, deploy `promtail` cookbook. 2020-09-07 22:17:14 +09:00
Kazuhiro MUSASHI 211bbe79c7 Unregister `fluentd` cookbook. 2020-09-07 22:17:14 +09:00
Kazuhiro MUSASHI e750ac0ce9 Set up `promtail`:
- Deploy `systemd` config file
- Deploy `promtail` basic config file
- Deploy `rsyslog` config file
- Deploy `logrotated` config file
2020-09-07 22:17:13 +09:00
Kazuhiro MUSASHI 872382df1d Install `promtail`. 2020-09-07 22:17:13 +09:00
Kazuhiro MUSASHI ee975266e0 Specify the cookbook-specific attiributes. 2020-09-07 22:17:13 +09:00
Kazuhiro MUSASHI 8931d6709c Create the entrypoint .rb. 2020-09-07 22:17:13 +09:00
Kazuhiro MUSASHI 2a351a564d Merge branch 'nginx-accumulated-changes' of kazu634/itamae into master 2020-09-07 00:54:47 +09:00
Kazuhiro MUSASHI 7e3f6eba3d Add `gzip` settings. 2020-09-07 00:52:39 +09:00
Kazuhiro MUSASHI 2de591be19 Update `cron` settings. 2020-09-06 13:28:02 +09:00
Kazuhiro MUSASHI 860ea17d05 Force link to `/opt/lego/lego`. 2020-09-06 13:27:35 +09:00
Kazuhiro MUSASHI cf0a13d43a Merge branch 'direnv-install' of kazu634/itamae into master 2020-08-09 15:47:11 +09:00