openfoodfoundation / ofn-install

Ansible scripts for provisioning and deploying Open Food Network
53 stars 112 forks source link

Install basic system monitoring tools in all servers #303

Open sauloperez opened 5 years ago

sauloperez commented 5 years ago

Description

Currently, our servers lack tools like htop or iostat that are essential to investigate issues in-situ. We cannot rely on us installing them manually. They need to be installed at provisioning.

As an example, I do use htop to watch over the asset precompile in our very limited Katuma server, and I would have used iostat to understand what was going in https://openfoodnetwork.slack.com/archives/CEF14NU3V/p1545652738001500?thread_ts=1545650753.000400&cid=CEF14NU3V.

Proposed solution

We need to install both htop and iostat as part of the provisioning.

mkllnk commented 5 years ago

I also like ncdu to find what takes disk space. screenshot from 2019-02-19 19-34-41

dacook commented 3 weeks ago

Note that we now use New Relic which can help with debugging. But I can still see this would helpful for debugging issues.