def unmonitor(name):
 cmd = 'monit unmonitor {0}'.format(name)
 return (not __salt__['cmd.retcode'](cmd, python_shell=False))

def unmonitor ( name ) : cmd = 'monit unmonitor {0}' . format ( name ) return ( not __salt__ [ 'cmd.retcode' ] ( cmd , python_shell = False ) )
unmonitor service via monit cli example: .