-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrouterlogger.cfg
196 lines (179 loc) · 5.79 KB
/
routerlogger.cfg
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
##### RouterLogger ## Uncomment properties to enable custom settings #####
### Basic ###
router.username=admin
router.password=admin
#router.address=192.168.1.1
#router.port=23
### General ###
#logger.iterations=0
#logger.close.when.finished=false
#logger.interval.normal.ms=5000
#logger.interval.fast.ms=1000
#logger.hysteresis.ms=10000
#logger.retry.count=3
#logger.retry.interval.ms=30000
#logger.error.log.destination.path=C:/Router/Logs
#language=en
#log.email=false
#log.email.ignore.duplicates=true
#debug=false
### Network ###
#socket.timeout.ms=30000
#connection.timeout.ms=20000
#telnet.newline.characters=CRLF
#reader.log.connected=false
#reader.wait.disconnected=false
#reader.wait.disconnected.interval.threshold=true
#reader.wait.disconnected.interval.threshold.ms=1000
### Console ###
#console.animation=true
#console.show.configuration=false
#console.show.keys=downstreamNoiseMargin,downstreamCurrRate
#console.show.keys.separator=,
### GUI ###
#gui.table.items.max=2000
#gui.table.columns.pack=false
#gui.table.columns.padding.right=0
#gui.minimize.tray=true
#gui.start.minimized=false
#gui.tray.tooltip=true
#gui.confirm.close=false
#gui.console.max.chars=100000
#gui.important.keys=downstreamNoiseMargin,downstreamCurrRate
#gui.important.keys.separator=,
#gui.clipboard.max.chars=100000
#gui.important.keys.color.background=255,255,0
#gui.thresholds.reached.color.foreground=255,0,0
### Source ## TpLink8970Reader: TP-Link TD-W8970 V1 ## AsusDslN12EReader: ASUS DSL-N12E ## AsusDslN14UReader: ASUS DSL-N14U ## DLinkDsl2750Reader: D-Link DSL-2750B ## Specify your Reader's fully qualified class name for customized logging ###
#reader.class.name=TpLink8970Reader
#reader.class.name=AsusDslN12EReader
#reader.class.name=AsusDslN14UReader
#reader.class.name=DLinkDsl2750Reader
#reader.class.name=
### TP-Link TD-W8970 V1 ###
#tplink.8970.command.info.adsl=adsl show info
#tplink.8970.command.info.wan=wan show connection info pppoa_8_35_1_d
### ASUS DSL-N12E ###
#asus.dsln12e.command.info.adsl=show wan adsl
#asus.dsln12e.command.info.wan=show wan interface
### ASUS DSL-N14U ###
#asus.dsln14u.command.info.adsl=tcapi show Info_Adsl
#asus.dsln14u.command.info.wan=tcapi show Wan_PVC0
### D-Link DSL-2750B ###
#dlink.2750.command.info.adsl.status=adsl status
#dlink.2750.command.info.adsl.snr=adsl snr
### Destination ## CsvWriter: CSV ## DatabaseWriter: database ## Specify your Writer's fully qualified class name for customized logging ###
#writer.class.name=CsvWriter
#writer.class.name=DatabaseWriter
#writer.class.name=
### CSV ###
#csv.destination.path=C:/Router/Logs
#csv.newline.characters=CRLF
#csv.field.separator=;
#csv.field.separator.replacement=,
#csv.email=false
### Database ###
#database.driver.class.name=oracle.jdbc.OracleDriver
#database.url=jdbc:oracle:thin:@localhost:1521:XE
#database.username=routerlogger
#database.password=routerlogger
#database.table.name=router_log
#database.connection.validation.timeout.ms=2000
#database.timestamp.column.type=TIMESTAMP
#database.response.column.type=INTEGER
#database.info.column.type=VARCHAR(250)
#database.column.name.prefix=rl_
#database.column.name.max.length=30
#database.showsql=false
### Email ###
#email.host=
#email.username=
#email.password=
#email.from.name=
#email.from.address=
#email.to.addresses=
#email.cc.addresses=
#email.bcc.addresses=
#email.ssl.connect=false
#email.port=25
#email.ssl.port=465
#email.ssl.identity=false
#email.starttls.enabled=false
#email.starttls.required=false
#email.retry.interval.secs=60
#email.connection.timeout=60000
#email.socket.timeout=60000
#email.max.sendings.per.cycle=3
#email.max.queue.size=10
### HTTP Server ###
#server.enabled=false
#server.authentication=true
#server.username=
#server.password=
#server.port=8080
#server.log.request=INFO
#server.compress.response=true
#server.compress.response.html=true
#server.compress.response.json=true
#server.handler.close.enabled=false
#server.handler.connect.enabled=false
#server.handler.disconnect.enabled=false
#server.handler.restart.enabled=false
#server.handler.root.enabled=true
#server.handler.logs.enabled=true
#server.handler.status.enabled=true
#server.handler.status.refresh=false
#server.handler.status.refresh.secs=5
#server.handler.json.enabled=true
#server.handler.json.refresh=true
#server.handler.json.refresh.secs=0
#server.threads=2
#server.maxreqtime=10
#server.maxrsptime=600
#server.ssl.enabled=false
#server.ssl.protocol=TLS
#server.ssl.keystore.type=JKS
#server.ssl.keystore.file=
#server.ssl.storepass=
#server.ssl.keypass=
#server.ssl.kmf.algorithm=
#server.ssl.tmf.algorithm=
### MQTT Client ###
#mqtt.enabled=false
#mqtt.server.uri=
#mqtt.username=
#mqtt.password=
#mqtt.clean.session=true
#mqtt.automatic.reconnect=true
#mqtt.connect.retry=true
#mqtt.client.id=RouterLogger
#mqtt.connection.timeout=30
#mqtt.keep.alive.interval=60
#mqtt.max.inflight=10
#mqtt.version=0
#mqtt.persistence.file.enabled=false
#mqtt.persistence.file.custom=false
#mqtt.persistence.file.path=
#mqtt.data.enabled=true
#mqtt.data.topic=router/logger/data
#mqtt.data.qos=0
#mqtt.data.retained=true
#mqtt.data.throttling.ms=0
#mqtt.status.enabled=true
#mqtt.status.topic=router/logger/status
#mqtt.status.qos=2
#mqtt.status.retained=true
#mqtt.thresholds.enabled=true
#mqtt.thresholds.topic=router/logger/thresholds
#mqtt.thresholds.qos=0
#mqtt.thresholds.retained=true
#mqtt.thresholds.throttling.ms=0
### Thresholds (key, type, value) ###
#thresholds.split=false
#thresholds.excluded=rate.down
#thresholds.excluded.separator=,
#thresholds.email=false
#thresholds.email.send.interval.secs=3600
#thresholds.email.max.items=50
#threshold.snr.down=downstreamNoiseMargin lt 100
#threshold.rate.down=downstreamCurrRate lt 2500