-
Notifications
You must be signed in to change notification settings - Fork 95
/
cfg.example.json
81 lines (81 loc) · 1.63 KB
/
cfg.example.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
{
"debug": false,
"debugmetric":{
"endpoints":["endpoint-vpn"],
"metrics":["AnyconnectSession","ConnectionStat"],
"tags":""
},
"switch":{
"enabled": true,
"ipRange":[
"10.10.88.168"
],
"gosnmp":true,
"index_tag":false,
"pingTimeout":300,
"pingRetry":4,
"community":"123456",
"snmpTimeout":1000,
"snmpRetry":5,
"ignoreIface": ["Nu","NU","Vlan","Vl"],
"ignoreOperStatus": true,
"speedlimit":0,
"ignorePkt": true,
"pktlimit": 0,
"ignoreBroadcastPkt": true,
"broadcastPktlimit": 0,
"ignoreMulticastPkt": true,
"multicastPktlimit": 0,
"ignoreDiscards": true,
"discardsPktlimit": 0,
"ignoreErrors": true,
"errorsPktlimit": 0,
"ignoreUnknownProtos":true,
"unknownProtosPktlimit": 0,
"ignoreOutQLen":true,
"outQLenPktlimit": 0,
"fastPingMode": true,
"limitConcur": 1000,
"limitCon": 4
},
"ecmc":{
"enabled":false,
"addr":"http://ecmc.example.com",
"token":"x-user-token",
"nodes":[1,2,3,4]
},
"n9e":{
"enabled":false,
"addr":"http://n9e.example.com",
"user":"root",
"pass":"1234",
"nodes":[1,2,3,4]
},
"n9e_v3":{
"enabled":true,
"addr":"http://n9ev3.example.com",
"token":"x-user-token",
"nodes":[4]
},
"switchhosts":{
"enabled":false,
"hosts":"./hosts.json"
},
"customMetrics":{
"enabled":false,
"template":"./custom.json"
},
"transfer": {
"enabled": true,
"n9eMode":true,
"rpcMethod":"Transfer.Push",
"addr": "127.0.0.1:8009",
"interval": 300,
"timeout": 1000
},
"http": {
"enabled": false,
"listen": ":1989",
"trustIps":["192.168.0.1","192.168.0.2"]
}
}