Auto-connect request: network-observe and system-observe for btech-monitor

name: btech-monitor
description: Lightweight server monitoring agent. Runs as a strict daemon, reports CPU, memory and disk usage to the user's dashboard, and acts as a distributed uptime probe: each agent runs a small list of HTTP/S, TCP and ICMP (ping) checks assigned by the service. Results from several agents in different locations are combined to confirm outages, avoiding false alerts from isolated network issues.
snapcraft: not publicly available
upstream: PRIVATE
upstream-relation: I am the developer and maintainer of the software and the publisher of the snap (Store account: btechdev)
plugs:
  network-observe:
    request-type: auto-connection
    reasoning: needed to send ICMP/ICMPv6 echo requests for ping checks, one of the core features of the snap. The agent first tries an unprivileged ICMP datagram socket, which only works where net.ipv4.ping_group_range includes the daemon's group. On many distributions and VPS providers it does not, so ping checks fail. With network-observe the agent falls back to a raw ICMP socket. The interface is not used to inspect connections, routes or traffic, and no network configuration is modified.
  system-observe:
    request-type: auto-connection
    reasoning: needed to read the host OS release (/var/lib/snapd/hostfs/etc/os-release) so the dashboard can show the distribution and version of each monitored server. Inside the snap, /usr/lib/os-release belongs to the base (Ubuntu Core), so without this interface the host OS cannot be reliably identified. Access is read-only.

Users typically install the agent on many servers with two commands (snap install + init). Requiring an extra manual “snap connect” on every host is easy to miss and leaves monitoring incomplete. Both interfaces are read-only and consistent with the purpose of a monitoring agent.

I’m the publisher of this snap (Store account: btechdev, borges@btech.dev.br).

This request has been added to the queue for review by the @reviewers team.

Hello @btechdev :slight_smile:

Given the snap’s functionality and the reasoning provided, this is a +1 from my side for auto-connecting system-observe and network-observe to the btrch-monitorsnap!

1 Like

Hello @btechdev,

I agree with @yomonokio above, this feels like expected and necessary access. +1 from me as well for granting auto-connection for the system-observe and network-observe interfaces to the btech-monitor snap. Thank you!

1 Like

+2 votes for, 0 against, granting auto-connection of system-observe and network-observe to the btrch-monitor snap,

This is now live!

1 Like