| Server IP : www.new.bangkokfinder.com / Your IP : 108.162.226.197 Web Server : nginx/1.20.1 System : Linux new 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64 User : bangkokfinder ( 1000) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/datadog-agent/conf.d/systemd.d/ |
Upload File : |
init_config:
instances:
## @param unit_names - list of strings - required
## List of systemd units to monitor.
## Full names must be used. Examples: ssh.service, docker.socket
#
- unit_names:
- <UNIT_NAME>
## @param private_socket - string - optional
## Path to systemd private socket needed to retrieve systemd data.
## Defaults to `/run/systemd/private` or `/host/run/systemd/private` when
## using Docker Agent (https://docs.datadoghq.com/agent/docker/).
##
# private_socket: <PATH_TO_SYSTEMD_PRIVATE_SOCKET>
## @param substate_status_mapping - object - optional
## The integration will emits an additional `systemd.unit.substate` service check which value is
## based on the provided mapping from systemd substate to service check status.
## This configuration option allows you to be alerted on the unit substate for some specific situations.
## Such a case includes units that are expected to be always running
## but the systemd reported state and substate is 'active (exited)'. The provided example will send a
## CRITICAL service check in that situation.
## Valid statuses are 'ok', 'warning', 'critical', and 'unknown'. If the substate is not mapped,
## the service check status will report 'unknown'.
#
# substate_status_mapping:
# <UNIT_NAME_1>:
# running: ok
# exited: critical
# <UNIT_NAME_2>:
# plugged: ok
# mounted: ok
# running: ok
# exited: critical
# stopped: critical
## @param tags - list of key:value elements - optional
## List of tags to attach to every metric, event, and service check emitted
## by this integration.
##
## Learn more about tagging: https://docs.datadoghq.com/tagging/
#
# tags:
# - <KEY_1>:<VALUE_1>
# - <KEY_2>:<VALUE_2>