Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s6-rc: info: service s6rc-oneshot-runner: starting
- s6-rc: info: service s6rc-oneshot-runner successfully started
- s6-rc: info: service fix-attrs: starting
- s6-rc: info: service fix-attrs successfully started
- s6-rc: info: service legacy-cont-init: starting
- cont-init: info: running /etc/cont-init.d/01-timezone
- cont-init: info: /etc/cont-init.d/01-timezone exited 0
- cont-init: info: running /etc/cont-init.d/50-cron-config
- cont-init: info: /etc/cont-init.d/50-cron-config exited 0
- s6-rc: info: service legacy-cont-init successfully started
- s6-rc: info: service legacy-services: starting
- services-up: info: copying legacy longrun collector-once (no readiness notification)
- services-up: info: copying legacy longrun cron (no readiness notification)
- services-up: info: copying legacy longrun influxdb (no readiness notification)
- services-up: info: copying legacy longrun scrutiny (no readiness notification)
- s6-rc: info: service legacy-services successfully started
- starting cron
- waiting for scrutiny service to start
- influxdb config file already exists. skipping.
- starting influxdb
- waiting for influxdb
- scrutiny api not ready
- influxdb not ready
- ts=2024-06-25T14:52:11.310565Z lvl=info msg="Welcome to InfluxDB" log_id=0p~yyfgW000 version=v2.2.0 commit=a2f8538837 build_date=2022-04-06T17:36:40Z
- ts=2024-06-25T14:52:11.356354Z lvl=info msg="Resources opened" log_id=0p~yyfgW000 service=bolt path=/opt/scrutiny/influxdb/influxd.bolt
- ts=2024-06-25T14:52:11.356535Z lvl=info msg="Resources opened" log_id=0p~yyfgW000 service=sqlite path=/opt/scrutiny/influxdb/influxd.sqlite
- ts=2024-06-25T14:52:11.379743Z lvl=info msg="Checking InfluxDB metadata for prior version." log_id=0p~yyfgW000 bolt_path=/opt/scrutiny/influxdb/influxd.bolt
- ts=2024-06-25T14:52:11.380079Z lvl=info msg="Using data dir" log_id=0p~yyfgW000 service=storage-engine service=store path=/opt/scrutiny/influxdb/engine/data
- ts=2024-06-25T14:52:11.380139Z lvl=info msg="Compaction settings" log_id=0p~yyfgW000 service=storage-engine service=store max_concurrent_compactions=1 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
- ts=2024-06-25T14:52:11.380155Z lvl=info msg="Open store (start)" log_id=0p~yyfgW000 service=storage-engine service=store op_name=tsdb_open op_event=start
- ts=2024-06-25T14:52:11.380244Z lvl=info msg="Open store (end)" log_id=0p~yyfgW000 service=storage-engine service=store op_name=tsdb_open op_event=end op_elapsed=0.090ms
- ts=2024-06-25T14:52:11.380326Z lvl=info msg="Starting retention policy enforcement service" log_id=0p~yyfgW000 service=retention check_interval=30m
- ts=2024-06-25T14:52:11.380340Z lvl=info msg="Starting precreation service" log_id=0p~yyfgW000 service=shard-precreation check_interval=10m advance_period=30m
- ts=2024-06-25T14:52:11.381766Z lvl=info msg="Starting query controller" log_id=0p~yyfgW000 service=storage-reads concurrency_quota=1024 initial_memory_bytes_quota_per_query=9223372036854775807 memory_bytes_quota_per_query=9223372036854775807 max_memory_bytes=0 queue_size=1024
- ts=2024-06-25T14:52:11.515197Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)." log_id=0p~yyfgW000 max_select_point=0 max_select_series=0 max_select_buckets=0
- ts=2024-06-25T14:52:11.548687Z lvl=info msg=Listening log_id=0p~yyfgW000 service=tcp-listener transport=http addr=:8086 port=8086
- scrutiny api not ready
- starting scrutiny
- 2024/06/25 14:52:15 Loading configuration file: /opt/scrutiny/config/scrutiny.yaml
- ___ ___ ____ __ __ ____ ____ _ _ _ _
- / __) / __)( _ \( )( )(_ _)(_ _)( \( )( \/ )
- \__ \( (__ ) / )(__)( )( _)(_ ) ( \ /
- (___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
- github.com/AnalogJ/scrutiny dev-0.8.1
- Start the scrutiny server
- time="2024-06-25T14:52:15Z" level=debug msg="{\"log\":{\"file\":\"/opt/scrutiny/config/scrutiny.log\",\"level\":\"DEBUG\"},\"notify\":{\"urls\":[]},\"version\":1,\"web\":{\"database\":{\"location\":\"/opt/scrutiny/config/scrutiny.db\"},\"influxdb\":{\"bucket\":\"metrics\",\"host\":\"0.0.0.0\",\"init_password\":\"A-PASSWORD\",\"init_username\":\"A-USERNAME\",\"org\":\"scrutiny\",\"port\":8086,\"retention_policy\":true,\"scheme\":\"http\",\"tls\":{\"insecure_skip_verify\":false},\"token\":\"ANYLONGSTRING\"},\"listen\":{\"basepath\":\"\",\"host\":\"0.0.0.0\",\"port\":8080},\"src\":{\"frontend\":{\"path\":\"/opt/scrutiny/web\"}}}}<nil>" type=web
- time="2024-06-25T14:52:15Z" level=info msg="Trying to connect to scrutiny sqlite db: /opt/scrutiny/config/scrutiny.db\n" type=web
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- time="2024-06-25T14:52:15Z" level=info msg="Successfully connected to scrutiny sqlite db: /opt/scrutiny/config/scrutiny.db\n" type=web
- time="2024-06-25T14:52:15Z" level=debug msg="InfluxDB url: http://0.0.0.0:8086" type=web
- time="2024-06-25T14:52:15Z" level=info msg="InfluxDB certificate verification: true\n" type=web
- time="2024-06-25T14:52:15Z" level=debug msg="Determine Influxdb setup status..." type=web
- time="2024-06-25T14:52:15Z" level=info msg="Database migration starting. Please wait, this process may take a long time...." type=web
- time="2024-06-25T14:52:15Z" level=info msg="Database migration completed successfully" type=web
- time="2024-06-25T14:52:15Z" level=info msg="SQLite global configuration migrations starting. Please wait...." type=web
- time="2024-06-25T14:52:15Z" level=info msg="SQLite global configuration migrations completed successfully" type=web
- time="2024-06-25T14:52:15Z" level=debug msg="basepath: " type=web
- [GIN-debug] GET /api/health --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.HealthCheck (5 handlers)
- [GIN-debug] POST /api/health/notify --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.SendTestNotification (5 handlers)
- [GIN-debug] POST /api/devices/register --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.RegisterDevices (5 handlers)
- [GIN-debug] GET /api/summary --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.GetDevicesSummary (5 handlers)
- [GIN-debug] GET /api/summary/temp --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.GetDevicesSummaryTempHistory (5 handlers)
- [GIN-debug] POST /api/device/:wwn/smart --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.UploadDeviceMetrics (5 handlers)
- [GIN-debug] POST /api/device/:wwn/selftest --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.UploadDeviceSelfTests (5 handlers)
- [GIN-debug] GET /api/device/:wwn/details --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.GetDeviceDetails (5 handlers)
- [GIN-debug] DELETE /api/device/:wwn --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.DeleteDevice (5 handlers)
- [GIN-debug] GET /api/settings --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.GetSettings (5 handlers)
- [GIN-debug] POST /api/settings --> github.com/analogj/scrutiny/webapp/backend/pkg/web/handler.SaveSettings (5 handlers)
- [GIN-debug] GET /web/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (5 handlers)
- [GIN-debug] HEAD /web/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (5 handlers)
- [GIN-debug] GET / --> github.com/analogj/scrutiny/webapp/backend/pkg/web.(*AppEngine).Setup.func1 (5 handlers)
- [GIN-debug] Listening and serving HTTP on 0.0.0.0:8080
- time="2024-06-25T14:52:20Z" level=info msg="127.0.0.1 - 500331d55da1 [25/Jun/2024:14:52:20 +0000] \"HEAD /api/health\" 200 0 \"\" \"curl/7.88.1\" (1ms)" clientIP=127.0.0.1 hostname=500331d55da1 latency=1 method=HEAD path=/api/health referer= respLength=0 statusCode=200 type=web userAgent=curl/7.88.1
- time="2024-06-25T14:52:20Z" level=debug bodyType=response clientIP=127.0.0.1 hostname=500331d55da1 latency=1 method=HEAD path=/api/health referer= respLength=0 statusCode=200 type=web userAgent=curl/7.88.1
- starting scrutiny collector (run-once mode. subsequent calls will be triggered via cron service)
- 2024/06/25 14:52:20 Loading configuration file: /opt/scrutiny/config/collector.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement