Skip to content

Instantly share code, notes, and snippets.

from __future__ import print_function
import json
import subprocess
import argparse
import sys
def search_files(repo, data):
positives = 0
for entry in data:
""" Collect status information for Windows services
"""
# project
from checks import AgentCheck
from checks.wmi_check import WinWMICheck
from utils.containers import hash_mutable
from utils.timeout import TimeoutException
class WindowsService(WinWMICheck):
# (C) Datadog, Inc. 2010-2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
'''
Redis checks
'''
# stdlib
from collections import defaultdict
import re
# (C) Datadog, Inc. 2010-2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
# stdlib
from datetime import datetime, timedelta
from hashlib import md5
from Queue import Empty, Queue
import re
import ssl
# (C) Datadog, Inc. 2010-2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
# stdlib
import time
# 3p
import dns.resolver
#!/opt/datadog-agent/embedded/bin/python
import sys
import requests
if __name__ == "__main__":
print("Using python interpreter at {}".format(sys.executable))
print("Using requests version {}".format(requests.__version__))
addr = sys.argv[1]
# (C) Datadog, Inc. 2010-2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
# stdlib
from datetime import datetime
import _strptime # noqa
import os.path
from os import environ
import re
name: datadog-agent
channels:
- !!python/unicode
'defaults'
dependencies:
- !!python/unicode
'enum34=1.1.6=py27_0'
- !!python/unicode
'openssl=1.0.2j=vc9_0'
- !!python/unicode
name: datadog-agent
channels: !!python/tuple
- !!python/unicode
'defaults'
dependencies:
- enum34=1.1.6
- openssl=1.0.2j
- pip=8.1.2
- pycosat=0.6.1
- pycrypto=2.6.1

Keybase proof

I hereby claim:

  • I am masci on github.
  • I am masci (https://keybase.io/masci) on keybase.
  • I have a public key whose fingerprint is B8C1 E476 1E53 86F2 BAA1 5E6E EEB6 F9A0 22AA 96CA

To claim this, I am signing this object: