Girish Ramakrishnan
|
1233ebc1e4
|
Implement collection of app memory/cpu statistics
per-app collectd configuration is dynamically added/removed.
|
2014-09-23 22:31:19 -07:00 |
|
Girish Ramakrishnan
|
36213bc477
|
Move collectd configs inside backup dir
|
2014-09-23 21:51:04 -07:00 |
|
Girish Ramakrishnan
|
04ef971b83
|
Add girish/base:0.7
Fixes #87
|
2014-09-23 17:12:38 -07:00 |
|
Girish Ramakrishnan
|
265ecbeffc
|
call transformNull on all metrics
|
2014-09-22 14:07:22 -07:00 |
|
Johannes Zellner
|
b1f8e581bf
|
Make bootstrap script an init script
|
2014-09-18 12:49:14 -07:00 |
|
Girish Ramakrishnan
|
7b4bca5d90
|
Append does not seem to work
|
2014-09-17 16:14:40 -07:00 |
|
Girish Ramakrishnan
|
ffa5fa335d
|
Add more debugs for testing
|
2014-09-17 16:12:29 -07:00 |
|
Girish Ramakrishnan
|
926dd8ae35
|
Escape $ since they are expanded in heredoc
|
2014-09-17 16:12:25 -07:00 |
|
Girish Ramakrishnan
|
bd74a364ce
|
Write logfiles with pid and also append
This will help confirm if the scripts are running twice for some
reason.
|
2014-09-17 15:05:46 -07:00 |
|
Girish Ramakrishnan
|
8b3ee3e0df
|
Make bootstrap run at the very end
|
2014-09-17 15:02:37 -07:00 |
|
Girish Ramakrishnan
|
89ccfe3895
|
move sync into initialization script
|
2014-09-17 15:01:59 -07:00 |
|
Girish Ramakrishnan
|
bd4c10f6d3
|
supervisor and nginx should never be running
|
2014-09-17 15:01:31 -07:00 |
|
Girish Ramakrishnan
|
37a8984d29
|
/var/log/cloudron should already exist at this point
|
2014-09-17 15:00:03 -07:00 |
|
Girish Ramakrishnan
|
10a7b6685d
|
Revert "Remove redirection, already redirected in bootstrap init.d script"
This reverts commit 45c771d6f8.
|
2014-09-17 11:50:24 -07:00 |
|
Girish Ramakrishnan
|
db48b7ac0b
|
Looks like service makes the script terminate
|
2014-09-17 11:25:30 -07:00 |
|
Girish Ramakrishnan
|
45c771d6f8
|
Remove redirection, already redirected in bootstrap init.d script
(checking if this is the root cause of bootstrap.sh running twice)
|
2014-09-17 10:51:36 -07:00 |
|
Johannes Zellner
|
403c94e8df
|
Only unmount aufs filesystems if there are some
|
2014-09-17 10:21:05 -07:00 |
|
Girish Ramakrishnan
|
31cf9909d7
|
Enable and disable collectd appropriately
|
2014-09-17 10:05:13 -07:00 |
|
Girish Ramakrishnan
|
55ce1046df
|
Make script barf one error
|
2014-09-17 10:03:01 -07:00 |
|
Girish Ramakrishnan
|
bbfe07ab91
|
Setup -> Install
|
2014-09-17 09:37:43 -07:00 |
|
Girish Ramakrishnan
|
8f7c4fa534
|
Attempt disk usage images
|
2014-09-17 00:16:54 -07:00 |
|
Girish Ramakrishnan
|
50668fd9c5
|
disable disk plugin which is measuring iops
|
2014-09-16 23:44:12 -07:00 |
|
Girish Ramakrishnan
|
567306f3b4
|
hardcode Hostname for predictable graphite targets
|
2014-09-16 23:21:51 -07:00 |
|
Girish Ramakrishnan
|
d5ac037ffc
|
bump the graphite docker version
|
2014-09-16 19:06:43 -07:00 |
|
Girish Ramakrishnan
|
92cf82af15
|
Monitor nginx logs using the tail plugin
I guess real analysis must be done using elasticsearch
|
2014-09-16 17:18:52 -07:00 |
|
Girish Ramakrishnan
|
85df77409b
|
Cleanup collectd.conf
|
2014-09-16 16:25:55 -07:00 |
|
Girish Ramakrishnan
|
77daac69c3
|
Update to latest graphite image
|
2014-09-16 16:23:38 -07:00 |
|
Girish Ramakrishnan
|
770acdf395
|
Make graphite data part of backup
|
2014-09-16 16:09:21 -07:00 |
|
Girish Ramakrishnan
|
86e7061819
|
collectd: configure df and disk
|
2014-09-16 12:04:44 -07:00 |
|
Girish Ramakrishnan
|
9bf5b1104e
|
collectd: Enable vmem plugin
|
2014-09-16 11:54:12 -07:00 |
|
Girish Ramakrishnan
|
20add2bee4
|
collectd: disable rrdtool
afaict, we don't need it since we use graphite as backend
|
2014-09-16 11:49:17 -07:00 |
|
Girish Ramakrishnan
|
e1ded03f1f
|
collectd: Enable collection of box process stats
|
2014-09-16 11:40:41 -07:00 |
|
Girish Ramakrishnan
|
f4c9c42859
|
collectd: enable swap space monitoring
|
2014-09-16 11:33:37 -07:00 |
|
Girish Ramakrishnan
|
52ff80f9bc
|
Enable collectd ping plugin
|
2014-09-16 11:29:05 -07:00 |
|
Girish Ramakrishnan
|
e4c891fff8
|
Enable nginx status in collectd
|
2014-09-16 11:25:52 -07:00 |
|
Girish Ramakrishnan
|
62cb58b5b1
|
Run docker in background
|
2014-09-16 08:05:25 -07:00 |
|
Girish Ramakrishnan
|
fc8a47774b
|
Remove girish/base:0.4
|
2014-09-15 22:16:04 -07:00 |
|
Girish Ramakrishnan
|
4e1ae532de
|
Move graphite to separate container
Only collectd needs to run in the host
|
2014-09-15 20:14:57 -07:00 |
|
Girish Ramakrishnan
|
7bb96f3523
|
Add collectd and graphite support to base image
|
2014-09-15 02:04:23 -07:00 |
|
Girish Ramakrishnan
|
69c6d3a3fb
|
Bump test image version
|
2014-09-12 17:19:53 -07:00 |
|
Johannes Zellner
|
a5d9871a75
|
Enforce and check deployment env argument for createDigitalOceanImage.sh
|
2014-09-10 11:51:56 -07:00 |
|
Johannes Zellner
|
7298e066ba
|
Add reboot route and webadmin UI
The reboot route will also be called from the reboot action
in the appstore to attmept a soft reboot, rather than a power
cycle.
|
2014-09-07 19:27:31 -07:00 |
|
Girish Ramakrishnan
|
c93863ef58
|
Create separate partition for docker images and appdata
This allows us to track their usage easily
Note that files created using dd/truncate are sparse files!
https://wiki.archlinux.org/index.php/sparse_file
Part of #72
|
2014-09-06 18:43:27 -07:00 |
|
Girish Ramakrishnan
|
0fa3f63673
|
Upgrade ubuntu as well
|
2014-09-06 18:43:27 -07:00 |
|
Girish Ramakrishnan
|
878b2ccfe9
|
Remove code that updates the box repo
This code was used previously when we used to run setup script
over and over again on same base image. This is not done anymore.
|
2014-09-06 18:43:27 -07:00 |
|
Girish Ramakrishnan
|
59623d783c
|
/etc/yellowtent is not used anymore
|
2014-09-06 18:43:27 -07:00 |
|
Girish Ramakrishnan
|
35015687f3
|
Set scrub_data=true when destroying droplet
This is set by default from what I understand but this is good to
set explicitly so we remeber this should we move away from DO.
https://github.com/fog/fog/issues/2525
https://www.digitalocean.com/company/blog/transparency-regarding-data-security/
|
2014-09-06 09:16:28 -07:00 |
|
Girish Ramakrishnan
|
2705667546
|
make first argument the suffix
|
2014-09-04 14:33:56 -07:00 |
|
Girish Ramakrishnan
|
e2ab01339d
|
Pull in base:0.4 as well
|
2014-09-04 11:30:56 -07:00 |
|
Girish Ramakrishnan
|
92c4ba2bbc
|
Pull specific version of base
|
2014-09-03 16:09:24 -07:00 |
|