Girish Ramakrishnan
36f7e573a8
change base image version
2016-08-21 21:03:15 -07:00
Girish Ramakrishnan
03022f0207
Do not send more than 1 oom mail every hour
2016-07-25 14:19:20 -07:00
Girish Ramakrishnan
338f4bcdea
docker event stream can be null if it errored
2016-07-25 11:39:32 -07:00
Girish Ramakrishnan
e46b1a9245
test for app instead of error
2016-07-25 11:37:30 -07:00
Girish Ramakrishnan
814a0ce3a6
wait for 10mins before sending out emails about app being down
2016-06-11 18:36:38 -07:00
Girish Ramakrishnan
d87b7dcb75
fix typo
2016-04-20 12:56:35 -07:00
Johannes Zellner
17deac756b
Also log app manifest id for alive apps
2016-03-03 09:30:46 +01:00
Johannes Zellner
f7bb3bac98
Log app manifest id in healthmonitor
2016-03-03 09:30:46 +01:00
Johannes Zellner
9ddd3aeb07
Show app id and fix naked domain in debugApp()
2016-02-18 12:51:25 +01:00
Johannes Zellner
9bf1fe3b7d
Show naked_domain for healthtask summary
2016-02-14 17:42:52 +01:00
girish@cloudron.io
fa871c7ada
some apache configs require Host header to be set
2016-02-03 20:18:59 -08:00
Girish Ramakrishnan
aa34850d4e
fix typo
2015-12-15 12:52:41 -08:00
Girish Ramakrishnan
a4ea693c3c
update superagent
...
the latest superchanged changed the meaning of 'error'. Previously,
error implied a network error. With the latest superagent, error means
a REST api error i.e 4xx, 5xx are flagged as errors.
error && !error.response means network error
2015-12-15 09:53:37 -08:00
Johannes Zellner
d89db24bfc
Fix indentantion
2015-11-13 09:30:33 +01:00
Girish Ramakrishnan
0cef3e1090
do not trust the health state blindly
2015-11-12 16:16:05 -08:00
Girish Ramakrishnan
7f8ad917d9
filter out non-healthy apps
2015-11-12 16:04:33 -08:00
Girish Ramakrishnan
36daf86ea2
send mail even if no related app was found (for addons)
2015-11-10 01:39:02 -08:00
Girish Ramakrishnan
2428000262
Add square bracket for empty string/no apps
2015-10-29 13:07:52 -07:00
Johannes Zellner
8cff4f4ff1
Only print an app alive digest
2015-10-29 19:54:20 +01:00
Johannes Zellner
ee498b9e2b
A readable stream does not have .end()
2015-10-21 17:25:14 +02:00
Girish Ramakrishnan
6671b211e0
export a connection property from docker.js
2015-10-19 11:24:21 -07:00
Girish Ramakrishnan
4a887336bc
Do not send app down mails for dev mode apps
...
Fixes #501
2015-10-07 18:46:48 -07:00
Girish Ramakrishnan
72788fdb11
add note on how to test the oom
2015-09-14 17:20:30 -07:00
Girish Ramakrishnan
435afec13c
Print OOM context
2015-09-14 17:18:11 -07:00
Girish Ramakrishnan
2cb1877669
Do not reconnect for now
2015-09-14 17:10:49 -07:00
Girish Ramakrishnan
991f37fe05
Provide app information if possible
2015-09-14 17:06:04 -07:00
Girish Ramakrishnan
cdcc4dfda8
Get notification on app oom
...
currently, oom events arrive a little late :
https://github.com/docker/docker/issues/16074
fixes #489
2015-09-14 16:51:32 -07:00
Girish Ramakrishnan
2eaba686fb
apphealthmonitor.js is not executable
2015-09-14 16:51:32 -07:00
Girish Ramakrishnan
236032b4a6
Remove supererror setup in oauthproxy and apphealthmonitor
2015-09-14 16:49:10 -07:00
Girish Ramakrishnan
ea47c26d3f
apphealthmonitor is not a executable anymore
2015-09-14 11:09:58 -07:00
Girish Ramakrishnan
cdeb830706
Add apphealthmonitor.stop
2015-09-14 11:02:06 -07:00
Girish Ramakrishnan
1cd9d07d8c
Merge apphealthtask into box server
...
We used to run this as a separate process but no amount of node/v8 tweaking
makes them run as standalone with 50M RSS.
Three solutions were considered for the memory issue:
1. Use systemd timer. apphealthtask needs to run quiet frequently (10 sec)
for the ui to get the app health update immediately after install.
2. Merge into box server (this commit)
3. Increase memory to 80M. This seems to make apphealthtask run as-is.
2015-09-14 10:52:11 -07:00