YunoHost Monitoring 101

Hi everyone!

I have been running a YunoHost server for ~5 years now, but there is one question I have never been able to reply to: how loaded is my server? :eyes:

I am a terrible administrator, I have no idea how to determine:

  • if my server is running smoothly
  • if the server is under stress, and why
  • what applications are the heaviest
  • if there is the possibility of installing more apps
  • when peaks of stress are happening and what is causing them

In general, I would like to understand the fundamentals of server monitoring: what are the most critical metrics and what do they mean? What parameters do I have to keep an eye on?

I installed Prometheus and Grafana, but then I realized I have absolutely no idea what to do next… Do you have any suggestions?

I thought about watching some video tutorials, but I would not really know how they would relate to YunoHost installations.

Feel free to send me any resource that comes to your mind! Once I will have learned the basics, I would be very happy to write some pointers about this in the documentation, or an essential YunoHost Monitoring tutorial.

2 Likes

Cross-posted on the Fediverse for visibility. Boost this post if you have the same questions!

Hi,
same here, i don’t really know how to monitor my little server. What i do is using htop, there you can see the load and ram usige. And sometimes not all services are running so i check yunohost diagnosis show --issues . On my old yunohost VPS with Debian11 i got email, when an issue was there.

1 Like

My problem is not really what is not working, because indeed YunoHost’s own diagnosis works quite well. It’s more about what’s stressing/loading the hardware…

a little ui for fail2ban stuff and monitoring stuff linked to what’s using more cpu etc would be cool.

I use Monitorix for that purpose. It displays lots of graphs and allows you to select the time period. I haven’t yet configured it to send me emails about critical issues. That would be the next step.

I generally have phpsysinfo, htop, btop, iotop, watchdog installed on my servers.
I still didn’t find an easy way for log analysis and viewing logs on web interface. Some options are available on github but I didn’t find time to look at them.

1 Like