Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 130
    • Merge requests 130
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1899

Open
Created Oct 03, 2025 by Joanne Hugé@jhugeMaintainer
  • Report abuse
Report abuse

Draft: offline monitor app

  • Overview 2
  • Commits 3
  • Changes 15

Serve an offline monitor app on a device to allow one to monitor the services from that device without internet connection, from the LAN.

Steps to do currently

  • patch slapos.core: slapos.core!817
  • patch SR to be monitored: replace "softinst" in monitor-base-url to IPv6, replace officejs.com by IPv6
  • Root nginx proxy: Put nginx-proxy/nginx.conf in /opt/nginx as well as a certificate and key, and run nginx as root
  • Enter the following monitor setup URL : https://[OFFLINE_MONITOR_IPV6]:8088/offline-monitor/#page=settings_configurator&url=https://[OFFLINE_MONITOR_IPV6]:8088/monitor-base-url/public/feeds&username=admin&password=PASSWORD
  • Redistribute IPv6 in re6st conf:
daemon "exec dnsmasq --conf-file=/dev/null -p0 -k8 - -i $re6stnet_iface  -F ${re6stnet_subnet%/*},ra-only,$((${re6stnet_subnet#*/}>64 ? ${re6stnet_subnet#*/} : 64)),1d"
main-interface enp0s31f6
interface enp0s31f6

Nginx Proxy

  • http://[SERVICE_IPV6]:8081 --> http://[OFFLINE_MONITOR_IPV6]:8088/monitor-base-url/
  • https://[OFFLINE_MONITOR_IPV6]:8196 --> http://[OFFLINE_MONITOR_IPV6]:8088/offline-monitor/

IPV6 addresses:

  • SERVICE_IPV6: IPv6 of partition containing service to monitor
  • OFFLINE_MONITOR_IPV6: IPv6 of partition containing offline monitor app

/cc @tomo @romain

Edited Oct 03, 2025 by Joanne Hugé
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feat/offline-monitor
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7