-
Notifications
You must be signed in to change notification settings - Fork 139
Description
NNN---@NNN-TEST:/netprobe_lite$ docker compose up/netprobe_lite$ sudo vim compose.yml
WARN[0000] /home/NNN---/netprobe_lite/compose.yml: version is obsolete
[+] Running 5/0
✔ Container netprobe-presentation Created 0.0s
✔ Container netprobe-grafana Created 0.0s
✔ Container netprobe-probe Created 0.0s
✔ Container netprobe-redis Created 0.1s
✔ Container netprobe-prometheus Created 0.0s
Attaching to netprobe-grafana, netprobe-presentation, netprobe-probe, netprobe-prometheus, netprobe-redis
netprobe-prometheus | ts=2024-05-03T02:41:39.181Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d
netprobe-prometheus | ts=2024-05-03T02:41:39.181Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)"
netprobe-prometheus | ts=2024-05-03T02:41:39.181Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)"
netprobe-prometheus | ts=2024-05-03T02:41:39.181Z caller=main.go:623 level=info host_details="(Linux 5.4.0-177-generic #197-Ubuntu SMP Thu Mar 28 22:45:47 UTC 2024 x86_64 b856a8d8dbca (none))"
netprobe-prometheus | ts=2024-05-03T02:41:39.181Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)"
netprobe-prometheus | ts=2024-05-03T02:41:39.181Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)"
netprobe-prometheus | ts=2024-05-03T02:41:39.184Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090
netprobe-prometheus | ts=2024-05-03T02:41:39.185Z caller=main.go:1129 level=info msg="Starting TSDB ..."
netprobe-prometheus | ts=2024-05-03T02:41:39.186Z caller=dir_locker.go:77 level=warn component=tsdb msg="A lockfile from a previous execution already existed. It was replaced" file=/prometheus/lock
netprobe-prometheus | ts=2024-05-03T02:41:39.192Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090
netprobe-prometheus | ts=2024-05-03T02:41:39.192Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090
netprobe-prometheus | ts=2024-05-03T02:41:39.194Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any"
netprobe-prometheus | ts=2024-05-03T02:41:39.194Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.95µs
netprobe-prometheus | ts=2024-05-03T02:41:39.194Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while"
netprobe-prometheus | ts=2024-05-03T02:41:39.225Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=3
netprobe-prometheus | ts=2024-05-03T02:41:39.226Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=1 maxSegment=3
netprobe-prometheus | ts=2024-05-03T02:41:39.227Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=2 maxSegment=3
netprobe-prometheus | ts=2024-05-03T02:41:39.227Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=3 maxSegment=3
netprobe-prometheus | ts=2024-05-03T02:41:39.227Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=95.788µs wal_replay_duration=32.827096ms wbl_replay_duration=161ns total_replay_duration=32.974262ms
netprobe-prometheus | ts=2024-05-03T02:41:39.230Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC
netprobe-prometheus | ts=2024-05-03T02:41:39.230Z caller=main.go:1153 level=info msg="TSDB started"
netprobe-prometheus | ts=2024-05-03T02:41:39.230Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml
netprobe-prometheus | ts=2024-05-03T02:41:39.233Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.440331ms db_storage=1.321µs remote_storage=1.21µs web_handler=592ns query_engine=1.12µs scrape=2.11521ms scrape_sd=38.265µs notify=795ns notify_sd=1.333µs rules=1.361µs tracing=6.411µs
netprobe-prometheus | ts=2024-05-03T02:41:39.233Z caller=main.go:1114 level=info msg="Server is ready to receive web requests."
netprobe-prometheus | ts=2024-05-03T02:41:39.233Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..."
netprobe-redis | 1:C 03 May 2024 02:41:39.248 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see jemalloc/jemalloc#1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
netprobe-redis | 1:C 03 May 2024 02:41:39.248 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
netprobe-redis | 1:C 03 May 2024 02:41:39.248 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started
netprobe-redis | 1:C 03 May 2024 02:41:39.248 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
netprobe-redis | 1:M 03 May 2024 02:41:39.249 * monotonic clock: POSIX clock_gettime
netprobe-redis | 1:M 03 May 2024 02:41:39.250 * Running mode=standalone, port=6379.
netprobe-redis | 1:M 03 May 2024 02:41:39.251 * Server initialized
netprobe-redis | 1:M 03 May 2024 02:41:39.251 * Ready to accept connections tcp
netprobe-probe | /netprobe_lite/helpers/network_helper.py:25: SyntaxWarning: invalid escape sequence '|'
netprobe-probe | ping = subprocess.getoutput(f"ping -n -i 0.1 -c {count} {site} | grep 'rtt|loss'")
Error response from daemon: driver failed programming external connectivity on endpoint netprobe-grafana (588de0b3fe6d13d712538a22086b31bbbe5bd9f4c0ce4753f92b700e8aafff26): Bind for 0.0.0.0:3001 failed: port is already allocated
NNN---@NNN-TEST:
NNN---@NNN-TEST:~/netprobe_lite$ docker compose up
WARN[0000] /home/NNN---/netprobe_lite/compose.yml: version is obsolete
[+] Running 5/0
✔ Container netprobe-probe Running 0.0s
✔ Container netprobe-redis Running 0.0s
✔ Container netprobe-prometheus Running 0.0s
✔ Container netprobe-grafana Recreated 0.0s
✔ Container netprobe-presentation Running 0.0s
Attaching to netprobe-grafana, netprobe-presentation, netprobe-probe, netprobe-prometheus, netprobe-redis
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/NNN---/netprobe_lite/config/grafana/dashboards/netprobe.json" to rootfs at "/var/lib/grafana/dashboards/netprobe.json": mount /home/NNN---/netprobe_lite/config/grafana/dashboards/netprobe.json:/var/lib/grafana/dashboards/netprobe.json (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type