-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnarc.conf
57 lines (44 loc) · 989 Bytes
/
narc.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
###########
# general #
###########
daemonize no
pidfile /var/run/narc.pid
###########
# logging #
###########
loglevel debug
# logfile /var/log/narc.log
syslog-enabled no
syslog-ident narc
syslog-facility local0
##########
# server #
##########
# remote syslog
remote-host 192.168.157.1
# remote-port 514
remote-port 1234
remote-proto udp
# max server connect attempts
max-connect-attempts 12
# millisecond delay between attempts
connect-retry-delay 5000
###########
# streams #
###########
# max file open attempts
max-open-attempts 12
# millisecond delay between attempts
open-retry-delay 5000
# identifier to prefix all messages with
stream-id 123.456
# syslog facility for streams
stream-facility user
# syslog priority for streams
stream-priority error
# log streams
# stream apache[access] /var/log/httpd/access.log
# stream apache[error] /var/log/httpd/error.log
# stream php[error] /var/log/php/error.log
stream test[a] /tmp/narc/a.out
stream test[b] /tmp/narc/b.out