[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: |
Michael Johnson - MJ |
Subject: |
Re: [monit-general] cannot check a program with arguments |
Date: |
Thu, 15 Nov 2012 02:27:36 -0800 |
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.
You will notice however that the 'check program' functionality is problematic in other ways as well. Specifically, becuase of the way it works, when a failure is detected, the stop and/or start program will be executed simultaneously to the next 'check' program resulting in the status for the next check to also indicate failure and then your stop and/or start program will be executed again even though the monitored program may already be running.
Good luck!