Module Expr Str ImportFrom alias Import alias Import alias Assign NameStore Dict Str Str Str Str FunctionDef arguments args defaults body If CompareIsNot Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Return NameLoad Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad Return UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad Return UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad Return UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad Return UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad Return UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str Assign NameStore Dict Assign NameStore Str Assign NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad attr For NameStore NameLoad body If CompareIn Str NameLoad body Return Call NameLoad keyword Str keyword NameLoad orelse If BoolOpOr UnaryOpNot NameLoad CompareNotIn NameLoad NameLoad CompareIn Str NameLoad body Continue orelse Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr If BoolOpAnd CompareNotEq NameLoad Str CompareNotEq NameLoad NameLoad body Continue If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad Assign NameStore BinOpAdd Str BinOpMult Str Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr Str Str attr Str Assign NameStore Dict For NameStore SubscriptLoad NameLoad Slice Num Num body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Assign SubscriptStore NameLoad Index SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Return UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr Str Return IfExp NameLoad NameLoad NameLoad orelse Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Return UnaryOpNot Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list
N/A N/A 
Monit service module. This module will create a monit type
service watcher.
 __future__ absolute_import N/A re N/A salt.utils N/A __func_alias__ N/A id_ reload_ id reload __virtual__ N/A N/A N/A N/A N/A N/A N/A N/A N/A salt utils which monit None N/A N/A True N/A N/A False The monit execution module cannot be loaded: the monit binary is not in the path. N/A start N/A N/A name N/A N/A N/A 

    CLI Example:

    .. code-block:: bash

        salt '*' monit.start <service name>
     N/A cmd N/A N/A monit start {0} format name N/A N/A N/A N/A __salt__ N/A cmd.retcode cmd python_shell False N/A stop N/A N/A name N/A N/A N/A 
    Stops service via monit

    CLI Example:

    .. code-block:: bash

        salt '*' monit.stop <service name>
     N/A cmd N/A N/A monit stop {0} format name N/A N/A N/A N/A __salt__ N/A cmd.retcode cmd python_shell False N/A restart N/A N/A name N/A N/A N/A 
    Restart service via monit

    CLI Example:

    .. code-block:: bash

        salt '*' monit.restart <service name>
     N/A cmd N/A N/A monit restart {0} format name N/A N/A N/A N/A __salt__ N/A cmd.retcode cmd python_shell False N/A unmonitor N/A N/A name N/A N/A N/A 
    Unmonitor service via monit

    CLI Example:

    .. code-block:: bash

        salt '*' monit.unmonitor <service name>
     N/A cmd N/A N/A monit unmonitor {0} format name N/A N/A N/A N/A __salt__ N/A cmd.retcode cmd python_shell False N/A monitor N/A N/A name N/A N/A N/A 
    monitor service via monit

    CLI Example:

    .. code-block:: bash

        salt '*' monit.monitor <service name>
     N/A cmd N/A N/A monit monitor {0} format name N/A N/A N/A N/A __salt__ N/A cmd.retcode cmd python_shell False N/A summary N/A N/A svc_name N/A N/A N/A 
    Display a summary from monit

    CLI Example:

    .. code-block:: bash

        salt '*' monit.summary
        salt '*' monit.summary <service name>
     N/A ret N/A N/A cmd monit summary N/A res N/A N/A N/A N/A __salt__ N/A cmd.run cmd splitlines N/A line res N/A N/A N/A daemon is not running line N/A N/A N/A dict monit daemon is not running result False N/A N/A N/A N/A line N/A svc_name line N/A The Monit daemon line N/A N/A N/A N/A parts N/A N/A line split ' N/A N/A N/A len parts 3 N/A N/A N/A resource name status_ N/A N/A N/A N/A parts N/A 0 strip N/A parts N/A 1 N/A N/A N/A parts N/A 2 strip N/A N/A N/A svc_name N/A svc_name name N/A N/A N/A N/A resource ret N/A N/A N/A ret N/A resource N/A N/A N/A N/A ret N/A resource N/A name status_ N/A ret N/A status N/A N/A svc_name N/A N/A N/A 
    Display a process status from monit

    CLI Example:

    .. code-block:: bash

        salt '*' monit.status
        salt '*' monit.status <service name>
     N/A cmd monit status N/A res N/A N/A __salt__ N/A cmd.run cmd N/A prostr N/A Process N/A 28 N/A s N/A N/A N/A N/A N/A N/A res replace Process prostr replace ' split N/A entries N/A N/A process N/A s N/A 1 -1 N/A N/A pro N/A N/A process splitlines N/A tmp N/A N/A items pro N/A N/A key N/A N/A N/A items N/A 36 strip N/A N/A tmp N/A key N/A N/A N/A items N/A 35 strip N/A N/A entries N/A N/A N/A N/A N/A pro N/A 0 split N/A 1 tmp N/A N/A svc_name N/A N/A ret entries N/A N/A ret N/A N/A entries get svc_name No such service N/A ret N/A reload_ N/A N/A N/A N/A N/A 
    .. versionadded:: 2016.3.0

    Reload monit configuration

    CLI Example:

    .. code-block:: bash

        salt '*' monit.reload
     N/A cmd monit reload N/A N/A N/A N/A __salt__ N/A cmd.retcode cmd python_shell False N/A configtest N/A N/A N/A N/A N/A 
    .. versionadded:: 2016.3.0

    Test monit configuration syntax

    CLI Example:

    .. code-block:: bash

        salt '*' monit.configtest
     N/A ret N/A N/A cmd monit -t N/A out N/A N/A __salt__ N/A cmd.run_all cmd N/A N/A N/A out N/A retcode 0 N/A N/A N/A ret N/A comment Syntax Error N/A N/A ret N/A stderr N/A out N/A stderr N/A N/A ret N/A result False N/A ret N/A N/A ret N/A comment Syntax OK N/A N/A ret N/A stdout N/A out N/A stdout N/A N/A ret N/A result True N/A ret N/A version N/A N/A N/A N/A N/A 
    .. versionadded:: 2016.3.0

    Return version from monit -V

    CLI Example:

    .. code-block:: bash

        salt '*' monit.version
     N/A cmd monit -V N/A out N/A N/A N/A N/A __salt__ N/A cmd.run cmd splitlines N/A ret N/A N/A N/A out N/A 0 split N/A N/A ret N/A -1 N/A id_ N/A N/A reset N/A False N/A N/A 
    .. versionadded:: 2016.3.0

    Return monit unique id.

    reset : False
        Reset current id and generate a new id when it's True.

    CLI Example:

    .. code-block:: bash

        salt '*' monit.id [reset=True]
     N/A reset N/A N/A id_pattern N/A N/A re compile Monit id (?P<id>[^ ]+) N/A cmd echo y|monit -r N/A out N/A N/A __salt__ N/A cmd.run_all cmd python_shell True N/A ret N/A N/A N/A N/A id_pattern search N/A out N/A stdout group id N/A N/A ret ret False N/A N/A cmd monit -i N/A out N/A N/A __salt__ N/A cmd.run cmd N/A ret N/A N/A N/A N/A N/A out split : N/A -1 strip N/A ret N/A validate N/A N/A N/A N/A N/A 
    .. versionadded:: 2016.3.0

    Check all services

    CLI Example:

    .. code-block:: bash

        salt '*' monit.validate
     N/A cmd monit validate N/A N/A N/A N/A __salt__ N/A cmd.retcode cmd python_shell False N/A