/usr/share/doc/nsca/examples/nsca.xinetd is in nsca 2.9.1-3.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # default: on
# description: NSCA (Nagios Service Check Acceptor)
service nsca
{
flags = REUSE
socket_type = stream
wait = no
user = nagios
group = nogroup
server = /usr/bin/nsca
server_args = -c /etc/nsca.cfg --inetd
log_on_failure += USERID
disable = no
only_from = 127.0.0.1
}
|