Re: Remote mongodb host

2018-03-07 Thread mart...@tildeslash.com
No, the monit protocol test is basic implementation of the mongodb protocol - not full client. If you need more complex test, you can use the "check program" with custom script that can use a mongodb client: > On 7 Mar 2018, at 22:20, Sar Haidar wrote: > > Thanks for the

Re: Remote mongodb host

2018-03-07 Thread Sar Haidar
Thanks for the clarification. Would it work if I embed the credentials in the connection string? > On Mar 7, 2018, at 4:15 PM, mart...@tildeslash.com wrote: > > The mongodb protocol test doesn't support an username and password > > > >> On 7 Mar 2018, at 22:09, Sar Haidar

Re: Remote mongodb host

2018-03-07 Thread mart...@tildeslash.com
The mongodb protocol test doesn't support an username and password > On 7 Mar 2018, at 22:09, Sar Haidar wrote: > > I’m trying to use monit to verify the connection between a host running monit > and another host running mongodb. I was successfully able to write a rule to >

Remote mongodb host

2018-03-07 Thread Sar Haidar
I’m trying to use monit to verify the connection between a host running monit and another host running mongodb. I was successfully able to write a rule to do that for mysql, however, when I try it for mongodb, it fails and I’m not sure what the correct syntax should be. This is what I have so