Skip to content

πŸš₯ MOTD for your servers that shows the info you need, with semantic colors

Notifications You must be signed in to change notification settings

gdubicki/dynamotd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 20, 2022
58ff256 Β· Mar 20, 2022

History

52 Commits
Mar 19, 2022
Mar 20, 2022
Mar 20, 2022
Sep 26, 2020
Mar 20, 2022
Mar 19, 2022
Mar 20, 2022
Mar 20, 2022
Mar 19, 2022
Mar 20, 2022
Mar 20, 2022
Mar 20, 2022

Repository files navigation

Dynamotd

We know: servers, VMs and bare metals are not cool nowadays, but you may still have them and have to take care of them, so how about making your life a little better?

This app provides a MOTD (Message Of The Day) optimized for providing the info about your server that YOU need to troubleshoot stuff when you SSH to it (because if you are doing it, then something IS wrong with the server, isn't it?).

Features

Dynamotd

  • Useful default info - CPU load, memory use, disk space use etc.,
  • Semantic colors - red ~ problem, yellow ~ warning.
  • Customizable - reorder or remove lines,
  • Fast - native app,

How-to

Download the single binary from the releases.

Optionally configure with dynamotd.yaml file in the current dir, ~/.dynamotd/ or /etc/. See the example config in dynamotd.yaml.

Check out the available command-line arguments by running dynamotd -help.

If you like it you can add it to your system as a dynamic MOTD by following one of these great guides:

Building

Requirements:

  • Go v. 1.17+

How-to build:

./build.sh

TODO

These features will be implemented in the future:

  • Pluggable - add custom lines with any label and any command(s) output as the value,
  • Interactive mode - show the output like htop, updated every 2 seconds,
  • Keyboard shortcuts - in interactive mode only, to run popular tools like htop, iftop etc.
  • Circuit-breaker - minimal info mode in case of server overload detection,
  • Native packages for RedHat/Centos/Rocky and Debian/Ubuntu - easy install it on (almost) all of your servers.

We also don't have the tests yet and the building pipeline (but they WILL be created if we decide to go ahead with the project).

Finally, we don't have user docs, developer docs and contribution guide.

What we DO have is some non-idiomatic code and brain-dead solutions because the original author is only learning Golang. :P

About

πŸš₯ MOTD for your servers that shows the info you need, with semantic colors

Topics

Resources

Stars

Watchers

Forks