[Check_mk (english)] SOLVED: How do I set a per host limit for postfix_mailq?

Allan Wind allan_wind at lifeintegrity.com
Wed Nov 7 02:39:38 CET 2012


On 2012-11-05 17:39:32, Allan Wind wrote:
> On 2012-11-05 20:23:42, Lander, Scott wrote:
> > Could you do this via wato?   Wato -> Parameters for 
> > Inventorized checks -> Number of mails in outgoing mail queue?
> 
> Yeah, that looks like that worked, thanks:
> 
> checkgroup_parameters.setdefault('mailqueue_length', [])
> 
> checkgroup_parameters['mailqueue_length'] = [
>   ( (123, 123), [], ['s2'], {'docu_url': ''} 
>   ),
>   ] + checkgroup_parameters['mailqueue_length']
> 
> so can I migrate that into the main.mk, or can you only
> set this with wato?

... and this is how you can configure the limit in main.mk:

((123,123), ['s2'], ['Postfix Queue'])


/Allan
-- 
Allan Wind
Life Integrity, LLC
<http://lifeintegrity.com>


More information about the checkmk-en mailing list