ttywatch is a project based on monitoring logs and multiplexes terminal I/O.
It has full log rotation built in, and can use telnet as well as local TTY ports.
- Handles log rotation correctly.
- Can be configured in both a configuration file and on the command line (mix-and-match command-line and config file). The config file language is the same as the command-line language; learn one and you know both. Any configuration that can be specified on the command line can be specified in exactly the same way in a configuration file, and vice versa.
- Supports arbitrary data logging methods via dynamically loaded modules.
- Can optionally connect any monitored port to a network socket, and it can support arbitrarily many telnet connections to each port. The connections work together in "whiteboard" fashion; all output is shown to every connection and input is accepted from all connections.
- Can connect to network ports speaking the telnet protocol as well as to serial ports; this allows ttywatch instances to be cascaded. For example, in a room full of servers, each with two serial ports, you could run ttywatch on computer in pairs, each logging output from the other, and then use ttywatch on a master computer to log all the output from each ttywatch instance on the individual computers in one master set of logfiles.
- Includes a fairly complete man page.
- Is packaged with all the pieces necessary for use, including config files, init script, and so forth.
- Depends on lockdev, popt, and glib.