|
From: | Michael Wittig |
Subject: | Re: Add process during runtime without process is not running error |
Date: | Thu, 28 Jan 2016 09:41:18 +0100 |
Hi,the way you added the configuration is correct, the problem will be most probably in the "check process" configuration ... if you use a pidfile, please check that the pid from the file is running, if you use a pattern based check, test the pattern using "monit procmatch <pattern>"Regards,MartinOn 28 Jan 2016, at 08:47, Michael Wittig <address@hidden> wrote:--Hi
I want to add processes to monit (monit-5.2.5-3.11.amzn1.x86_64) during runtime. So far I include
include /etc/monit.d/*
all files from a certain directory. When I add a new process I place a file into /etc/monit.d/ and run
monit -c /etc/monit.conf reload
Th problem is that I get a process is not running error in my logs. Any idea how I can get rid of the error message?I most likely will not be alerted on this. But I want to get alerts if my process dies after the first start?ThanksMichael
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |