Commit graph

317 commits

Author SHA1 Message Date
Samuel Clay
deadb36c92 Adding metrics tag to all nodeexporter/prometheus/grafana roles. 2021-05-21 12:02:07 -04:00
Jonathan Math
aa8c17e011 get grafana provisioning to work for NewsBlur dashboard 2021-05-21 10:49:17 -04:00
Jonathan Math
821e7661fd make prometheus reachable by grafana 2021-05-21 10:30:45 -04:00
Jonathan Math
f253a0e0f7 add grafana_password to ansible from secrets file 2021-05-21 10:29:39 -04:00
Samuel Clay
0d182059f3 Fixing monitor to not use env vars for hostname. 2021-05-19 23:05:31 -04:00
Samuel Clay
22cc6de301 Switching from LOCAL_HOST to named server for monitor. 2021-05-19 23:01:12 -04:00
Samuel Clay
49d84af67c Updating monitor to use new elasticsearch. 2021-05-19 22:40:45 -04:00
Samuel Clay
a63b4097a3 Fixing nginx on staging to expose proper ports. 2021-05-19 22:03:53 -04:00
Samuel Clay
4fce6831d1 Monitor also goes off host network mode. 2021-05-19 17:32:08 -04:00
Samuel Clay
48c894d8ce Did not mean to archive monitor. 2021-05-19 17:30:06 -04:00
Samuel Clay
82fddd415f Switching from network_mode host to using a docker network. This gets us off host networking and to defined ports. The docker network connects the container's dns resolver to the machine's dnsmasq, which is used for consul. 2021-05-19 17:26:47 -04:00
Samuel Clay
af734dbb2c Moving port 80 and 443 to haproxy and nginx roles. 2021-05-19 12:14:31 -04:00
Jonathan Math
f10a7a203d fix syntax for prometheus role 2021-05-19 11:19:23 -04:00
Jonathan Math
e08678b613 WIP attempting to get node exporter talking to prometheus but it doesn't work 2021-05-18 12:11:20 -04:00
Jonathan Math
dd92ae114a Merge branch 'dashboard3' of https://github.com/samuelclay/NewsBlur into dashboard3 2021-05-18 11:47:16 -04:00
Jonathan Math
fc73b84191 register prometheus with consul 2021-05-18 10:15:28 -04:00
Jonathan Math
bcc195dfa2 register node-exporter properly with consul 2021-05-18 10:14:45 -04:00
Samuel Clay
2e5ca80b56 Removing unused ansible-consul role. 2021-05-18 10:14:24 -04:00
Jonathan Math
e698fb03f8 fix up prometheus and try to get grafana/prometheus working in ansible (Work in progress) 2021-05-17 15:14:19 -04:00
Samuel Clay
b1680f9e49 Adding db-metrics server. 2021-05-17 11:30:09 -04:00
Jonathan Math
6da0450fc3 add node-exporter to setup_ .yml files 2021-05-17 10:09:50 -04:00
Jonathan Math
e52d1d5ebc register node-exporter to consul 2021-05-17 10:05:15 -04:00
Jonathan Math
a9219030e0 edit prometheus.consul.yml.j2, add consul sd configs, and add node-exporter consul service 2021-05-17 10:04:16 -04:00
Samuel Clay
d0f03779b3 Fixing sharing story issue with scrubbing encoding. 2021-05-14 20:52:28 -04:00
Samuel Clay
6a559e0f3f HAProxy now does a graceful reload. Cleaning up ansible. Splitting out firewall into ufw role. 2021-05-14 18:40:43 -04:00
Samuel Clay
22605d07cc Changing hostname on early task machines. 2021-05-14 12:29:47 -04:00
Samuel Clay
62a6f664e1 Maintenance mode was easier to write than I thought. 2021-05-13 19:53:34 -04:00
Samuel Clay
13fd328cfd Reloading DNSMasq when updating /etc/hosts. 2021-05-13 10:43:33 -04:00
Samuel Clay
2f602a8d85 Removing consul health check for web, lowering workers. 2021-05-12 17:07:37 -04:00
Samuel Clay
54e4914804 Adding 3 consul servers. 2021-05-12 15:41:17 -04:00
Samuel Clay
d19f062b2a Don't know why ansible keeps running a never tag 2021-05-11 17:14:53 -04:00
Samuel Clay
4efa1319a1 Mongo secondaries are on the primary consul. 2021-05-11 17:11:51 -04:00
Samuel Clay
9b624acb0a Syslog doesn't work, switching back to mongod.log. 2021-05-11 16:55:59 -04:00
Samuel Clay
eceff3bedb Mongodb uses syslog 2021-05-11 16:27:25 -04:00
Samuel Clay
b48b5df9b3 Security auth 2021-05-11 15:57:13 -04:00
Samuel Clay
4d87b88022 Cleaning up mongo 2021-05-10 19:11:24 -04:00
Samuel Clay
ac63b83a82 Setting mongo syslog location 2021-05-10 18:46:02 -04:00
Samuel Clay
d414de2f80 Removing mongo syslog. 2021-05-10 18:43:52 -04:00
Samuel Clay
c2c79f4034 Mongodb 3.6 config file format. 2021-05-10 18:30:54 -04:00
Samuel Clay
679e70a2b7 Adding mongodb conf. 2021-05-10 18:20:54 -04:00
Samuel Clay
72d8f07cf8 Adding db mongo secondary 2021-05-10 18:08:04 -04:00
Samuel Clay
8d4c9a207c Fixing benchmark to spit out clean results 2021-05-10 14:49:45 -04:00
Samuel Clay
1b3b42648f Adding benchmarking and volumes for spinning up new mongo clusters. 2021-05-10 13:58:43 -04:00
Jonathan Math
a536ea2996 add smtp configuration to grafana in ansible 2021-05-07 11:52:01 -05:00
Jonathan Math
ce92890bfd add alertmanager role to ansible 2021-05-07 10:00:58 -05:00
Jonathan Math
85eb6a4fd5 merge recent changes 2021-05-07 09:59:35 -05:00
Samuel Clay
c5304327d1 Stubbing in grafana vars. 2021-05-04 11:41:40 -04:00
Jonathan Math
b5793f5a43 add default for ansible grafana dashboard password variable 2021-05-04 09:07:15 -05:00
Jonathan Math
9c146f7c67 add datasource and dashboard provisioning in ansible 2021-05-04 08:24:33 -05:00
Jonathan Math
d513eb48c8 update ansible for prometheus to use config file 2021-05-03 09:28:09 -05:00