mtailrc5
Configuration file for monkeytail
Overview
A monkeytail configuration uses Apache-style syntax to declare "groups" of files to be tailed.
Best explained with an example:
<group testgroup>
prefix 'server2: '
sudo yes
<file>
filename /var/log/apache2/access.log
prefix 'server1: '
host server1.example.com
</file>
<file>
filename /var/log/apache2/access.log
host server2.example.com
sudo no
</file>
</group>
Options
All options can be either put inside a group or file block. Options inside a file block override those in the group block.
filename filename
-
filenamedefines the filename for this block.
host remote-host (optional)
-
hostdefines that this block's file is to be tailed on a remote server.
sudo yes|no|1|0
-
sudois a boolean specifying whether this file should be tailed as root. This option is supported for both local and remote files (in both cases you will potentially be prompted for your password).
prefix "string: "
-
prefixallows you to specify a short string that will be prepended to every line that is displayed for that given file.
Files
~/.mtailrc - user specific monkeytail config
Releases
4 releases since Debian 5.0 (Lenny); the text changed 1 time.