Skip to content

Instantly share code, notes, and snippets.

init_config:
instances:
- token: {{ token }}
min_collection_interval: 300
import urllib2
import simplejson
import socket
try:
# first, try to import the base class from old versions of the Agent...
from checks import AgentCheck
except ImportError:
# ...if the above failed, the check is running in Agent version 6 or later
from datadog_checks.checks import AgentCheck
[rocky.anders] ➤ vagrant ssh --debug
INFO global: Vagrant version: 1.7.2
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_DETECTED_OS="CYGWIN_NT-6.3-WOW64"
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.7.2\\bin\\vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
### Keybase proof
I hereby claim:
* I am thenoid on github.
* I am rocky (https://keybase.io/rocky) on keybase.
* I have a public key whose fingerprint is DFFA 7EE6 C35D A419 C530 4EB2 F851 8D79 4CA3 9D40
To claim this, I am signing this object: