Can you provide more details?
When monit fails to restart the service, the service status is displayed
as 'failed' and monit tries to restart it next cycle again - it doesn't
switch the state to 'unmonitored' automatically (until the timeout
statement or unmonitor action is used).
Maybe you meant that when you used 'if <x> restarts within <y> cycles
then timeout' rule then monit sets the state to 'not monitored' when the
rule is true?
Can you send the configuration, monit version and describe the condition
under which you see the problem?
Thanks,
Martin
Qi Lu wrote:
Monit displays a status of "Unmonitored" when it cannot restart a
service. This cannot be distinguished from a service which is
intentionally not unmonitored. Is it possible to display either ‘failed
to restart’ or ‘timeout’ instead of ‘not monitored’?
Thanks
Qi
------------------------------------------------------------------------
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general