.TH knoerre-conf 1 "May 2008" "ngtx" .SH NAME knoerre-conf \- set up knoerre nagios http server .SH SYNOPSIS .B knoerre-conf .br .SH DESCRIPTION .B knoerre-conf sets up an environment for knoerre with tcpserver and daemontools. .SS knoerrerc If no resource config exists knoerre-conf will create one with some defaults like .IP CMD loadavg cat /proc/loadavg .br LONGPROC_UID_MIN 65535 .br LONGPROC_UID_MAX 199999 .br LONGPROC_EXCLUDES vsftpd bash sftp-server .PP .SS hosts.(deny|allow), knoerre.tcprules.cdb .B knoerre-conf checks if there are entries for knoerre in tcp-wrapper files. If there are no changes then some defaults are written. .br NOTE: knoerre/tcpserver don't use these files directly. After making changes you must call .I knoerre-update-tcprules to update knoerre.tcprules.cdb from tcp-wrapper files. .br After setting default in tcp-wrapper files .B knoerre-conf updates knoerre.tcprules.cdb. .SS /usr/local/knoerre If "/usr/local/knoerre/run" does not exist, .B knoerre-conf creates the directory "/usr/local/knoerre" with its subdirs "supervise" and "log/supervise". Then it creates the scripts "run" and "log/run" with the these contents: .IP $ cat /usr/local/knoerre/run .br #!/bin/sh .br exec 2>&1 .br exec /usr/local/bin/tcpserver -v -RHl localhost -x /etc/knoerre.tcprules.cdb -X 0 8888 /usr/local/sbin/knoerre .br $ cat /usr/local/knoerre/log/run .br #!/bin/sh .br exec multilog t ./main e 2>&1 |tai64nlocal |readproctitle knoerre: ... (65 dots) .PP .SH FILES /etc/hosts.(deny|allow) tcp-wrapper files as source .br /etc/knoerrerc rc-file for non-monolithic knoerre .br /etc/knoerre.tcprules.cdb tcprules for use with tcpserver .br /usr/local/bin/tcpserver DJB's tcpserver .br /usr/local/knoerre the daemontools dir for knoerre .SH "SEE ALSO" knoerre(1), knoerre-update-tcprules(1), tcpserver(1), supervise(8) .PP http://cr.yp.to/ucspi-tcp.html .br http://cr.yp.to/daemontools.html .SH AUTHOR Frank Bergmann, http://www.tuxad.com