0

I'm looking for a tool that lets me build a monitoring dashboard that renders in a linux terminal. The monitoring that I'm interested in is tailing log files and summary queries on a database. Ideally, I'd have the terminal divided into quarters: two that tail log files, and two that have pre-formatted table text. I already can get the same effect by opening 4 separate terminal windows, manually arranging them, and then running watch some_command... in each one. This solution is... ugly, at best. And it doesn't scale very well when I have 4 or 5 servers that all need to be monitored in the same way. I'm wondering if there doesn't already exist some other way of doing this.

I've tried hubble, though I am finding that it is mostly suited to displaying numeric data and small snippets of text. It doesn't seem to handle log files or pre-formatted text tables very well.

1

tmux and teamocil let you split a terminal window into panes and run commands in each pane.

  • Interesting, I'll have a look at them. The last time I tried running screen in docker (~90% of this type of monitoring activity occurs in a docker container) it got a little wonky. Maybe tmux works better with docker. It would still be nice to be able to have a single tool that run run all the monitors with a single command, do you know if tmux+teamocil are scriptable? – FrustratedWithFormsDesigner Nov 13 '15 at 18:47
  • teamocil configures your pane and window layout, and the initial commands to run. So your workflow is: launch tmux, run teamocil <some_name> – glenn jackman Nov 13 '15 at 19:25
1

tmux + config mgmt is definitely a good option if you already have the CLI tools you need to display what you want (tail, grep, awk, gplot, etc.)

That said, blessed contrib is an interesting project that builds a terminal dashboard and provides some interesting data presentation options. A quick search on github will probably turn-up similar projects that might also be worth checking out.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.