· 6 years ago · Jun 02, 2019, 03:54 PM
1Bohdana@DESKTOP-GN1FL8H MINGW64 ~
2$ ssh administrator@192.168.40.130 -p 30022
3The authenticity of host '[192.168.40.130]:30022 ([192.168.40.130]:30022)' can't be established.
4ECDSA key fingerprint is SHA256:qmrx6gX2/j3dnMQn2BfINF4mg0ReegLslvI3ANqXxOA.
5Are you sure you want to continue connecting (yes/no)? yes
6Warning: Permanently added '[192.168.40.130]:30022' (ECDSA) to the list of known hosts.
7administrator@192.168.40.130's password:
8Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-148-generic x86_64)
9
10 * Documentation: https://help.ubuntu.com
11 * Management: https://landscape.canonical.com
12 * Support: https://ubuntu.com/advantage
13
140 packages can be updated.
150 updates are security updates.
16
17New release '18.04.2 LTS' available.
18Run 'do-release-upgrade' to upgrade to it.
19
20
21Last login: Sun Jun 2 10:15:54 2019
22
23#######
24#######
25#######
26
27---------------------------------------------
28AEGIS Virtual Appliance Configuration Script
29---------------------------------------------
30
31Full configuration log is /home/administrator/aegis/logs/aegis-vappliance-configuration_2019-Jun-02_101607.log
32#######
33#######
34#######
35
36Starting configuration proccess...
37
381. Network configuration
39Checking current network parameters...
40Hostname: aegis
41Type: dhcp is currently used for interface eth0
42IP address: 192.168.40.130
43Netmask: 255.255.255.0
44Gateway: 192.168.40.2
45DNS Servers:
46nameserver 192.168.40.2
47Do you want to change current network configuration?:
48[Enter Y or N]> n
49Skipping network configuration...
50
512. Network Connectivity
52Testing network connectivity...
53
54Test 1: Testing access to receiver.changedynamix.io...
55Test 1: Ok, successfully connected to receiver.changedynamix.io
56
57Test 2: Testing access to nexus.changedynamix.io...
58Test 2: Ok, successfully connected to nexus.changedynamix.io
59
603. AEGIS Configuration
61Starting AEGIS configuration...
62[Enter your AEGIS Api Key]:
63> f27df52b85595e2509a9f5316dc76ac2cb42c6486692c9f3bb696864
64Configuring new AEGIS Api Key...
65AEGIS Api Key configured...ok
66
67[Enter your AEGIS Secret Key]:
68> 693F66214F327A76785550413A5E253C3E6D70657A217B4155407A666A305876477B68495A2F5D36
69Configuring new AEGIS Secret Key...
70AEGIS Secret Key configured...ok
71
72[Enter your AEGIS Public Key]:
73> 5A5832576F434D2D57367D667148464865326E3C4B74586B733C574C7A624E6355642D5239282E72
74Configuring new AEGIS Public Key...
75AEGIS Public Key configured...ok
76
77[Enter AEGIS Receiver URL - unless provided another URL accept default]
78[Default AEGIS Receiver URL: https://receiver.changedynamix.io ]> https://dev-receiver.changedynamix.io
79Configuring new receiver URL...
80New receiver URL configured...ok
81
82[Enter AEGIS Monitoring URL - unless provided another URL accept default]
83[Default AEGIS Monitoring URL: https://monitoring.changedynamix.io/v1 ]> https://0ar23jlvjc.execute-api.us-west-2.amazonaws.com/dev
84Configuring new monitoring URL...
85New monitoring URL configured...ok
86
874. Data Aggregator Configuration
88Do you want to configure Aegis Data Aggregator?:
89[Enter Y or N]> y
90Starting Data Aggregator Configuration...
91Please enter Data Aggregator Unique ID:
92Example: RO-CDXCORP1
93> monitoring-system-aggregator-bohdana
94Configuring Data Aggregator Unique ID...
95New Data Aggregator Unique ID......ok
96
97Enter Data Aggregator Description:
98Example: CDX Corp - Royal Oak, MI - Aggregator
99> Aggregator for testing of the monitoring system
100Configuring Data Aggregator Description...
101Data Aggregator Description configured...ok
102
103Enter DNS Server for Data Aggregator:
104Important: only one DNS server can be configured
105> 8.8.8.8
106Configuring DNS Server for Data Aggregator...
107Data Aggregator DNS configured...ok
108
109Checking for Data Aggregator updates...
110latest-release: Pulling from changedynamix/data-aggregator
111Digest: sha256:76abab543a0893b5af036a48ddbb6b7e3c40ab9670203c39e51c4b5924745b34
112Status: Image is up to date for docker-official.changedynamix.io/changedynamix/data-aggregator:latest-release
113Data Aggregator updates done...ok!
114Configuring Data Aggregator automatic startup...
115Data Aggregator automatic startup configuration done...ok
116Data Aggregator configuration done...ok
117
118Data Aggregator started...ok
119No Data Aggregator restart needed.
1205. Network Monitor Configuration
121Do you want to configure Aegis Network Monitor?:
122[Enter Y or N]> y
123Starting Network Monitor Configuration...
124Enter Data Aggregator IP address for Network Monitor
125Note. If Data Aggregator is running locally,
126you can enter eth0 IP address - 192.168.40.130:
127> 192.168.40.130
128Configuring Data Aggregator IP Address for Network Monitor...
129Data Aggregator IP Address for Network Monitor configured...ok
130
131Please enter Network Monitor Unique ID:
132Example: CDXCORP-Network-Monitor-1
133> monitoring-system-network-monitor-bohdana
134Configuring Network Monitor Unique ID...
135Network Monitor Unique ID configured...ok
136
137Checking for Network Monitor updates...
138Using default tag: latest
139latest: Pulling from changedynamix/network-monitor
140Digest: sha256:b88dc83c1087d4217a5e3a9975dcc64d74a5240740fc3d8b2d62b15b22cf601e
141Status: Image is up to date for docker-official.changedynamix.io/changedynamix/network-monitor:latest
142Network Monitor updates done...ok!
143
144Data Aggregator is running, adding its IP address to exlcusion list
145Configuring Network Monitor automatic startup...
146Network Monitor automatic startup configuration done...ok
147Network Monitor configuration done...ok
148
149Something went wrong with the configuration, please check the log file /home/administrator/aegis/logs/aegis-vappliance-configuration_2019-Jun-02_101607.log for more information!
150
151
152======END OF CONFIGURATION PROCESS======
153
154
155administrator@aegis:~$ sudo cat /home/administrator/aegis/logs/aegis-vappliance-configuration_2019-Jun-02_101607.log
156
157#######
158#######
159#######
160
161---------------------------------------------
162AEGIS Virtual Appliance Configuration Script
163---------------------------------------------
164
165Full configuration log is /home/administrator/aegis/logs/aegis-vappliance-configuration_2019-Jun-02_101607.log
166#######
167#######
168#######
169
170Starting configuration proccess...
171
1721. Network configuration
173Checking current network parameters...
174Hostname: aegis
175Type: dhcp is currently used for interface eth0
176IP address: 192.168.40.130
177Netmask: 255.255.255.0
178Gateway: 192.168.40.2
179DNS Servers:
180nameserver 192.168.40.2
181Do you want to change current network configuration?:
182[Enter Y or N]> Skipping network configuration...
183
1842. Network Connectivity
185Testing network connectivity...
186
187Test 1: Testing access to receiver.changedynamix.io...
188 % Total % Received % Xferd Average Speed Time Time Time Current
189 Dload Upload Total Spent Left Speed
190 0 48 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
191HTTP/1.1 405 Method Not Allowed
192Date: Sun, 02 Jun 2019 14:16:31 GMT
193Content-Type: text/plain; charset=UTF-8
194Content-Length: 48
195Connection: keep-alive
196Allow: POST
197Server: akka-http/10.1.3
198
199Test 1: Ok, successfully connected to receiver.changedynamix.io
200
201Test 2: Testing access to nexus.changedynamix.io...
202 % Total % Received % Xferd Average Speed Time Time Time Current
203 Dload Upload Total Spent Left Speed
204 0 5596 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
205HTTP/1.1 200 OK
206Date: Sun, 02 Jun 2019 14:16:32 GMT
207Content-Type: text/html
208Content-Length: 5596
209Connection: keep-alive
210Server: Nexus/3.5.2-01 (OSS)
211X-Frame-Options: SAMEORIGIN
212X-Content-Type-Options: nosniff
213Last-Modified: Sun, 02 Jun 2019 14:16:32 GMT
214Pragma: no-cache
215Cache-Control: post-check=0, pre-check=0
216Expires: 0
217
218Test 2: Ok, successfully connected to nexus.changedynamix.io
219
2203. AEGIS Configuration
221Starting AEGIS configuration...
222[Enter your AEGIS Api Key]:
223> Configuring new AEGIS Api Key...
224
225AEGIS Api Key configured...ok
226
227[Enter your AEGIS Secret Key]:
228> Configuring new AEGIS Secret Key...
229
230AEGIS Secret Key configured...ok
231
232[Enter your AEGIS Public Key]:
233> Configuring new AEGIS Public Key...
234
235AEGIS Public Key configured...ok
236
237[Enter AEGIS Receiver URL - unless provided another URL accept default]
238[Default AEGIS Receiver URL: https://receiver.changedynamix.io ]> Configuring new receiver URL...
239
240New receiver URL configured...ok
241
242[Enter AEGIS Monitoring URL - unless provided another URL accept default]
243[Default AEGIS Monitoring URL: https://monitoring.changedynamix.io/v1 ]> Configuring new monitoring URL...
244
245New monitoring URL configured...ok
246
2474. Data Aggregator Configuration
248Do you want to configure Aegis Data Aggregator?:
249[Enter Y or N]> Starting Data Aggregator Configuration...
250Please enter Data Aggregator Unique ID:
251Example: RO-CDXCORP1
252> Configuring Data Aggregator Unique ID...
253
254New Data Aggregator Unique ID......ok
255
256Enter Data Aggregator Description:
257Example: CDX Corp - Royal Oak, MI - Aggregator
258> Configuring Data Aggregator Description...
259
260Data Aggregator Description configured...ok
261
262Enter DNS Server for Data Aggregator:
263Important: only one DNS server can be configured
264> Configuring DNS Server for Data Aggregator...
265
266Data Aggregator DNS configured...ok
267
268Checking for Data Aggregator updates...
269latest-release: Pulling from changedynamix/data-aggregator
270Digest: sha256:76abab543a0893b5af036a48ddbb6b7e3c40ab9670203c39e51c4b5924745b34
271Status: Image is up to date for docker-official.changedynamix.io/changedynamix/data-aggregator:latest-release
272Data Aggregator updates done...ok!
273Configuring Data Aggregator automatic startup...
274Data Aggregator automatic startup configuration done...ok
275Data Aggregator configuration done...ok
276
277Data Aggregator started...ok
278[
279 {
280 "Id": "0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0",
281 "Created": "2019-06-02T14:17:36.715720254Z",
282 "Path": "/opt/docker/runit.sh",
283 "Args": [
284 "--host",
285 "0.0.0.0",
286 "--port",
287 "5555",
288 "--batchTime",
289 "60",
290 "--dns",
291 "8.8.8.8",
292 "--receiver",
293 "https://dev-receiver.changedynamix.io",
294 "--uniqueId",
295 "monitoring-system-aggregator-bohdana",
296 "--monitoring",
297 "https://0ar23jlvjc.execute-api.us-west-2.amazonaws.com/dev",
298 "--apiKey",
299 "f27df52b85595e2509a9f5316dc76ac2cb42c6486692c9f3bb696864",
300 "--secretKey",
301 "693F66214F327A76785550413A5E253C3E6D70657A217B4155407A666A305876477B68495A2F5D36",
302 "--publicKey",
303 "5A5832576F434D2D57367D667148464865326E3C4B74586B733C574C7A624E6355642D5239282E72",
304 "--description",
305 "Aggregator for testing of the monitoring system"
306 ],
307 "State": {
308 "Status": "running",
309 "Running": true,
310 "Paused": false,
311 "Restarting": false,
312 "OOMKilled": false,
313 "Dead": false,
314 "Pid": 3471,
315 "ExitCode": 0,
316 "Error": "",
317 "StartedAt": "2019-06-02T14:17:37.392747489Z",
318 "FinishedAt": "0001-01-01T00:00:00Z"
319 },
320 "Image": "sha256:d834f11b7093fffe45bf9bd6e574b98b27c1f39f0f02c5d97d08be22f9a03c97",
321 "ResolvConfPath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/resolv.conf",
322 "HostnamePath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/hostname",
323 "HostsPath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/hosts",
324 "LogPath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0-json.log",
325 "Name": "/data-aggregator",
326 "RestartCount": 0,
327 "Driver": "aufs",
328 "Platform": "linux",
329 "MountLabel": "",
330 "ProcessLabel": "",
331 "AppArmorProfile": "docker-default",
332 "ExecIDs": null,
333 "HostConfig": {
334 "Binds": [
335 "/home/administrator/aegis/aegis_host_os_ip_address.txt:/data/host_os_ip_address:ro",
336 "/home/administrator/aegis/aegis_host_os_hostname.txt:/data/host_os_hostname:ro"
337 ],
338 "ContainerIDFile": "",
339 "LogConfig": {
340 "Type": "json-file",
341 "Config": {
342 "max-file": "5",
343 "max-size": "100m"
344 }
345 },
346 "NetworkMode": "default",
347 "PortBindings": {
348 "5555/tcp": [
349 {
350 "HostIp": "",
351 "HostPort": "5555"
352 }
353 ],
354 "5556/tcp": [
355 {
356 "HostIp": "",
357 "HostPort": "5556"
358 }
359 ],
360 "5557/tcp": [
361 {
362 "HostIp": "",
363 "HostPort": "5557"
364 }
365 ],
366 "8113/tcp": [
367 {
368 "HostIp": "",
369 "HostPort": "8113"
370 }
371 ]
372 },
373 "RestartPolicy": {
374 "Name": "unless-stopped",
375 "MaximumRetryCount": 0
376 },
377 "AutoRemove": false,
378 "VolumeDriver": "",
379 "VolumesFrom": null,
380 "CapAdd": null,
381 "CapDrop": null,
382 "Dns": [],
383 "DnsOptions": [],
384 "DnsSearch": [],
385 "ExtraHosts": null,
386 "GroupAdd": null,
387 "IpcMode": "shareable",
388 "Cgroup": "",
389 "Links": null,
390 "OomScoreAdj": 0,
391 "PidMode": "",
392 "Privileged": false,
393 "PublishAllPorts": false,
394 "ReadonlyRootfs": false,
395 "SecurityOpt": null,
396 "UTSMode": "",
397 "UsernsMode": "",
398 "ShmSize": 67108864,
399 "Runtime": "runc",
400 "ConsoleSize": [
401 0,
402 0
403 ],
404 "Isolation": "",
405 "CpuShares": 0,
406 "Memory": 0,
407 "NanoCpus": 0,
408 "CgroupParent": "",
409 "BlkioWeight": 0,
410 "BlkioWeightDevice": [],
411 "BlkioDeviceReadBps": null,
412 "BlkioDeviceWriteBps": null,
413 "BlkioDeviceReadIOps": null,
414 "BlkioDeviceWriteIOps": null,
415 "CpuPeriod": 0,
416 "CpuQuota": 0,
417 "CpuRealtimePeriod": 0,
418 "CpuRealtimeRuntime": 0,
419 "CpusetCpus": "",
420 "CpusetMems": "",
421 "Devices": [],
422 "DeviceCgroupRules": null,
423 "DiskQuota": 0,
424 "KernelMemory": 0,
425 "MemoryReservation": 0,
426 "MemorySwap": 0,
427 "MemorySwappiness": null,
428 "OomKillDisable": false,
429 "PidsLimit": 0,
430 "Ulimits": null,
431 "CpuCount": 0,
432 "CpuPercent": 0,
433 "IOMaximumIOps": 0,
434 "IOMaximumBandwidth": 0,
435 "MaskedPaths": [
436 "/proc/asound",
437 "/proc/acpi",
438 "/proc/kcore",
439 "/proc/keys",
440 "/proc/latency_stats",
441 "/proc/timer_list",
442 "/proc/timer_stats",
443 "/proc/sched_debug",
444 "/proc/scsi",
445 "/sys/firmware"
446 ],
447 "ReadonlyPaths": [
448 "/proc/bus",
449 "/proc/fs",
450 "/proc/irq",
451 "/proc/sys",
452 "/proc/sysrq-trigger"
453 ]
454 },
455 "GraphDriver": {
456 "Data": null,
457 "Name": "aufs"
458 },
459 "Mounts": [
460 {
461 "Type": "bind",
462 "Source": "/home/administrator/aegis/aegis_host_os_hostname.txt",
463 "Destination": "/data/host_os_hostname",
464 "Mode": "ro",
465 "RW": false,
466 "Propagation": "rprivate"
467 },
468 {
469 "Type": "bind",
470 "Source": "/home/administrator/aegis/aegis_host_os_ip_address.txt",
471 "Destination": "/data/host_os_ip_address",
472 "Mode": "ro",
473 "RW": false,
474 "Propagation": "rprivate"
475 }
476 ],
477 "Config": {
478 "Hostname": "0619a90f946c",
479 "Domainname": "",
480 "User": "root",
481 "AttachStdin": false,
482 "AttachStdout": false,
483 "AttachStderr": false,
484 "ExposedPorts": {
485 "5555/tcp": {},
486 "5556/tcp": {},
487 "5557/tcp": {},
488 "8113/tcp": {}
489 },
490 "Tty": false,
491 "OpenStdin": false,
492 "StdinOnce": false,
493 "Env": [
494 "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
495 "LANG=C.UTF-8",
496 "JAVA_HOME=/docker-java-home/jre",
497 "JAVA_VERSION=8u131",
498 "JAVA_DEBIAN_VERSION=8u131-b11-2",
499 "CA_CERTIFICATES_JAVA_VERSION=20170531+nmu1"
500 ],
501 "Cmd": [
502 "--host",
503 "0.0.0.0",
504 "--port",
505 "5555",
506 "--batchTime",
507 "60",
508 "--dns",
509 "8.8.8.8",
510 "--receiver",
511 "https://dev-receiver.changedynamix.io",
512 "--uniqueId",
513 "monitoring-system-aggregator-bohdana",
514 "--monitoring",
515 "https://0ar23jlvjc.execute-api.us-west-2.amazonaws.com/dev",
516 "--apiKey",
517 "f27df52b85595e2509a9f5316dc76ac2cb42c6486692c9f3bb696864",
518 "--secretKey",
519 "693F66214F327A76785550413A5E253C3E6D70657A217B4155407A666A305876477B68495A2F5D36",
520 "--publicKey",
521 "5A5832576F434D2D57367D667148464865326E3C4B74586B733C574C7A624E6355642D5239282E72",
522 "--description",
523 "Aggregator for testing of the monitoring system"
524 ],
525 "Image": "docker-official.changedynamix.io/changedynamix/data-aggregator:latest-release",
526 "Volumes": null,
527 "WorkingDir": "/opt/docker",
528 "Entrypoint": [
529 "/opt/docker/runit.sh"
530 ],
531 "OnBuild": null,
532 "Labels": {}
533 },
534 "NetworkSettings": {
535 "Bridge": "",
536 "SandboxID": "3553b7c7c7dc93e63182569acdf42f1e578abfcdcecd6035777c8dea03a2d047",
537 "HairpinMode": false,
538 "LinkLocalIPv6Address": "",
539 "LinkLocalIPv6PrefixLen": 0,
540 "Ports": {
541 "5555/tcp": [
542 {
543 "HostIp": "0.0.0.0",
544 "HostPort": "5555"
545 }
546 ],
547 "5556/tcp": [
548 {
549 "HostIp": "0.0.0.0",
550 "HostPort": "5556"
551 }
552 ],
553 "5557/tcp": [
554 {
555 "HostIp": "0.0.0.0",
556 "HostPort": "5557"
557 }
558 ],
559 "8113/tcp": [
560 {
561 "HostIp": "0.0.0.0",
562 "HostPort": "8113"
563 }
564 ]
565 },
566 "SandboxKey": "/var/run/docker/netns/3553b7c7c7dc",
567 "SecondaryIPAddresses": null,
568 "SecondaryIPv6Addresses": null,
569 "EndpointID": "6cbcda552fc89f2a673424ca201e45dbf62c3de2558a18f6f0d4e2e9fe4e2ec0",
570 "Gateway": "172.17.0.1",
571 "GlobalIPv6Address": "",
572 "GlobalIPv6PrefixLen": 0,
573 "IPAddress": "172.17.0.2",
574 "IPPrefixLen": 16,
575 "IPv6Gateway": "",
576 "MacAddress": "02:42:ac:11:00:02",
577 "Networks": {
578 "bridge": {
579 "IPAMConfig": null,
580 "Links": null,
581 "Aliases": null,
582 "NetworkID": "789a828c0200c458805c4d68106d43879d4586e0c93c86792c9bf0b0a243351d",
583 "EndpointID": "6cbcda552fc89f2a673424ca201e45dbf62c3de2558a18f6f0d4e2e9fe4e2ec0",
584 "Gateway": "172.17.0.1",
585 "IPAddress": "172.17.0.2",
586 "IPPrefixLen": 16,
587 "IPv6Gateway": "",
588 "GlobalIPv6Address": "",
589 "GlobalIPv6PrefixLen": 0,
590 "MacAddress": "02:42:ac:11:00:02",
591 "DriverOpts": null
592 }
593 }
594 }
595 }
596]
597No Data Aggregator restart needed.
5985. Network Monitor Configuration
599Do you want to configure Aegis Network Monitor?:
600[Enter Y or N]> Starting Network Monitor Configuration...
601Enter Data Aggregator IP address for Network Monitor
602Note. If Data Aggregator is running locally,
603you can enter eth0 IP address - 192.168.40.130:
604> Configuring Data Aggregator IP Address for Network Monitor...
605
606Data Aggregator IP Address for Network Monitor configured...ok
607
608Please enter Network Monitor Unique ID:
609Example: CDXCORP-Network-Monitor-1
610> Configuring Network Monitor Unique ID...
611
612Network Monitor Unique ID configured...ok
613
614Checking for Network Monitor updates...
615Using default tag: latest
616latest: Pulling from changedynamix/network-monitor
617Digest: sha256:b88dc83c1087d4217a5e3a9975dcc64d74a5240740fc3d8b2d62b15b22cf601e
618Status: Image is up to date for docker-official.changedynamix.io/changedynamix/network-monitor:latest
619Network Monitor updates done...ok!
620
621[
622 {
623 "Id": "0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0",
624 "Created": "2019-06-02T14:17:36.715720254Z",
625 "Path": "/opt/docker/runit.sh",
626 "Args": [
627 "--host",
628 "0.0.0.0",
629 "--port",
630 "5555",
631 "--batchTime",
632 "60",
633 "--dns",
634 "8.8.8.8",
635 "--receiver",
636 "https://dev-receiver.changedynamix.io",
637 "--uniqueId",
638 "monitoring-system-aggregator-bohdana",
639 "--monitoring",
640 "https://0ar23jlvjc.execute-api.us-west-2.amazonaws.com/dev",
641 "--apiKey",
642 "f27df52b85595e2509a9f5316dc76ac2cb42c6486692c9f3bb696864",
643 "--secretKey",
644 "693F66214F327A76785550413A5E253C3E6D70657A217B4155407A666A305876477B68495A2F5D36",
645 "--publicKey",
646 "5A5832576F434D2D57367D667148464865326E3C4B74586B733C574C7A624E6355642D5239282E72",
647 "--description",
648 "Aggregator for testing of the monitoring system"
649 ],
650 "State": {
651 "Status": "running",
652 "Running": true,
653 "Paused": false,
654 "Restarting": false,
655 "OOMKilled": false,
656 "Dead": false,
657 "Pid": 3471,
658 "ExitCode": 0,
659 "Error": "",
660 "StartedAt": "2019-06-02T14:17:37.392747489Z",
661 "FinishedAt": "0001-01-01T00:00:00Z"
662 },
663 "Image": "sha256:d834f11b7093fffe45bf9bd6e574b98b27c1f39f0f02c5d97d08be22f9a03c97",
664 "ResolvConfPath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/resolv.conf",
665 "HostnamePath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/hostname",
666 "HostsPath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/hosts",
667 "LogPath": "/var/lib/docker/containers/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0/0619a90f946c6ef1dc336cadf4e2348b84ddcf1f4ad4229b7e02b8541e9bfaa0-json.log",
668 "Name": "/data-aggregator",
669 "RestartCount": 0,
670 "Driver": "aufs",
671 "Platform": "linux",
672 "MountLabel": "",
673 "ProcessLabel": "",
674 "AppArmorProfile": "docker-default",
675 "ExecIDs": null,
676 "HostConfig": {
677 "Binds": [
678 "/home/administrator/aegis/aegis_host_os_ip_address.txt:/data/host_os_ip_address:ro",
679 "/home/administrator/aegis/aegis_host_os_hostname.txt:/data/host_os_hostname:ro"
680 ],
681 "ContainerIDFile": "",
682 "LogConfig": {
683 "Type": "json-file",
684 "Config": {
685 "max-file": "5",
686 "max-size": "100m"
687 }
688 },
689 "NetworkMode": "default",
690 "PortBindings": {
691 "5555/tcp": [
692 {
693 "HostIp": "",
694 "HostPort": "5555"
695 }
696 ],
697 "5556/tcp": [
698 {
699 "HostIp": "",
700 "HostPort": "5556"
701 }
702 ],
703 "5557/tcp": [
704 {
705 "HostIp": "",
706 "HostPort": "5557"
707 }
708 ],
709 "8113/tcp": [
710 {
711 "HostIp": "",
712 "HostPort": "8113"
713 }
714 ]
715 },
716 "RestartPolicy": {
717 "Name": "unless-stopped",
718 "MaximumRetryCount": 0
719 },
720 "AutoRemove": false,
721 "VolumeDriver": "",
722 "VolumesFrom": null,
723 "CapAdd": null,
724 "CapDrop": null,
725 "Dns": [],
726 "DnsOptions": [],
727 "DnsSearch": [],
728 "ExtraHosts": null,
729 "GroupAdd": null,
730 "IpcMode": "shareable",
731 "Cgroup": "",
732 "Links": null,
733 "OomScoreAdj": 0,
734 "PidMode": "",
735 "Privileged": false,
736 "PublishAllPorts": false,
737 "ReadonlyRootfs": false,
738 "SecurityOpt": null,
739 "UTSMode": "",
740 "UsernsMode": "",
741 "ShmSize": 67108864,
742 "Runtime": "runc",
743 "ConsoleSize": [
744 0,
745 0
746 ],
747 "Isolation": "",
748 "CpuShares": 0,
749 "Memory": 0,
750 "NanoCpus": 0,
751 "CgroupParent": "",
752 "BlkioWeight": 0,
753 "BlkioWeightDevice": [],
754 "BlkioDeviceReadBps": null,
755 "BlkioDeviceWriteBps": null,
756 "BlkioDeviceReadIOps": null,
757 "BlkioDeviceWriteIOps": null,
758 "CpuPeriod": 0,
759 "CpuQuota": 0,
760 "CpuRealtimePeriod": 0,
761 "CpuRealtimeRuntime": 0,
762 "CpusetCpus": "",
763 "CpusetMems": "",
764 "Devices": [],
765 "DeviceCgroupRules": null,
766 "DiskQuota": 0,
767 "KernelMemory": 0,
768 "MemoryReservation": 0,
769 "MemorySwap": 0,
770 "MemorySwappiness": null,
771 "OomKillDisable": false,
772 "PidsLimit": 0,
773 "Ulimits": null,
774 "CpuCount": 0,
775 "CpuPercent": 0,
776 "IOMaximumIOps": 0,
777 "IOMaximumBandwidth": 0,
778 "MaskedPaths": [
779 "/proc/asound",
780 "/proc/acpi",
781 "/proc/kcore",
782 "/proc/keys",
783 "/proc/latency_stats",
784 "/proc/timer_list",
785 "/proc/timer_stats",
786 "/proc/sched_debug",
787 "/proc/scsi",
788 "/sys/firmware"
789 ],
790 "ReadonlyPaths": [
791 "/proc/bus",
792 "/proc/fs",
793 "/proc/irq",
794 "/proc/sys",
795 "/proc/sysrq-trigger"
796 ]
797 },
798 "GraphDriver": {
799 "Data": null,
800 "Name": "aufs"
801 },
802 "Mounts": [
803 {
804 "Type": "bind",
805 "Source": "/home/administrator/aegis/aegis_host_os_ip_address.txt",
806 "Destination": "/data/host_os_ip_address",
807 "Mode": "ro",
808 "RW": false,
809 "Propagation": "rprivate"
810 },
811 {
812 "Type": "bind",
813 "Source": "/home/administrator/aegis/aegis_host_os_hostname.txt",
814 "Destination": "/data/host_os_hostname",
815 "Mode": "ro",
816 "RW": false,
817 "Propagation": "rprivate"
818 }
819 ],
820 "Config": {
821 "Hostname": "0619a90f946c",
822 "Domainname": "",
823 "User": "root",
824 "AttachStdin": false,
825 "AttachStdout": false,
826 "AttachStderr": false,
827 "ExposedPorts": {
828 "5555/tcp": {},
829 "5556/tcp": {},
830 "5557/tcp": {},
831 "8113/tcp": {}
832 },
833 "Tty": false,
834 "OpenStdin": false,
835 "StdinOnce": false,
836 "Env": [
837 "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
838 "LANG=C.UTF-8",
839 "JAVA_HOME=/docker-java-home/jre",
840 "JAVA_VERSION=8u131",
841 "JAVA_DEBIAN_VERSION=8u131-b11-2",
842 "CA_CERTIFICATES_JAVA_VERSION=20170531+nmu1"
843 ],
844 "Cmd": [
845 "--host",
846 "0.0.0.0",
847 "--port",
848 "5555",
849 "--batchTime",
850 "60",
851 "--dns",
852 "8.8.8.8",
853 "--receiver",
854 "https://dev-receiver.changedynamix.io",
855 "--uniqueId",
856 "monitoring-system-aggregator-bohdana",
857 "--monitoring",
858 "https://0ar23jlvjc.execute-api.us-west-2.amazonaws.com/dev",
859 "--apiKey",
860 "f27df52b85595e2509a9f5316dc76ac2cb42c6486692c9f3bb696864",
861 "--secretKey",
862 "693F66214F327A76785550413A5E253C3E6D70657A217B4155407A666A305876477B68495A2F5D36",
863 "--publicKey",
864 "5A5832576F434D2D57367D667148464865326E3C4B74586B733C574C7A624E6355642D5239282E72",
865 "--description",
866 "Aggregator for testing of the monitoring system"
867 ],
868 "Image": "docker-official.changedynamix.io/changedynamix/data-aggregator:latest-release",
869 "Volumes": null,
870 "WorkingDir": "/opt/docker",
871 "Entrypoint": [
872 "/opt/docker/runit.sh"
873 ],
874 "OnBuild": null,
875 "Labels": {}
876 },
877 "NetworkSettings": {
878 "Bridge": "",
879 "SandboxID": "3553b7c7c7dc93e63182569acdf42f1e578abfcdcecd6035777c8dea03a2d047",
880 "HairpinMode": false,
881 "LinkLocalIPv6Address": "",
882 "LinkLocalIPv6PrefixLen": 0,
883 "Ports": {
884 "5555/tcp": [
885 {
886 "HostIp": "0.0.0.0",
887 "HostPort": "5555"
888 }
889 ],
890 "5556/tcp": [
891 {
892 "HostIp": "0.0.0.0",
893 "HostPort": "5556"
894 }
895 ],
896 "5557/tcp": [
897 {
898 "HostIp": "0.0.0.0",
899 "HostPort": "5557"
900 }
901 ],
902 "8113/tcp": [
903 {
904 "HostIp": "0.0.0.0",
905 "HostPort": "8113"
906 }
907 ]
908 },
909 "SandboxKey": "/var/run/docker/netns/3553b7c7c7dc",
910 "SecondaryIPAddresses": null,
911 "SecondaryIPv6Addresses": null,
912 "EndpointID": "6cbcda552fc89f2a673424ca201e45dbf62c3de2558a18f6f0d4e2e9fe4e2ec0",
913 "Gateway": "172.17.0.1",
914 "GlobalIPv6Address": "",
915 "GlobalIPv6PrefixLen": 0,
916 "IPAddress": "172.17.0.2",
917 "IPPrefixLen": 16,
918 "IPv6Gateway": "",
919 "MacAddress": "02:42:ac:11:00:02",
920 "Networks": {
921 "bridge": {
922 "IPAMConfig": null,
923 "Links": null,
924 "Aliases": null,
925 "NetworkID": "789a828c0200c458805c4d68106d43879d4586e0c93c86792c9bf0b0a243351d",
926 "EndpointID": "6cbcda552fc89f2a673424ca201e45dbf62c3de2558a18f6f0d4e2e9fe4e2ec0",
927 "Gateway": "172.17.0.1",
928 "IPAddress": "172.17.0.2",
929 "IPPrefixLen": 16,
930 "IPv6Gateway": "",
931 "GlobalIPv6Address": "",
932 "GlobalIPv6PrefixLen": 0,
933 "MacAddress": "02:42:ac:11:00:02",
934 "DriverOpts": null
935 }
936 }
937 }
938 }
939]
940Data Aggregator is running, adding its IP address to exlcusion list
941Configuring Network Monitor automatic startup...
942Network Monitor automatic startup configuration done...ok
943Network Monitor configuration done...ok
944
945Job for network-monitor.service failed because the control process exited with error code. See "systemctl status network-monitor.service" and "journalctl -xe" for details.
946Something went wrong with the configuration, please check the log file /home/administrator/aegis/logs/aegis-vappliance-configuration_2019-Jun-02_101607.log for more information!
947
948
949
950
951
952
953
954
955administrator@aegis:~$ sudo systemctl status network-monitor.service
956● network-monitor.service - Aegis Network Monitor Service
957 Loaded: loaded (/etc/systemd/system/network-monitor.service; enabled; vendor preset: enabled)
958 Active: active (running) since Sun 2019-06-02 10:18:43 EDT; 38s ago
959 Process: 3982 ExecStopPost=/usr/bin/docker rm network-monitor (code=exited, status=0/SUCCESS)
960 Process: 3923 ExecStop=/usr/bin/docker stop network-monitor (code=exited, status=0/SUCCESS)
961 Main PID: 4056 (monitor.sh)
962 Tasks: 27
963 Memory: 38.9M
964 CPU: 138ms
965 CGroup: /system.slice/network-monitor.service
966 ├─4012 /usr/local/bin/systemd-docker run -it --log-opt max-size=100m --log-opt max-file=5 --restart=unless-stopped --name network-monitor -v /home/administrator/aegis/aegis_host_os_ip_address.txt:/data/host_os_ip_address:ro -v
967 ├─4056 /bin/bash /monitor.sh -i eth0 -h 192.168.40.130 --id monitoring-system-network-monitor-bohdana -k 5A5832576F434D2D57367D667148464865326E3C4B74586B733C574C7A624E6355642D5239282E72 -n 192.168.40.130, 172.17.0.2
968 ├─4105 /bin/bash ./aegis.sh eth0
969 ├─4107 bin/aegis -i eth0 -C local
970 └─4266 sleep 1
971
972Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4056 to /sys/fs/cgroup/memory/system.slice/network-monitor.service/cgroup.procs
973Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4105 to /sys/fs/cgroup/memory/system.slice/network-monitor.service/cgroup.procs
974Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4106 to /sys/fs/cgroup/memory/system.slice/network-monitor.service/cgroup.procs
975Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4107 to /sys/fs/cgroup/memory/system.slice/network-monitor.service/cgroup.procs
976Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4056 to /sys/fs/cgroup/hugetlb/cgroup.procs
977Jun 02 10:18:43 aegis systemd[1]: network-monitor.service: Supervising process 4056 which is not our child. We'll most likely not notice when it exits.
978Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4105 to /sys/fs/cgroup/hugetlb/cgroup.procs
979Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4106 to /sys/fs/cgroup/hugetlb/cgroup.procs
980Jun 02 10:18:43 aegis systemd-docker[4012]: 2019/06/02 10:18:43 Moving pid 4107 to /sys/fs/cgroup/hugetlb/cgroup.procs
981Jun 02 10:18:43 aegis systemd[1]: Started Aegis Network Monitor Service.
982
983
984
985
986
987
988
989
990
991administrator@aegis:~$ sudo nslookup docker-official.changedynamix.io
992Server: 192.168.40.2
993Address: 192.168.40.2#53
994
995Non-authoritative answer:
996Name: docker-official.changedynamix.io
997Address: 52.26.34.199
998Name: docker-official.changedynamix.io
999Address: 52.41.66.12
1000
1001administrator@aegis:~$
1002administrator@aegis:~$