forked from gaochao1/swcollector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.go
30 lines (28 loc) · 929 Bytes
/
const.go
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
package g
import (
"time"
)
// changelog:
// 3.1.3: code refactor
// 3.1.4: bugfix ignore configuration
// 3.1.5: more sw support, DisplayByBit cfg
// 3.1.6
// 3.2.0: more sw support, fix ping bug, add ifOperStatus,ifBroadcastPkt,ifMulticastPkt
// 3.2.1 add Discards,Error,UnknownProtos,QLen,fix some bugs
// 3.2.1.1 debugmetric support multi endpoints and metrics
// 3.2.1.2 gosnmp use getnext to walk snmp
// 4.0.0 caculate counter type on swcollect local,add speedpercent
// 4.0.1 fix sometimes ifstat pannic
// 4.0.2 fix speedpercent bug
// 4.0.4 add lock on map;add limconn for switch snmp request
// 4.0.5 add custom metric,custom host
// 4.0.6.1 fix channal closed bug
// 4.0.6.2 fix Vendor bug;add remote config api
// 4.0.6.3 fix bugs
// 4.1.0 support n9e transfer mode
// 4.1.1 n9e mode support debug
// 4.2.0 support get allip from ecmc nodes
const (
VERSION = "4.2.1"
COLLECT_INTERVAL = time.Second
)