Get an api key from yo
Go to Datadog webhook integration page
Setup the parameters as follows
Url = http://api.justyo.co/yo/
{ | |
"To":"+1347XXXXXX", | |
"From":"+1347XXXXXXX", | |
"Body":"Something happened in Datadog" | |
} |
init_config: | |
# - check_freq: 15 | |
instances: | |
- nagios_conf: /path/to/first/nagios/conf.cfg | |
collect_events: True | |
collect_host_performance_data: False | |
collect_service_performance_data: False | |
- nagios_conf: /path/to/second/nagios/conf.cfg |
Name: The name you want, maybe your jira project if you plan to use several | |
url: https://jirausername:jirapassword@yourdomain.atlassian.net/rest/api/2/issue | |
example: mine is https://rudy:mypassword@rudybunel.atlassian.net/rest/api/2/issue | |
Check Use Custom payload | |
Custom payload: {"fields": {"project": {"key": "PER"}, "issuetype": {"name": "Task"}, "description": "There is an issue Look at the following graph: $SNAPSHOT and checkout the event at $LINK", "summary": "$EVENT_TITLE"}} | |
Don't check Encode as form |
{ | |
"To":"+1347XXXXXXX", | |
"From":"+1347XXXXXX", | |
"Body":"$EVENT_TITLE \n Related Graph: $SNAPSHOT" | |
} |
{ | |
"To":"+1347XXXXXX", | |
"From":"+1347XXXXXXX", | |
"Body":"Something happened in Datadog" | |
} |
{ | |
"To":"+1347XXXXXXX", | |
"From":"+1347XXXXXX", | |
"Body":"$EVENT_TITLE \n Related Graph: $SNAPSHOT" | |
} |
Get an api key from yo
Go to Datadog webhook integration page
Setup the parameters as follows
Url = http://api.justyo.co/yo/
Try
> import wmi
> conn=wmi.WMI(None)
> res = conn.Win32_PerfFormattedData_PerfDisk_PhysicalDisk()
> print res[0]
If it doesn't work, try:
<Task commandLine="installDatadogAgent.cmd YOUR_API_KEY" executionContext="elevated" /> |
-- Without the monkeypatching (standard nn) | |
rudy@rudy-Tower:~workspace/utc-caltech[master] | |
$ time luajit luatools/prediction.lua | |
data/res/divers-bignn/set09/V010.txt | |
real 1m1.162s | |
user 0m51.132s | |
sys 0m13.084s |