Juju support for external services?
Marco Ceppi
marco at ondina.co
Fri Aug 10 14:31:43 UTC 2012
At this time you can not connect deployed Juju charms to existing
services out of the box. The main reason is because the Nagios portion,
which in your example is externalized, needs to have the juju-agent
running on the machine, and the charm deployed so that juju can fire
hooks on both services which are required to make the relationship work.
In the case of services that already exist but aren't open source what
you could do is write a sub-ordinate charm that extracts those
interfaces. This would be like creating an API that ran on a legacy
system that this sub-ordinate translated calls from Juju -> Legacy
service. I've not seen anyone try this but theoretically it should work.
Thanks,
Marco Ceppi
On 08/10/2012 05:30 AM, Thomas Leonard wrote:
> Is it possible to connect juju-deployed services to pre-existing ones?
>
> e.g. something like
>
> juju deploy wordpress
> juju register nagios ...
> juju add-relation wordpress nagios
>
> to monitor a service with a pre-existing Nagios? Of course, we'd
> expect to need a bit of scripting to provide our end of the nagios
> monitoring interface here.
>
> Some of the services we'd like to connect to aren't open source, or
> need to run on very specific hardware, so this would be very useful.
>
>
More information about the Juju
mailing list