2006-02-18 18:13:45 +01:00
|
|
|
===========================================================================
|
2007-11-26 23:14:23 +01:00
|
|
|
$NetBSD: MESSAGE,v 1.2 2007/11/26 22:14:23 seb Exp $
|
2006-02-18 18:13:45 +01:00
|
|
|
|
|
|
|
Inetd Configuration:
|
|
|
|
|
|
|
|
If you plan on running nsca under inetd or xinetd and making use
|
|
|
|
of TCP wrappers, you need to do the following things:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1) Add a line to your /etc/services file as follows (modify the port
|
|
|
|
number as you see fit)
|
|
|
|
|
2007-11-26 23:14:23 +01:00
|
|
|
nsca 5667/tcp # NSCA
|
2006-02-18 18:13:45 +01:00
|
|
|
|
|
|
|
2) Add an entry to /etc/inetd.conf as follows:
|
|
|
|
|
|
|
|
|
2007-11-26 23:14:23 +01:00
|
|
|
nsca stream tcp nowait <user> <nscabin> nsca -c <nscacfg> --inetd
|
2006-02-18 18:13:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
- Replace <user> with the name of the user that nsca server should run as.
|
|
|
|
- Replace <nscabin> with the path to the nsca binary on your system.
|
|
|
|
- Replace <nscacfg> with the path to the nsca config file on your system.
|
|
|
|
|
|
|
|
===========================================================================
|