<div dir="ltr">so, for case 1) this link explains how to add the repo <a href="http://askubuntu.com/questions/724749/install-mongo-3-2-on-ubuntu-15-10">http://askubuntu.com/questions/724749/install-mongo-3-2-on-ubuntu-15-10</a> <div>for 2) following <a href="https://docs.mongodb.com/manual/reference/connection-string/">https://docs.mongodb.com/manual/reference/connection-string/</a> should work<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 13, 2016 at 12:57 PM, Casey Marshall <span dir="ltr"><<a href="mailto:casey.marshall@canonical.com" target="_blank">casey.marshall@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Fri, May 13, 2016 at 10:52 AM, Horacio Duran <span dir="ltr"><<a href="mailto:horacio.duran@canonical.com" target="_blank">horacio.duran@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">By connect I assume you mean to use the shell, for this you need the mongodb-org papa and install mongodb-org-shell, I am currently on the phone but as soon as I get to a computer I'll send you links<div><div><br></div></div></blockquote><div><br></div></span><div>Well, for use case #1, yes, use the shell.</div><div><br></div><div>For use case #2, I'd be using <a href="http://github.com/dcu/mongodb_exporter" target="_blank">github.com/dcu/mongodb_exporter</a>, which uses mgo.v2 and just needs a mongodb <a href="https://github.com/dcu/mongodb_exporter/blob/master/mongodb_exporter.go#L26" target="_blank">URI</a>.</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><br>On Friday, 13 May 2016, Casey Marshall <<a href="mailto:casey.marshall@canonical.com" target="_blank">casey.marshall@canonical.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I seem to be unable to connect to the Juju 2.0 controller database lately. I'm thinking this might be related to the move to mongodb 3.2.<div><br></div><div>Can someone in the know please share how to do this? While most users should never, ever connect directly to the controller's database, I have two good use cases for it:</div><div><br></div><div>1. It's sometimes necessary for debugging the state of a live controller.</div><div>2. I'd like to instrument a controller's mongodb with <a href="http://prometheus.io" target="_blank">prometheus.io</a>, but in order to do this, I need to derive the new connection info.</div><div><br></div><div>Much thanks,</div><div>Casey</div></div>
</blockquote>
</div></div></blockquote></span></div><br></div></div>
</blockquote></div><br></div>