diff --git a/Viitor_mk-livestatus/etc/xinetd.d/mk-livestatus b/Viitor_mk-livestatus/etc/xinetd.d/mk-livestatus new file mode 100644 index 0000000..6700134 --- /dev/null +++ b/Viitor_mk-livestatus/etc/xinetd.d/mk-livestatus @@ -0,0 +1,26 @@ +service livestatus +{ + type = UNLISTED + port = 6557 + socket_type = stream + protocol = tcp + wait = no +# limit to 100 connections per second. Disable 3 secs if above. + cps = 100 3 +# set the number of maximum allowed parallel instances of unixcat. +# Please make sure that this values is at least as high as +# the number of threads defined with num_client_threads in +# etc/mk-livestatus/nagios.cfg + instances = 500 +# limit the maximum number of simultaneous connections from +# one source IP address + per_source = 250 +# Disable TCP delay, makes connection more responsive + flags = NODELAY + user = nagios + server = /usr/bin/unixcat + server_args = /var/lib/nagios/rw/live +# configure the IP address(es) of your Nagios server here: +# only_from = 127.0.0.1 10.0.20.1 10.0.20.2 + disable = yes +}