environment: local machines: "0": agent-state: started agent-version: 1.19.1.1 dns-name: localhost instance-id: localhost series: trusty state-server-member-status: has-vote "1": agent-state: started agent-version: 1.19.1.1 dns-name: 10.0.3.15 instance-id: niedbalski-local-machine-1 series: precise hardware: arch=amd64 "2": agent-state: started agent-version: 1.19.1.1 dns-name: 10.0.3.32 instance-id: niedbalski-local-machine-2 series: precise hardware: arch=amd64 services: mysql: charm: cs:precise/mysql-45 exposed: false relations: cluster: - mysql juju-info: - rsyslog-forwarder units: mysql/0: agent-state: started agent-version: 1.19.1.1 machine: "1" public-address: 10.0.3.15 subordinates: rsyslog-forwarder/0: upgrading-from: local:precise/rsyslog-forwarder-10 agent-state: started agent-version: 1.19.1.1 public-address: 10.0.3.15 rsyslog: charm: cs:precise/rsyslog-3 exposed: false relations: aggregator: - rsyslog-forwarder units: rsyslog/0: agent-state: started agent-version: 1.19.1.1 machine: "2" open-ports: - 514/tcp - 514/udp public-address: 10.0.3.32 rsyslog-forwarder: charm: local:precise/rsyslog-forwarder-10 exposed: false relations: juju-info: - mysql syslog: - rsyslog subordinate-to: - mysql
Then i sent a message using logger on mysql/0
logger -p local0.error Testing message
Received message on rsyslog/0:
Jun 3 11:11:51 niedbalski-local-machine-1 ubuntu: Testing message
environment: local server- member- status: has-vote local-machine- 1 local-machine- 2
agent- state: started
agent- version: 1.19.1.1
public- address: 10.0.3.15
subordinates:
rsyslog- forwarder/ 0:
upgrading- from: local:precise/ rsyslog- forwarder- 10
agent- state: started
agent- version: 1.19.1.1
public- address: 10.0.3.15 rsyslog- 3
agent- state: started
agent- version: 1.19.1.1
public- address: 10.0.3.32 forwarder: rsyslog- forwarder- 10
machines:
"0":
agent-state: started
agent-version: 1.19.1.1
dns-name: localhost
instance-id: localhost
series: trusty
state-
"1":
agent-state: started
agent-version: 1.19.1.1
dns-name: 10.0.3.15
instance-id: niedbalski-
series: precise
hardware: arch=amd64
"2":
agent-state: started
agent-version: 1.19.1.1
dns-name: 10.0.3.32
instance-id: niedbalski-
series: precise
hardware: arch=amd64
services:
mysql:
charm: cs:precise/mysql-45
exposed: false
relations:
cluster:
- mysql
juju-info:
- rsyslog-forwarder
units:
mysql/0:
machine: "1"
rsyslog:
charm: cs:precise/
exposed: false
relations:
aggregator:
- rsyslog-forwarder
units:
rsyslog/0:
machine: "2"
open-ports:
- 514/tcp
- 514/udp
rsyslog-
charm: local:precise/
exposed: false
relations:
juju-info:
- mysql
syslog:
- rsyslog
subordinate-to:
- mysql
Then i sent a message using logger on mysql/0
logger -p local0.error Testing message
Received message on rsyslog/0:
Jun 3 11:11:51 niedbalski- local-machine- 1 ubuntu: Testing message