-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
51 lines (51 loc) · 2.09 KB
/
config.yaml
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
options:
cert:
type: string
default: ""
description: TLS certificate in base64 format to access rsyslog server
log-locally:
type: boolean
default: true
description: Should logs be written locally as well as forwarded?
replication-mode:
type: string
default: fanout
description: Possible options are 'fanout' or 'failover' fanout replicates the log messages over all the defined syslog relations, failover replicates the log messages just if the previous server is down. Failover always uses tcp for the protocol.
nagios_context:
default: "juju"
type: string
description: >
Used by the nrpe-external-master subordinate charm.
A string that will be prepended to instance name to set the host name
in nagios. So for instance the hostname would be something like:
juju-rsyslog-forwarder-ha-0
If you're running multiple environments with the same services in them
this allows you to differentiate between them.
nagios_servicegroups:
default: ""
type: string
description: >
A comma-separated list of nagios servicegroups.
If left empty, the nagios_context will be used as the servicegroup
protocol:
type: string
default: "udp"
description: "transport protocol to use, currently supported options: udp, relp, tcp"
watch-files:
type: string
default: "/var/log/dpkg.log /var/log/apt/history.log"
description: "A space separated list of files to follow with rsyslog imfile and forward to the aggregator. If set to empty string no files will be watched with imfile."
forward_hosts:
type: string
default:
description: >
A comma-separated list of key=value representing hostname and
ip address of servers to forward all logs to as in
hostname1=host_ip1:port1,hostname2=host_ip2:port2,hostname3=host_ip3:port3
With no port specifed 514 will be used.
message-filter:
type: string
default: "*.*"
description: >
Select messages to forward, in the form of <facility>.<severity>
By default all messages are forwarded (*.*)