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.
The Agent can collect data from Supervisor via HTTP server or UNIX socket. The Agent collects the same data no matter which collection method you configure.
Add a block like this to Supervisor’s main configuration file (e.g.
[inet_http_server] port=localhost:9001 ;username=user # optional ;password=pass # optional
Add blocks like these to
/etc/supervisor.conf (if they’re not already there):
[supervisorctl] serverurl=unix:///var/run/supervisor.sock [unix_http_server] file=/var/run/supervisor.sock chmod=777 chown=nobody:nogroup ;username=user # optional ;password=pass # optional
If Supervisor is running as root, make sure
chown is set so that non-root users (i.e. dd-agent) can read the socket.
Follow the instructions below to configure this check for an Agent running on a host. For containerized environments, see the Containerized section.
init_config: instances: ## 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
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 (i.e. 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.
|blank or |
Run the Agent’s
status subcommand and look for
supervisord under the Checks section.
|The number of supervisord monitored processes|
Shown as process
|The process uptime|
Shown as second
The Supervisor check does not include any events.
Returns CRITICAL if the Agent cannot connect to the HTTP server or UNIX socket you configured, otherwise OK.
The Agent submits this service check for all child processes of supervisord (if neither
proc_regex is configured) OR a set of child processes (those configured in
proc_regex), tagging each service check with
This table shows the
supervisord.process.status that results from each supervisord status:
Need help? Contact Datadog support.