[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] M/Monit can't connect to host

From: Martin Pala
Subject: Re: [monit] M/Monit can't connect to host
Date: Sat, 26 Jun 2010 13:19:16 +0200

On Jun 23, 2010, at 4:46 PM, Kristian Van Der Vliet wrote:

> On 23/06/10 14:44, Martin Pala wrote:
>> Hello Kristian,
>> M/Monit caches the whole host entry including credentials to offload
>> the database - it is possible to set the credentials using SQL
> > directly, but it should be done this way to keep the cache consistent:
>> 1.) stop M/Monit
>> 2.) run sql statements
>> 3.) start M/Monit
>> Note: on stop M/Monit syncs the cache content to database so if you  > did 
>> the sql statement before stopping M/Monit, it will overwrite the
> > entries back to correspond to cache content
> Thanks, that worked. However it does mean I can't use a simple trigger to 
> automatically populate the uname & password when a host is added. Is there 
> any way to set the default credentials that M/Monit will use for a new host, 
> or any way to disable the cache so that I can use a trigger?


we will address the credentials setting in next Monit + M/Monit release 
(planned for July)

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]