Supported OS Linux Mac OS Windows

Integration version2.6.0
이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Supervisor Event


This check monitors the uptime, status, and number of processes running under Supervisor.



The Supervisor check is included in the Datadog Agent package, so you don’t need to install anything else on servers where Supervisor is running.


Prepare supervisord

The Agent can collect data from Supervisor through a HTTP server or UNIX socket. The Agent collects the same data no matter which collection method you configure.

HTTP server

Add a block like this to Supervisor’s main configuration file (/etc/supervisor.conf):

;username=user  # optional
;password=pass  # optional
UNIX socket

Add blocks like these to /etc/supervisor.conf (if they’re not already there):


;username=user  # optional
;password=pass  # optional

If Supervisor is running as root, make sure chmod or chown is set so that non-root users, such as dd-agent, can read the socket.

Reload supervisord.


To configure this check for an Agent running on a host:

Edit the supervisord.d/conf.yaml file in the conf.d/ folder at the root of your Agent’s configuration directory. See the sample supervisord.d/conf.yaml for all available configuration options:


  ## Used to tag service checks and metrics, i.e. supervisor_server:supervisord0
  - name: supervisord0
    host: localhost
    port: 9001
  ## To collect from the socket instead
  # - name: supervisord0
  #   socket: unix:///var/run/supervisor.sock

Use the proc_names and/or proc_regex options to list processes you want the Agent to collect metrics on and create service checks for. If you don’t provide either option, the Agent tracks all child processes of Supervisor. If you provide both options, the Agent tracks processes from both lists meaning the two options are not mutually exclusive.

See the example check configuration for comprehensive descriptions of other check options.

Restart the Agent to start sending Supervisor metrics to Datadog.


For containerized environments, see the Autodiscovery Integration Templates for guidance on applying the parameters below.

<INIT_CONFIG>blank or {}
<INSTANCE_CONFIG>{"name":"<SUPERVISORD_SERVER_NAME>", "host":"%%host%%", "port":"9001", "username":"<USERNAME>", "password":"<PASSWORD>"}

Log collection

  1. Collecting logs is disabled by default in the Datadog Agent, you need to enable it in datadog.yaml:

    logs_enabled: true
  2. Add this configuration block to your supervisord.d/conf.yaml file to start collecting your Supervisord Logs:

      - type: file
        path: /path/to/my/directory/file.log
        source: supervisord

    Change the path parameter value and configure it for your environment. See the sample supervisord.d/conf.yaml for all available configuration options.

  3. Restart the Agent.


Run the Agent’s status subcommand and look for supervisord under the Checks section.

Data Collected


The number of supervisord monitored processes
Shown as process
The process uptime
Shown as second


The Supervisor check does not include any events.

Service Checks

Returns CRITICAL if the Agent check is unable to connect to the supervisor daemon. Returns OK otherwise.
Statuses: ok, critical

Returns CRITICAL if the process is not running or stopping, UNKNOWN if starting or unknown, OK otherwise.
Statuses: ok, critical, unknown


Need help? Contact Datadog support.

Further Reading