@@ -41,7 +41,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
41
41
-d host=localhost \
42
42
-d port=3390 \
43
43
-d username=snare \
44
- -d password=" abcdABCD1234## " \
44
+ -d password=" " \
45
45
-d database=snarepoc \
46
46
-d interval=1 \
47
47
-d period=10 \
@@ -58,7 +58,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
58
58
-d host=localhost \
59
59
-d port=3390 \
60
60
-d username=snare \
61
- -d password=" abcdABCD1234## " \
61
+ -d password=" " \
62
62
-d database=snarepoc \
63
63
-d interval=1 \
64
64
-d period=10 \
@@ -169,19 +169,19 @@ This section shows how to set up SSH tunnels to connect to remote databases from
169
169
170
170
### Oracle Autonomous Database (ADB ) SSH Tunnel
171
171
` ` ` bash
172
- ssh -fNT -v -L 1522:10.180.2.238:1521 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/ mydemo_vcn.priv"
172
+ ssh -fNT -v -L 1522:10.180.2.238:1521 opc@168.x.x.x -i "mydemo_vcn.priv"
173
173
` ` `
174
174
### Local Oracle DB SSH Tunnel
175
175
` ` ` bash
176
- ssh -fNT -v -L 1521:10.180.2.158:1521 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/ mydemo_vcn.priv"
176
+ ssh -fNT -v -L 1521:10.180.2.158:1521 opc@168.x.x.x -i "mydemo_vcn.priv"
177
177
` ` `
178
178
### PostgreSQL SSH Tunnel
179
179
` ` ` bash
180
- ssh -fNT -v -L 5432:10.180.2.205:5432 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/ mydemo_vcn.priv"
180
+ ssh -fNT -v -L 5432:10.180.2.205:5432 opc@168.x.x.x -i "mydemo_vcn.priv"
181
181
` ` `
182
182
### MySQL SSH Tunnel
183
183
` ` ` bash
184
- ssh -fNT -v -L 3306:10.180.2.30:3306 opc@168.138.10.135 -i "/Users/shadab/Downloads/OracleContent/Keys/ mydemo_vcn.priv"
184
+ ssh -fNT -v -L 3306:10.180.2.30:3306 opc@168.x.x.x -i "mydemo_vcn.priv"
185
185
` ` `
186
186
## API Usage Examples
187
187
@@ -195,7 +195,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
195
195
-d host=localhost \
196
196
-d port=5432 \
197
197
-d username=ggadmin \
198
- -d password="RAbbithole1234## " \
198
+ -d password="" \
199
199
-d database=dvdrental \
200
200
-d interval=1 \
201
201
-d period=5 \
@@ -217,7 +217,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
217
217
-d host=localhost \
218
218
-d port=3306 \
219
219
-d username=admin \
220
- -d password="RAbbithole1234## " \
220
+ -d password="" \
221
221
-d database=dvdrental \
222
222
-d interval=1 \
223
223
-d period=5 \
@@ -239,7 +239,7 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
239
239
-d host=localhost \
240
240
-d port=1521 \
241
241
-d username=mpos \
242
- -d password="abcdABCD1234## " \
242
+ -d password="" \
243
243
-d database=T1DB04 \
244
244
-d interval=1 \
245
245
-d period=5 \
@@ -262,9 +262,9 @@ curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
262
262
curl -u admin:abcd1234 -X POST https://localhost:8000/api/test-latency \
263
263
-k \
264
264
-d dbtype=oracle \
265
- -d host="(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=localhost))(connect_data=(service_name=g9b8049aad9c64c_spotlightdemo_high .adb.oraclecloud.com))(security=(ssl_server_dn_match=no)))" \
265
+ -d host="(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=localhost))(connect_data=(service_name=****_s***_high .adb.oraclecloud.com))(security=(ssl_server_dn_match=no)))" \
266
266
-d username=dvdrental \
267
- -d password="RAbbithole1234## " \
267
+ -d password="" \
268
268
-d interval=1 \
269
269
-d period=5 \
270
270
| jq .
0 commit comments