[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monit-general] cannot check a program with arguments
From: |
Jan-Henrik Haukeland |
Subject: |
Re: [monit-general] cannot check a program with arguments |
Date: |
Thu, 15 Nov 2012 14:01:44 +0100 |
On Nov 15, 2012, at 11:27 AM, Michael Johnson - MJ <address@hidden> wrote:
> To my knowledge, you cannot pass arguments to the program specified by 'check
> program'. You can however write a simple wrapper script. Annoying, yes, but
> manageable.
This is correct, unfortunately no arguments can be passed to the path. I
absolutely agree that this is a shortcoming and we'll address this. We'll
support both arguments to a script or the ability to write a script directly
using "/bin/bash -c 'script'".