forked from intelsdi-x/snap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snap-config-sample.json
101 lines (101 loc) · 2.87 KB
/
snap-config-sample.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"log_level":2,
"log_path":"/var/log/snap",
"log_truncate":false,
"log_colors":true,
"gomaxprocs":2,
"control":{
"auto_discover_path":"/opt/snap/plugins:/opt/snap/tasks",
"max_plugin_restarts":10,
"cache_expiration":"750ms",
"listen_addr":"0.0.0.0",
"listen_port":10082,
"max_running_plugins":1,
"plugin_load_timeout":10,
"keyring_paths":"/etc/snap/keyrings",
"temp_dir_path":"/tmp",
"plugin_trust_level":0,
"tls_cert_path": "/tmp/snaptest-cli.crt",
"tls_key_path": "/tmp/snaptest-cli.key",
"ca_cert_paths": "/tmp/small-setup-ca.crt:/tmp/medium-setup-ca.crt:/tmp/ca-certs/",
"plugins":{
"all":{
"password":"p@ssw0rd"
},
"collector":{
"all":{
"user":"jane"
},
"pcm":{
"all":{
"path":"/usr/local/pcm/bin"
},
"versions":{
"1":{
"user":"john",
"someint":1234,
"somefloat":3.14,
"somebool":true
}
}
},
"psutil":{
"all":{
"path":"/usr/local/bin/psutil"
}
}
},
"publisher":{
"influxdb":{
"all":{
"server":"xyz.local",
"password":"$password"
}
}
},
"processor":{
"movingaverage":{
"all":{
"user":"jane"
},
"versions":{
"1":{
"user":"tiffany",
"password":"new password"
}
}
}
}
},
"tags": {
"/":{
"color": "green"
},
"/intel/psutil":{
"context": "config_example"
}
}
},
"scheduler":{
"work_manager_queue_size":10,
"work_manager_pool_size":2
},
"restapi":{
"enable":true,
"https":true,
"rest_auth":true,
"rest_auth_password":"changeme",
"rest_certificate":"/etc/snap/cert.pem",
"rest_key":"/etc/snap/cert.key",
"port":8282,
"addr":"127.0.0.1:12345",
"allowed_origins": "http://127.0.0.1:8888, https://snap-telemetry.io"
},
"tribe":{
"enable":true,
"bind_addr":"127.0.0.1",
"bind_port":16000,
"name":"localhost",
"seed":"1.1.1.1:16000"
}
}