tmux-collector is a wrapper around several commands displayed in the tmux status line being able to cache command output and change colors according to the exit status of the command.
tmux-collector