-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
55 lines (55 loc) · 1.39 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"ClusterID": 128,
"Addresses": [
"localhost:63001",
"localhost:63002",
"localhost:63003"
],
"UseHostnameIdentification": false,
"Debug": true,
"UseTLS": true,
"TLSCert" : "./keys/node1.crt",
"TLSKey" : "./keys/node1.key",
"TLSCACert" : "./keys/ca.crt",
"NatsService": {
"Service": "nats",
"Hosts": [
"tls://localhost:4222"
],
"Context": "toc.track.notify",
"Secure": true,
"CACert": "./keys/rootCa.crt",
"Cert": "./keys/nats-client.crt",
"Key": "./keys/nats-client.key",
"Format": "json"
},
"Commands": [
{
"Type": "shell",
"Exec" : "ls",
"Args" : "-al",
"Timeout" : 300,
"Secure": false,
"Retry": 0,
"Critical" : false,
"Cron": {
"Minute" : "52",
"Hour" : "*",
"Day" : "*",
"Month" : "*",
"Weekday" : "*",
"Once": false
},
"Comment" : "Demo command runs every 52nd minute"
},
{
"Type": "nats",
"Exec" : "system.check",
"Args" : "{'ok':true}",
"Timeout" : 3000,
"Secure": false,
"Retry": 3,
"Critical" :true
}
]
}