Skip to content

Instantly share code, notes, and snippets.

View Northwood128's full-sized avatar

Agustin Recalde Northwood128

View GitHub Profile
name: orders
time items siteId messageId price shipping site
---- ----- ------------- --------- ----- -------- ----
1500600528000 1 1 48953fc4-eaf4-57eb-adb0-6e2fb1e4683f 40.49 3.95 site1
1500600938000 6 2 618c7a89-40aa-5b81-a834-2b621c004501 448.18 0 site2
1500601107000 1 2 a56df6b7-2d96-553a-8cc7-a75c70c5eba0 114.48 0 site2
{
"checks": {
"CheckHostAlive": {
"command": "/opt/sensu/plugins/check_icmp -H host1 -w 150.0,40% -c 250.0,80% -p 5",
"interval": 10,
"standalone": true,
"source": "host1",
"handler": "mailer",
"playbook": "http://example.com",
"occurrences": 2,
{
"checks": {
"NameOfMyCheck": {
"command": "/my/plugin -H myProxyClient -l label -P 2c -C public -o <heregoestheoid> -w warn -c crit",
"handler": "mailer",
"interval": 60,
"source": "myProxyClient",
"subscribers": [
"myProxyClient"
],
{
"timestamp": "2017-02-08T13:42:10.990312-0800",
"level": "info",
"message": "publishing check request",
"payload": {
"command": "/the/path/to/my/script -H myproxy-client -l label -P 2c -C public -o <here-goes-the-oid> -w warn -c crit",
"handler": "mailer",
"source": "myproxy-client",
"occurrences": 2,
"refresh": 1800,