Kazuhiro MUSASHI
|
1b6b3bb0a5
|
Set up `vector` for `syslog`.
|
2020-10-31 16:53:32 +09:00 |
Kazuhiro MUSASHI
|
9d1d6018bd
|
Install `vector`.
|
2020-10-31 16:51:38 +09:00 |
Kazuhiro MUSASHI
|
5aa3589d56
|
Modify the service name to be restarted.
|
2020-10-25 15:44:04 +09:00 |
Kazuhiro MUSASHI
|
3a6930fb0d
|
Modify indent.
|
2020-10-25 00:38:49 +09:00 |
Kazuhiro MUSASHI
|
3c6931f86f
|
Monitor all the config files under `/etc/prometheus.d/alerts`.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
291e369aba
|
Add alert settings for router.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
f9f795e234
|
Add `Prometheus` config to scrape Router.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
eb9b904f4f
|
Monitor `synology` NAS.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
3aa5a8bb09
|
Deploy the `systemd` config for monitoring `snmp_exporter` logs.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
5a32a4bcec
|
Deploy `promtail` config for `snmp_exporter`.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
a5b6dbd529
|
Deploy `consul config for `snmp_exporter`.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
ace020419f
|
Deploy config file and `supervisord` config.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
3f9edd9731
|
Setup `snmp_exporter`.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
1f31f1314a
|
Install `snmp_exporter`.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
2fccf62e20
|
Specify attributes for `snmp_exporter`.
|
2020-10-25 00:32:55 +09:00 |
Kazuhiro MUSASHI
|
1a530ed7de
|
Modify monitoring condition for Kernel differences.
|
2020-10-24 13:09:05 +09:00 |
Kazuhiro MUSASHI
|
47a854653e
|
Change monitoring condition for Context Switch.
|
2020-10-24 13:08:30 +09:00 |
Kazuhiro MUSASHI
|
c6531b06a0
|
Monitor `apt-mirror` update status.
|
2020-10-24 13:07:54 +09:00 |
Kazuhiro MUSASHI
|
635542ad3e
|
Monitor `apt-mirror` update status.
|
2020-10-24 12:56:43 +09:00 |
Kazuhiro MUSASHI
|
98b7a4ce42
|
Modify `promtail` config for `digdag`.
|
2020-10-24 12:44:17 +09:00 |
Kazuhiro MUSASHI
|
06f5f13ca5
|
Healthcheck for `Grafana`.
|
2020-10-24 12:30:38 +09:00 |
Kazuhiro MUSASHI
|
25a17917f5
|
Healthcheck for `Loki`.
|
2020-10-24 12:30:26 +09:00 |
Kazuhiro MUSASHI
|
654a98b3ce
|
Healthcheck for `prometheus`.
|
2020-10-24 12:30:17 +09:00 |
Kazuhiro MUSASHI
|
6315dc759e
|
Healthcheck for `consul`.
|
2020-10-24 12:30:05 +09:00 |
Kazuhiro MUSASHI
|
ccc4f90bac
|
Healthcheck for `node_exporter`.
|
2020-10-17 13:59:53 +09:00 |
Kazuhiro MUSASHI
|
147e1bc643
|
Healthcheck for `filestat_exporter`.
|
2020-10-17 13:59:00 +09:00 |
Kazuhiro MUSASHI
|
018890d7e1
|
Use `unattended-upgrade`, instead of `cron-apt`.
|
2020-10-13 21:18:37 +09:00 |
Kazuhiro MUSASHI
|
601d814d5d
|
Modify `Nginx` cookbook.
|
2020-10-13 21:18:37 +09:00 |
Kazuhiro MUSASHI
|
94420844b0
|
Modify `/etc/fstab` settings and misc setting.
|
2020-10-13 21:18:37 +09:00 |
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
|
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
|
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
|
6b7b0a0844
|
Modify `promtail` config for `sudo` logs.
|
2020-10-12 14:03:03 +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
|
b814e759af
|
Modify the service name.
|
2020-09-28 00:21:15 +09:00 |
Kazuhiro MUSASHI
|
40a8fc29cc
|
Change `"` to `'`.
|
2020-09-27 18:21:46 +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
|
673b30eeb2
|
Modify `Prometheus` alert settings.
|
2020-09-27 13:01:44 +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
|
6b2a5bdf07
|
Add monitoring condition for the logs containing "already banned".
|
2020-09-26 17:23:05 +09:00 |
Kazuhiro MUSASHI
|
9bf98f1d20
|
Ignore `already banned` message.
|
2020-09-26 17:08:05 +09:00 |
Kazuhiro MUSASHI
|
9a5d2d0178
|
Delete `Prometheus` static target file.
|
2020-09-26 17:02:51 +09:00 |
Kazuhiro MUSASHI
|
f1c09b8ae9
|
Change the severity of `nf_conntrack` message.
|
2020-09-26 16:56:15 +09:00 |
Kazuhiro MUSASHI
|
47c2f7784a
|
Modify the kernel parameter to adjust the timeout for nf_conntrack.
|
2020-09-26 16:53:26 +09:00 |
Kazuhiro MUSASHI
|
95ac2f5841
|
Delete `check-reboot-required`.
|
2020-09-23 23:52:40 +09:00 |
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
|
bfbf20e80f
|
Change `level` and the regular expression.
|
2020-09-23 00:02:33 +09:00 |
Kazuhiro MUSASHI
|
ae827106cf
|
Ignore `apt` and `Temporary Directories`.
|
2020-09-22 23:54:33 +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
|
34d38f63e2
|
Modify `promtail` config for `ssh`.
|
2020-09-22 00:54:28 +09:00 |
Kazuhiro MUSASHI
|
39a4b22867
|
Change level when executing `itamae`.
|
2020-09-21 00:25:47 +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
|
5cf6f09a03
|
Add `promtail` config to monitor `consul`.
|
2020-09-20 15:39:31 +09:00 |
Kazuhiro MUSASHI
|
9e91a66819
|
Monitor systemd journal.
|
2020-09-20 13:13:41 +09:00 |
Kazuhiro MUSASHI
|
909ae01260
|
Deploy `promtail` config for `promtail`.
|
2020-09-19 01:19:21 +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
|
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
|
6ec9cb5539
|
Deploy `supervisord` config for `alertmanager`.
|
2020-09-12 15:52:56 +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
|
335ffa11c8
|
Deploy `promtail` & `systemd` configs.
|
2020-09-07 23:06:06 +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
|
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
|
3f6df758e2
|
Install `direnv`.
|
2020-08-09 15:41:13 +09:00 |
Kazuhiro MUSASHI
|
c969038bdc
|
Deploy the alert settings.
|
2020-07-19 01:07:00 +09:00 |
Kazuhiro MUSASHI
|
b4be40871c
|
Add federation settings.
|
2020-07-18 20:22:56 +09:00 |