FreeBSD Bugzilla – Attachment 174362 Details for
Bug 208561
[NEW PORT] sysutils/datadog: Datadog Cloud-Scale Monitoring agent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Datadog port
datadog.shar (text/plain), 25.57 KB, created by
uros
on 2016-09-04 08:29:25 UTC
(
hide
)
Description:
Datadog port
Filename:
MIME Type:
Creator:
uros
Created:
2016-09-04 08:29:25 UTC
Size:
25.57 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># datadog ># datadog/files ># datadog/files/datadog-dogstatsd.in ># datadog/files/patch-setup.py ># datadog/files/patch-utils_service__discovery_sd__backend.py ># datadog/files/datadog-collector.in ># datadog/files/patch-agent.py ># datadog/files/pkg-deinstall.in ># datadog/files/patch-utils_configcheck.py ># datadog/files/patch-dogstatsd.py ># datadog/files/pkg-message.in ># datadog/files/patch-util.py ># datadog/files/patch-utils_service__discovery_config__stores.py ># datadog/files/patch-utils_platform.py ># datadog/files/patch-datadog.conf.example ># datadog/pkg-descr ># datadog/pkg-plist ># datadog/distinfo ># datadog/Makefile ># >echo c - datadog >mkdir -p datadog > /dev/null 2>&1 >echo c - datadog/files >mkdir -p datadog/files > /dev/null 2>&1 >echo x - datadog/files/datadog-dogstatsd.in >sed 's/^X//' >datadog/files/datadog-dogstatsd.in << 'eea48cae504b8520863f3e97ba4f1f7e' >X#!/bin/sh >X >X# $FreeBSD$ >X# >X# PROVIDE: datadog_dogstatsd >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# Add these lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# datadog_dogstatsd (bool): Set to NO by default. >X# Set it to YES to enable datadog dogstatsd. >X# >X >X. /etc/rc.subr >X >Xname=datadog_dogstatsd >Xrcvar=datadog_dogstatsd_enable >X >Xload_rc_config $name >X >X: ${datadog_dogstatsd_enable:="NO"} >X: ${datadog_dogstatsd_user="datadog"} >X >Xcommand="%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/dogstatsd.py" >Xcommand_interpreter="%%PYTHON_CMD%%" >X >Xrequired_files=%%ETCDIR%%/datadog.conf >Xpidfile="%%RUNDIR%%/dogstatsd.pid" >X >Xextra_commands="restart status restart info" >X >Xstart_cmd="${name}_start" >Xstop_cmd="${name}_stop" >Xrestart_cmd="${name}_restart" >Xstatus_cmd="${name}_status" >Xinfo_cmd="${name}_info" >X >Xdatadog_dogstatsd_start() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} start" >X} >X >Xdatadog_dogstatsd_stop() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} stop" >X} >X >Xdatadog_dogstatsd_status() >X{ >X rc_pid=`check_pidfile ${pidfile} ${command} ${command_interpreter}` >X if [ -n "${rc_pid}" ]; then >X echo "Datadog dogstatsd is running as pid ${rc_pid}." >X else >X echo "Datadog dogstatsd is not running." >X return 1 >X fi >X} >X >Xdatadog_dogstatsd_restart() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} restart" >X} >X >Xdatadog_dogstatsd_info() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} info $@" >X exit $? >X} >X >Xrun_rc_command "$@" >X >eea48cae504b8520863f3e97ba4f1f7e >echo x - datadog/files/patch-setup.py >sed 's/^X//' >datadog/files/patch-setup.py << '7eacad96a8b152a128d9c3e0b415f962' >X--- setup.py.orig 2016-07-25 21:41:43 UTC >X+++ setup.py >X@@ -25,7 +25,7 @@ setup_requires = [] >X install_requires = [] >X >X # Modified on mac >X-app_name = 'datadog-agent' >X+app_name = 'datadog' >X # plist (used only on mac) >X plist = None >X >X@@ -173,7 +173,13 @@ setup( >X url='http://www.datadoghq.com', >X install_requires=install_requires, >X setup_requires=setup_requires, >X- packages=find_packages(), >X+ package_dir={'datadog': '.'}, >X+ packages=[ >X+ 'datadog', 'datadog.checks', >X+ 'datadog.utils', 'datadog.utils.service_discovery', >X+ 'datadog.checks.libs', 'datadog.checks.libs.vmware', 'datadog.checks.system', >X+ 'datadog.dogstream' >X+ ], >X include_package_data=True, >X test_suite='nose.collector', >X zip_safe=False, >7eacad96a8b152a128d9c3e0b415f962 >echo x - datadog/files/patch-utils_service__discovery_sd__backend.py >sed 's/^X//' >datadog/files/patch-utils_service__discovery_sd__backend.py << '133c3224ff69921a6c6fba2832896b96' >X--- utils/service_discovery/sd_backend.py.orig 2016-08-05 07:19:39 UTC >X+++ utils/service_discovery/sd_backend.py >X@@ -5,13 +5,11 @@ >X # std >X import logging >X >X-# project >X-from utils.service_discovery.sd_docker_backend import SDDockerBackend >X >X log = logging.getLogger(__name__) >X >X AUTO_CONFIG_DIR = 'auto_conf/' >X-SD_BACKENDS = ['docker'] >X+SD_BACKENDS = [] >X >X >X def get_sd_backend(agentConfig): >133c3224ff69921a6c6fba2832896b96 >echo x - datadog/files/datadog-collector.in >sed 's/^X//' >datadog/files/datadog-collector.in << 'a65291c3a107265ed67fd4412b6f3fdc' >X#!/bin/sh >X >X# $FreeBSD$ >X# >X# PROVIDE: datadog_collector >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# Add these lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# datadog_collector (bool): Set to NO by default. >X# Set it to YES to enable datadog. >X# >X >X. /etc/rc.subr >X >Xname=datadog_collector >Xrcvar=datadog_collector_enable >X >Xload_rc_config $name >X >X: ${datadog_collector_enable:="NO"} >X: ${datadog_collector_user="datadog"} >X >Xcommand="%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/agent.py" >Xcommand_interpreter="%%PYTHON_CMD%%" >X >Xrequired_files=%%ETCDIR%%/datadog.conf >Xpidfile="%%RUNDIR%%/collector.pid" >X >Xextra_commands="status restart info configcheck check" >X >Xstart_cmd="${name}_start" >Xstop_cmd="${name}_stop" >Xstatus_cmd="${name}_status" >Xrestart_cmd="${name}_restart" >Xinfo_cmd="${name}_info" >Xconfigcheck_cmd="${name}_configcheck" >Xcheck_cmd="${name}_check" >X >Xdatadog_collector_start() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} start" >X} >X >Xdatadog_collector_stop() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} stop" >X} >X >Xdatadog_collector_status() >X{ >X rc_pid=`check_pidfile ${pidfile} ${command} ${command_interpreter}` >X if [ -n "${rc_pid}" ]; then >X echo "Datadog collector is running as pid ${rc_pid}." >X else >X echo "Datadog collector is not running." >X return 1 >X fi >X} >X >Xdatadog_collector_restart() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} restart" >X} >X >Xdatadog_collector_info() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} info $@" >X exit $? >X} >X >Xdatadog_collector_configcheck() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} configcheck" >X exit $? >X} >X >Xdatadog_collector_check() >X{ >X su -m %%USER%% -c "${command_interpreter} ${command} check $@" >X exit $? >X} >X >Xrun_rc_command "$@" >X >a65291c3a107265ed67fd4412b6f3fdc >echo x - datadog/files/patch-agent.py >sed 's/^X//' >datadog/files/patch-agent.py << 'b8e279295ad2bb462ff29819ee57ada1' >X--- agent.py.orig 2016-09-03 10:51:39 UTC >X+++ agent.py >X@@ -48,8 +48,8 @@ from utils.service_discovery.config_stor >X from utils.service_discovery.sd_backend import get_sd_backend >X >X # Constants >X-PID_NAME = "dd-agent" >X-PID_DIR = None >X+PID_NAME = "collector" >X+PID_DIR = "%%RUNDIR%%" >X WATCHDOG_MULTIPLIER = 10 >X RESTART_INTERVAL = 4 * 24 * 60 * 60 # Defaults to 4 days >X START_COMMANDS = ['start', 'restart', 'foreground'] >b8e279295ad2bb462ff29819ee57ada1 >echo x - datadog/files/pkg-deinstall.in >sed 's/^X//' >datadog/files/pkg-deinstall.in << 'e482002178dca3dec7d3305e208dac2a' >X#!/bin/sh >X# $FreeBSD$ >X >Xif [ "$2" != "POST-DEINSTALL" ]; then >X exit 0 >Xfi >X >XUSER=%%USER%% >X >Xecho >Xecho "====================================================" >Xecho >Xecho "If you want remove datadog permanently from you system" >Xecho "execute following commands:" >Xecho >Xecho " # rm -rf %%LOGDIR%%" >Xecho " # rm -rf %%RUNDIR%%" >Xecho " # rm -rf %%ETCDIR%%" >Xif pw usershow "${USER}" 2>/dev/null 1>&2; then >X echo " # pw userdel ${USER}" >Xfi >Xecho >Xecho "====================================================" >Xecho >X >Xexit 0 >e482002178dca3dec7d3305e208dac2a >echo x - datadog/files/patch-utils_configcheck.py >sed 's/^X//' >datadog/files/patch-utils_configcheck.py << 'd305214e045769383e84f06e8642d427' >X--- utils/configcheck.py.orig 2016-09-02 21:57:40 UTC >X+++ utils/configcheck.py >X@@ -13,7 +13,6 @@ from config import ( >X get_confd_path >X ) >X from util import get_hostname >X-from utils.dockerutil import DockerUtil >X from utils.service_discovery.config_stores import get_config_store, SD_CONFIG_BACKENDS, TRACE_CONFIG >X >X >X@@ -61,11 +60,6 @@ def get_sd_configcheck(agentConfig, conf >X print('Check "%s":\n source --> %s\n config --> %s\n' % (check_name, config[0], config[1])) >X >X try: >X- print_containers() >X- except Exception: >X- print("Failed to collect containers info.") >X- >X- try: >X print_templates(agentConfig) >X except Exception: >X print("Failed to collect configuration templates.") >d305214e045769383e84f06e8642d427 >echo x - datadog/files/patch-dogstatsd.py >sed 's/^X//' >datadog/files/patch-dogstatsd.py << '9894288414016190488ef33e42d25587' >X--- dogstatsd.py.orig 2016-09-03 10:52:31 UTC >X+++ dogstatsd.py >X@@ -53,7 +53,7 @@ requests_log.propagate = True >X log = logging.getLogger('dogstatsd') >X >X PID_NAME = "dogstatsd" >X-PID_DIR = None >X+PID_DIR = "%%RUNDIR%%" >X >X # Dogstatsd constants in seconds >X DOGSTATSD_FLUSH_INTERVAL = 10 >9894288414016190488ef33e42d25587 >echo x - datadog/files/pkg-message.in >sed 's/^X//' >datadog/files/pkg-message.in << '3339444e61c980c0de58e29cbccb3f22' >X========================================================================= >X >XThe DataDog port has been installed with an example config file, located >Xin %%ETCDIR%%/datadog.conf.sample. >X >XBefore starting the daemon, edit %%ETCDIR%%/datadog.conf and >Xupdate "api_key" with DataDog API key >Xavaliable https://app.datadoghq.com/account/settings#api >X >X========================================================================= >3339444e61c980c0de58e29cbccb3f22 >echo x - datadog/files/patch-util.py >sed 's/^X//' >datadog/files/patch-util.py << 'c58ba734e0e3135d83324d8cbc40d46b' >X--- util.py.orig 2016-08-04 21:31:51 UTC >X+++ util.py >X@@ -33,7 +33,6 @@ except ImportError: >X # if a user actually uses them in a custom check >X # If you're this user, please use utils.pidfile or utils.platform instead >X # FIXME: remove them at a point (6.x) >X-from utils.dockerutil import DockerUtil >X from utils.pidfile import PidFile # noqa, see ^^^ >X from utils.platform import Platform >X from utils.proxy import get_proxy >X@@ -200,13 +199,6 @@ def get_hostname(config=None): >X if is_valid_hostname(gce_hostname): >X return gce_hostname >X >X- # Try to get the docker hostname >X- docker_util = DockerUtil() >X- if hostname is None and docker_util.is_dockerized(): >X- docker_hostname = docker_util.get_hostname() >X- if docker_hostname is not None and is_valid_hostname(docker_hostname): >X- hostname = docker_hostname >X- >X # then move on to os-specific detection >X if hostname is None: >X def _get_hostname_unix(): >c58ba734e0e3135d83324d8cbc40d46b >echo x - datadog/files/patch-utils_service__discovery_config__stores.py >sed 's/^X//' >datadog/files/patch-utils_service__discovery_config__stores.py << 'f9d5f6ae33ecbe665095e9299a8d80b4' >X--- utils/service_discovery/config_stores.py.orig 2016-08-05 07:20:13 UTC >X+++ utils/service_discovery/config_stores.py >X@@ -6,11 +6,8 @@ >X from utils.service_discovery.abstract_config_store import AbstractConfigStore >X from utils.service_discovery.abstract_config_store import CONFIG_FROM_AUTOCONF, CONFIG_FROM_FILE, CONFIG_FROM_TEMPLATE, TRACE_CONFIG # noqa imported somewhere else >X >X-from utils.service_discovery.etcd_config_store import EtcdStore >X-from utils.service_discovery.consul_config_store import ConsulStore >X- >X >X-SD_CONFIG_BACKENDS = ['etcd', 'consul'] # noqa: used somewhere else >X+SD_CONFIG_BACKENDS = [] # noqa: used somewhere else >X SD_TEMPLATE_DIR = '/datadog/check_configs' >X >X >f9d5f6ae33ecbe665095e9299a8d80b4 >echo x - datadog/files/patch-utils_platform.py >sed 's/^X//' >datadog/files/patch-utils_platform.py << 'a9ba96cb610c7852a55974946e5ac7ab' >X--- utils/platform.py.orig 2016-09-02 21:49:25 UTC >X+++ utils/platform.py >X@@ -5,10 +5,7 @@ >X # stdlib >X import sys >X >X-# project >X-from utils.dockerutil import DockerUtil >X- >X-_is_ecs = None >X+_is_ecs = False >X >X class Platform(object): >X """ >X@@ -72,4 +69,5 @@ class Platform(object): >X >X @staticmethod >X def is_ecs_instance(): >X- return DockerUtil().is_ecs() >X+ return False >X+ >a9ba96cb610c7852a55974946e5ac7ab >echo x - datadog/files/patch-datadog.conf.example >sed 's/^X//' >datadog/files/patch-datadog.conf.example << '56c874918aab6fb5b1708d27aa819b01' >X--- datadog.conf.example.orig 2016-09-03 09:55:24 UTC >X+++ datadog.conf.example >X@@ -30,9 +30,6 @@ api_key: >X # and dice per monitored app (= running Agent Check) on Datadog's backend. >X # create_dd_check_tags: no >X >X-# Collect AWS EC2 custom tags as agent tags (requires an IAM role associated with the instance) >X-# collect_ec2_tags: no >X- >X # Incorporate security-groups into tags collected from AWS EC2 >X # collect_security_groups: no >X >X@@ -50,10 +47,6 @@ gce_updated_hostname: yes >X # Defaults to 30 seconds if no value is provided >X # recent_point_threshold: 30 >X >X-# Use mount points instead of volumes to track disk and fs metrics >X-# DEPRECATED: use conf.d/disk.yaml instead to configure it >X-use_mount: no >X- >X # Change port the Agent is listening to >X # listen_port: 17123 >X >X@@ -213,7 +206,7 @@ use_mount: no >X # Logging >X # ========================================================================== # >X >X-# log_level: INFO >X+log_level: WARNING >X >X # collector_log_file: /var/log/datadog/collector.log >X # forwarder_log_file: /var/log/datadog/forwarder.log >56c874918aab6fb5b1708d27aa819b01 >echo x - datadog/pkg-descr >sed 's/^X//' >datadog/pkg-descr << 'b6e4f7cd001bd6abdf9b1597ed9f7278' >XCloud-Scale Monitoring >X >XThe Datadog Agent faithfully collects events and metrics and brings them >Xto Datadog on your behalf so that you can do something useful with your >Xmonitoring and performance data. >X >XWWW: https://www.datadoghq.com >b6e4f7cd001bd6abdf9b1597ed9f7278 >echo x - datadog/pkg-plist >sed 's/^X//' >datadog/pkg-plist << '955554a97fc83e1b537196af58e01cbc' >X@sample(%%USER%%,%%GROUP%%,640) %%ETCDIR%%/datadog.conf.sample >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/activemq_xml.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/agent_metrics.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/apache.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/btrfs.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/cacti.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/ceph.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/consul.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/couch.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/couchbase.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/directory.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/disk.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/dns_check.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/docker.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/docker_daemon.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/elastic.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/etcd.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/fluentd.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/gearmand.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/go_expvar.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/gunicorn.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/haproxy.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/hdfs.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/hdfs_datanode.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/hdfs_namenode.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/http_check.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/iis.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/jenkins.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/kafka_consumer.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/kubernetes.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/kyototycoon.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/lighttpd.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/linux_proc_extras.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/mapreduce.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/marathon.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/mcache.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/mesos.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/mesos_master.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/mesos_slave.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/mongo.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/mysql.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/nagios.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/network.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/nginx.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/ntp.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/openstack.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/pgbouncer.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/php_fpm.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/postfix.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/postgres.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/process.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/rabbitmq.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/redisdb.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/riak.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/riakcs.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/snmp.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/sqlserver.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/ssh_check.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/statsd.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/supervisord.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/system_core.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/system_swap.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/tcp_check.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/teamcity.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/tokumx.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/varnish.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/vsphere.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/win32_event_log.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/windows_service.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/wmi_check.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/yarn.py >X%%PYTHON_SITELIBDIR%%/%%PORTNAME%%/checks.d/zk.py >X%%ETCDIR%%/conf.d/network.yaml.default >X%%ETCDIR%%/conf.d/agent_metrics.yaml.default >X%%ETCDIR%%/conf.d/disk.yaml.default >X%%ETCDIR%%/conf.d/ntp.yaml.default >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/activemq.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/activemq_58.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/activemq_xml.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apache.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/btrfs.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cacti.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cassandra.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ceph.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/consul.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/couch.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/couchbase.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/directory.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dns_check.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docker.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/docker_daemon.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elastic.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/etcd.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fluentd.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gearmand.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/go-metro.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/go_expvar.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gunicorn.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/haproxy.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hdfs.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hdfs_datanode.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hdfs_namenode.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/http_check.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iis.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jenkins.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jmx.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kafka.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kafka_consumer.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kubernetes.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kyototycoon.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lighttpd.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/linux_proc_extras.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mapreduce.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/marathon.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mcache.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mesos.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mesos_master.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mesos_slave.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mongo.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mysql.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nagios.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nginx.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/openstack.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgbouncer.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/php_fpm.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfix.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/postgres.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/process.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rabbitmq.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/redisdb.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/riak.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/riakcs.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snmp.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/solr.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sqlserver.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssh_check.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/statsd.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/supervisord.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/system_core.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/system_swap.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp_check.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/teamcity.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tokumx.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tomcat.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/varnish.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vsphere.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/win32_event_log.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/windows_service.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wmi_check.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yarn.yaml.example >X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zk.yaml.example >X%%PYTHON_SITELIBDIR%%/datadog/datadog-cert.pem >X@dir(%%USER%%,%%GROUP%%,0750) %%ETCDIR%%/checks.d >X@dir(%%USER%%,%%GROUP%%,0750) %%ETCDIR%%/conf.d >X@dir(%%USER%%,%%GROUP%%,0750) %%LOGDIR%% >X@dir(%%USER%%,%%GROUP%%,0750) %%RUNDIR%% >X >955554a97fc83e1b537196af58e01cbc >echo x - datadog/distinfo >sed 's/^X//' >datadog/distinfo << '2ed67bdf0d59680225cba0e827f46cbb' >XTIMESTAMP = 1470339773 >XSHA256 (DataDog-dd-agent-5.8.5_GH0.tar.gz) = 612cb98972e88aac528f5e013c045d0e18f0c0bce832d5cd9492ccd01d611a4f >XSIZE (DataDog-dd-agent-5.8.5_GH0.tar.gz) = 7112564 >2ed67bdf0d59680225cba0e827f46cbb >echo x - datadog/Makefile >sed 's/^X//' >datadog/Makefile << '6e2972b597bed839fdca8978c64dfc92' >X# $FreeBSD$ >X >XPORTNAME= datadog >XPORTVERSION= 5.8.5 >XCATEGORIES= sysutils >X >XMAINTAINER= uros@gruber.si >XCOMMENT= Data Dog agent >X >XLICENSE= BSD4CLAUSE >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ >X ${PYTHON_PKGNAMEPREFIX}simplejson>=3.6.5:devel/py-simplejson \ >X ${PYTHON_PKGNAMEPREFIX}tornado>=3.2.2:www/py-tornado \ >X ${PYTHON_PKGNAMEPREFIX}requests>=2.6.0:www/py-requests >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ >X ${PYTHON_PKGNAMEPREFIX}simplejson>=3.6.5:devel/py-simplejson \ >X ${PYTHON_PKGNAMEPREFIX}tornado>=3.2.2:www/py-tornado \ >X ${PYTHON_PKGNAMEPREFIX}boto>=2.36.0:devel/py-boto \ >X ${PYTHON_PKGNAMEPREFIX}ntplib>=0.3.3:net/py-ntplib \ >X ${PYTHON_PKGNAMEPREFIX}requests>=2.6.0:www/py-requests \ >X ${PYTHON_PKGNAMEPREFIX}psutil>=2.1.1:sysutils/py-psutil \ >X ${PYTHON_PKGNAMEPREFIX}uptime>=3.0.1:sysutils/py-uptime >XTEST_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock \ >X ${PYTHON_PKGNAMEPREFIX}nose>=1.3.4:devel/py-nose \ >X ${PYTHON_PKGNAMEPREFIX}flake8>=2.3.0:devel/py-flake8 >X >XUSE_GITHUB= yes >XGH_ACCOUNT= DataDog >XGH_PROJECT= dd-agent >X >XUSES= python:2.7+ shebangfix >XUSE_PYTHON= autoplist distutils >XSHEBANG_FILES= agent.py ddagent.py dogstatsd.py >Xpython_OLD_CMD= /opt/datadog-agent/embedded/bin/python >X >XUSE_RC_SUBR= ${PORTNAME}-collector ${PORTNAME}-dogstatsd >X >XRUNDIR?= /var/run/${PORTNAME} >XLOGDIR?= /var/log/${PORTNAME} >X >XUSERS= datadog >XGROUPS= ${USERS} >X >XSUB_FILES= pkg-message pkg-deinstall >XSUB_LIST= RUNDIR=${RUNDIR} \ >X LOGDIR=${LOGDIR} \ >X PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ >X PYTHON_CMD=${PYTHON_CMD} \ >X USER=${USERS} \ >X PORTNAME=${PORTNAME} >X >XPLIST_SUB+= RUNDIR=${RUNDIR} \ >X LOGDIR=${LOGDIR} \ >X USER=${USERS} \ >X GROUP=${GROUPS} \ >X PORTNAME=${PORTNAME} >X >XCONFFILES= conf.d/* >XCHECKFILES= checks.d/* >X >XPORTDOCS= README.md CHANGELOG.md CONTRIBUTING.md LICENSE >X >XOPTIONS_DEFINE= DOCS >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|/etc/dd-agent|${ETCDIR}|g' \ >X ${WRKSRC}/config.py \ >X ${WRKSRC}/utils/flare.py \ >X ${WRKSRC}/datadog.conf.example >X @${REINPLACE_CMD} -e 's|%%RUNDIR%%|${RUNDIR}|g' \ >X ${WRKSRC}/agent.py \ >X ${WRKSRC}/dogstatsd.py >X >Xpost-install: >X ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d >X ${MKDIR} ${STAGEDIR}${ETCDIR}/checks.d >X ${MKDIR} ${STAGEDIR}${RUNDIR} >X ${MKDIR} ${STAGEDIR}${LOGDIR} >X ${MKDIR} ${STAGEDIR}${DOCSDIR} >X ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >X ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/checks.d >X >X.for i in ${CHECKFILES} >X ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/checks.d >X.endfor >X >X ${INSTALL_DATA} ${WRKSRC}/datadog.conf.example ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample >X >X.for i in ${CONFFILES} >X ${INSTALL_DATA} ${WRKSRC}/${i}.example ${STAGEDIR}${EXAMPLESDIR} >X ${INSTALL_DATA} ${WRKSRC}/${i}.default ${STAGEDIR}${ETCDIR}/conf.d/ >X.endfor >X >X.for i in ${PORTDOCS} >X ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} >X.endfor >X >X ${INSTALL_DATA} ${WRKSRC}/datadog-cert.pem ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} >X >Xregression-test: build >X @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test >X >X.include <bsd.port.mk> >6e2972b597bed839fdca8978c64dfc92 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 208561
:
169018
| 174362