Commit graph

73 commits

Author SHA1 Message Date
Samuel Clay
bb1b32f9bd Following best practices for resource management in an attempt to find the mongo db monitor memory leak (that led to today's brief downtime) 2025-04-10 22:45:57 -07:00
Samuel Clay
148abed4a9 ES no longer allows positional arguments. 2024-12-24 22:44:55 -05:00
Samuel Clay
e55e6c3bd5 Fixing monitor to use new venv. 2024-12-24 22:43:01 -05:00
Samuel Clay
6c5aed53eb Db monitor for ES needs to point to the correct server. 2024-12-24 22:24:53 -05:00
Samuel Clay
7a9894e31b Db monitor for ES needs to point to the correct server. 2024-12-24 22:23:50 -05:00
Samuel Clay
d1dafe7606 Black formatting. 2024-04-24 09:43:56 -04:00
Samuel Clay
9c15c1ac60 New consul node name for mongo analytics db. 2024-02-25 15:56:36 -05:00
Samuel Clay
16768216c1 Updating db monitor redis ports. 2024-02-11 13:59:18 -05:00
Samuel Clay
2f7beac8a7 Redis dbs now moved to their own port. 2024-02-11 13:36:38 -05:00
Samuel Clay
ded1bec96e Secondary redis is now port separated. 2024-02-11 08:46:09 -05:00
Samuel Clay
4d9b0161e7 Correcting redis db monitor db numbers. 2024-01-26 08:43:01 -05:00
Samuel Clay
eaadf21b83 Fixing mongo and redis db monitor. 2024-01-26 08:39:36 -05:00
Samuel Clay
1065c964fd Fixing elasticsearch to allow consul to assume its OK. 2022-12-26 19:17:14 -05:00
Samuel Clay
472fcda770 Locking consul to a working version. Also changing flask status code response to handle custom status codes. 2022-02-04 13:01:18 -05:00
Samuel Clay
7d6a261b73 Flask transactions are way too often. 2022-01-01 22:14:16 -05:00
Samuel Clay
d2100e02f9 Mongo analytics monitor not reayd yet 2021-12-15 09:21:51 -05:00
Samuel Clay
7671025d9c Turning consul monitor back on. 2021-12-15 09:20:09 -05:00
Samuel Clay
0d9297ced3 Turning on analytics 2021-12-15 09:14:21 -05:00
Samuel Clay
ec33dfab48 Separating consul from haproxy health checks. Consul doesn't care what the status of the service is so long as it's reachable. Don't take out bad nodes, let the software do that. 2021-12-06 15:12:12 -05:00
Samuel Clay
2a8f8678dc Splitting not master error and server selection timeout in mongo monitor. 2021-10-19 11:15:47 -04:00
Samuel Clay
e86967bfba Don't check consul vs haproxy. Let consul be the exception adn the default being a full test. 2021-10-19 11:08:46 -04:00
Jonathan Math
dd13af5bf1 add querystring logic to mongo db health check to accommodate consul vs haproxy checking 2021-10-11 11:11:42 -05:00
Samuel Clay
a7fded7e8c Bootstrapping issue with mongo. 2021-09-30 18:19:12 -04:00
Samuel Clay
9ae6730f76 Bootstrapping issue with mongo. 2021-09-30 18:17:46 -04:00
Samuel Clay
443bf9c5f5 Can't use hostname, monitor needs container name. 2021-08-13 12:22:04 -04:00
Samuel Clay
84feed0011 Using localhost 2021-08-11 19:17:51 -04:00
Samuel Clay
9258f5e112 Updating db monitor for elasticsearch 7 2021-08-11 19:13:23 -04:00
Samuel Clay
af390d5fd1 Adding elasticsearch to py3, upgrading monitor, need to fix boto -> boto3. 2021-08-04 18:42:58 -04:00
Samuel Clay
4a81611b01 Mongo analytics is its own server, with authentication. 2021-08-03 19:43:27 -04:00
Samuel Clay
bc69e859eb Adding mongo analytics flask db monitor. 2021-08-03 19:10:20 -04:00
Samuel Clay
de4098e023 Moving to SERVER_NAME for monitor as network mode is host. 2021-07-24 09:55:52 -04:00
Samuel Clay
fedbf08ae8 Pull out old mongos. 2021-07-24 09:38:29 -04:00
Samuel Clay
1974597cca Ignore optime 2021-07-24 09:15:49 -04:00
Samuel Clay
03e8117c06 Old optimes on mongo are OK for monitor. 2021-07-24 09:13:48 -04:00
Samuel Clay
f916862bb2 Auth errors should raise exceptions. 2021-07-23 14:46:28 -04:00
Samuel Clay
df050acb8e Don't disregard authentication error 2021-07-21 21:27:56 -04:00
Samuel Clay
1ac16508f8 Changing how mongo is registered on consul. Now allows members before they are part of the replica set. 2021-07-21 21:10:02 -04:00
Samuel Clay
5eea1c6b76 Mongo optime format namespaced under 'ts'. 2021-07-14 21:45:12 -04:00
Samuel Clay
a78e21de90 Capturing mongo internal IP for use with db monitor. 2021-07-14 21:37:49 -04:00
Samuel Clay
6876005b6e Mongo changed the optime date format. 2021-07-14 20:48:48 -04:00
Samuel Clay
47a8173e39 Flask requires a string 2021-07-14 20:20:27 -04:00
Samuel Clay
3399ead66f Faking mongo monitor to get the site up 2021-07-14 20:19:35 -04:00
Samuel Clay
4c68df53e0 Mongodb monitor auth 2021-07-14 20:17:46 -04:00
Samuel Clay
f36276d099 Typo on mongo auth. 2021-07-14 20:15:33 -04:00
Samuel Clay
00a24984c8 Disabling most mongo checks due to protocol change. 2021-07-14 20:13:26 -04:00
Samuel Clay
4458994e1c Using admin auth source for mongodb. 2021-07-12 22:01:07 -04:00
Samuel Clay
4dd3bafbfb Adding authSource to mongodb auth 2021-07-12 21:53:16 -04:00
Samuel Clay
0754c0c049 Adding authentication for mongo. Hopefully this covers everything needed. 2021-07-12 11:45:25 -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