Seems like all versions of monit on AIX have an issue when invoked as “monit summary -B” only works if invoked as “monit -B summary.” The first invocation gives an error of “Service -B not found.” Note, this works on LINUX versions of monit with either invocation. Why it matters? The ansible monit module uses the first invocation which doesn’t work on AIX. I can work around this by simply reworking the ansible module to use the other invocation, but I figured it probably should be fixed here for consistency.
Issue #886 resolved