Hi, does some of your services have one of "?", "&", "=" or "/" characters in its name? There was a fix in monit 5.20.0, which fixes this problem.
Even if it's not the case, please upgrade to monit 5.20.0 - i'm sorry monit 5.6 is too old and the service action implementation has changed since monit 5.6, it's not worth to debug the old version. Best regards, Martin > On 1 Nov 2016, at 12:07, Yuriy Kohut <[email protected]> wrote: > > Hi, > > I’m running monit version 5.6 on RHEL/CentOS 7.x x86_64 box. > # monit -V > This is Monit version 5.6 > Copyright (C) 2001-2013 Tildeslash Ltd. All Rights Reserved. > # cat /etc/redhat-release > CentOS Linux release 7.2.1511 (Core) > > I’m facing with the issue, systemd is wrapping monit arguments (like for > example ‘monitor all’) and treats them as service’s one: > # monit monitor all > monit: action failed -- There is no service by that name > > Could somebody please assist me on how the issue could be resolved. > > Thanks > --- > Yura > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
