# Okay here's how it works...

#|---------|
#|PROCS: 78| Pos 2
#|USERS:  5| Pos 1
#|HTTP:   2| Pos 3
#|FTP:    1| Pos 4
#|SMTP:   5| Pos 5
#|---------|


# -----------------------------------------------------
#
# Monitors.
#
# the following settings set the position of the statistic according
# to the chart above.
# a setting of 0 disables the monitor.

monitor_proc=1
monitor_users=2
monitor_http=3
monitor_lpd=0

# -----------------
# Interval -- seconds between stat updates

interval=1

# -----------------------------------------------------
#
# Portwatchers.
#
# .pos = position.  see table above.
# .port = port to monitor
# .label label to display
#
# simple enough?

portwatch1.pos=4
portwatch1.port=21
portwatch1.label=ftp

portwatch2.pos=5
portwatch2.port=25
portwatch2.label=smtp

portwatch3.pos=0
portwatch3.port=22
portwatch3.label=ssh

portwatch4.pos=0
portwatch4.port=110
portwatch4.label=pop3

portwatch5.pos=0
portwatch5.port=119
portwatch5.label=nntp


# -----------------------------------------------------
# Programs to run when clicked...
#
# These correspond to the 5 positions. See above.
#
action1=x-terminal-emulator -bg black -fg white -e top
action2=x-terminal-emulator -bg black -fg white -e sh -c "w; read"
action3=x-terminal-emulator -bg black -fg white -e tail -f /var/log/apache/access.log
action4=x-terminal-emulator -bg black -fg white -e sh -c "ftpwho; read"
action5=x-terminal-emulator -bg black -fg white -e tail -f /var/log/mail.log
