New charm: rsyslog-forwarder-ha

Bug #1315504 reported by Jorge Niedbalski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Fix Released
Undecided
Unassigned

Bug Description

#Tests

charm proof [ PASSED]
make unit [ PASSED ]
make functional [PASSED]

# General

This Charm provides support for adding a [rsyslog](http://www.rsyslog.org) forwarder listener to any service
in addition this charm allows to have multiple rsyslog aggregators servers offering currently 2 replication
modes ( fanout, failover ).

# Usage method

This is a subordinate charm, which means it requires to have a service to hook in.

```shell
    juju deploy mysql
```

Once your service is running, you can relate this charm:

```shell
    juju add-relation rsyslog-forwarder-ha mysql
```

Then you can deploy your rsyslog aggregators servers:

```shell
    juju deploy rsyslog primary
    juju deploy rsyslog secondary
```

Once your rsyslog aggregators are ready, you can relate them with your forwarder.

```shell
    juju add-relation rsyslog-forwarder-ha primary
    juju add-relation rsyslog-forwarder-ha secondary
```

By default the 'fanout' replication mode is going to be used, which means that all the
syslog messages will be forwarder to any aggregator server using UDP port 514.

In you want to choose to failover mode, this will require that your current
rsyslog servers is binded to TCP port 514.

Once you have your rsyslog ports opened. You can change the replication-mode variable
on your rsyslog-forwarder-ha charm.

```shell
    juju set rsyslog-forwarder-ha replication-mode="failover"
```

Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

I forget to mention that this is targeted on precise because it requires the rsyslog charm. I actually submitted the current precise rsyslog charm, maybe we could promote it to trusty?

description: updated
Revision history for this message
Charles Butler (lazypower) wrote :

Greetings Jorge,

Thank you for this submission! I've taken a look through the charm and have the following notes:

# Charm proof

W: Includes template icon.svg file.
W: no copyright file

For inclusion to the charm store, your charm will need to have a Free license. http://opensource.org/osd

# Knitpicks:

Looks like there's a leftover cache file from your editor in the repository. config.yaml~

The make targets for this charm don't complete successfully for me on my machine. Specifically the make test.

otherwise my deployment testing of the charm works really well following the example as depicted in the README.

Thanks again for the submission. I'm going to change status of this Bug to "incomplete" pending a license - and when you're ready for another review please set the status of the bug to "Fix Committed" and someone will be along shortly to review your work.

If you have any questions/comments/concerns about the review contact us in #juju on irc.freenode.net or email the mailing list <email address hidden>

Changed in charms:
status: New → Incomplete
Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

hey @lazyPower.

I updated the branch with the requested changes.

Changed in charms:
status: Incomplete → Fix Committed
Revision history for this message
Charles Butler (lazypower) wrote :

Jorge,

Thank you for the update submission. Everything looks good from here!

You can find the charm in the charm store within the next 15 to 30 minutes depending on the ingest cycle. You will find the issue tracker here: https://bugs.launchpad.net/charms/precise/+source/rsyslog-forwarder-ha

Thanks again for the submission! Keep up the great work Jorge!

If you have any questions/comments/concerns about the review contact us in #juju on irc.freenode.net or email the mailing list <email address hidden>

Changed in charms:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.