monit - Manage the state of a program monitored via Monit

Author:Darryl Stoflet

Synopsis

New in version 1.2.

Manage the state of a program monitored via Monit

Options

parameter required default choices comments
name yes
    The name of the monit program/process to manage
    state yes
    • present
    • started
    • stopped
    • restarted
    • monitored
    • unmonitored
    • reloaded
    The state of service

    Examples


    # Manage the state of program "httpd" to be in "started" state.
    - monit: name=httpd state=started