Skip to content

WatchLog v0.17.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 10:40
· 452 commits to main since this release

WatchLog 0.17.0: Wi-Fi, storage, recording and UPSes

The network module now reads the Wi-Fi a MikroTik router manages, a QNAP NAS and its iSCSI LUNs,
Dahua video recorders, and UPSes. Above all it tells you when a camera system stops
recording
: which recorder, which signal failed, since when. Like the rest of the network
module, it is part of WatchLog Cloud Pro and self-hosted Enterprise (a licence key that lists
network).

What's new

  • Network → Wireless: the access points CAPsMAN manages (both RouterOS generations, read
    over the router's own read-only connection): which are up, their radios and channels, the
    switch port each hangs off, clients over the day; the traffic with its usual band; every
    client with its access point, band, signal and rates, filterable and searchable. Mesh links
    between access points are drawn dotted on the map. Access points are free.
  • Network → Storage:
    • Recording, one card per recorder: recording or not, from three signals shown side by
      side (the recorder's own state and events, its iSCSI disk, its writes toward the NAS against
      their usual rate); cameras online; which LUN it writes to, the free space and the days of
      recording left at the current rate; its cameras.
    • The NAS: disks with temperature and SMART, volumes and RAID state, LUNs and who is
      connected to each.
    • iSCSI sessions: recorder to LUN, since when, throughput and the switch path between them,
      which the map's new iSCSI paths layer draws.
    • UPSes: status, charge, runtime, load, voltages, the battery's state, and which of your
      servers and nodes it feeds: when it goes on battery, their Events say so.
  • Network → Overview has a Recording card: one line per recorder.
  • Read-only, as before: CAPsMAN through print and GET, the QNAP and UPSes over SNMP, Dahua
    recorders with a fixed list of HTTP GET calls and their event stream (HTTP digest, a dedicated
    user, HTTPS pinned on first contact). Profiles for QNAP, UPS-MIB and APC PowerNet-MIB are data,
    like the others.
  • Seventeen new default alerts: an access point disconnected, one with no clients when it
    usually has them, many weak clients, 2.4 GHz channel overlap; a NAS disk's SMART, a hot disk,
    RAID degraded or rebuilding, a volume or LUN over 90%, an iSCSI session lost; a recorder not
    recording, its iSCSI disk lost, its storage full within 3 days, cameras offline (one alert per
    recorder); a UPS on battery, with under 10 minutes left, needing a new battery, or overloaded.
    A recorder going "not recording" waits 5 minutes and names the signal; a camera going offline
    never makes it.

Upgrading

Nothing to do: the migrations run on start. The new kinds need the integrations collector of
0.17.0 where they are polled. Setup for each kind (the users to create, the ports to open) is in
the network devices docs.

Changes since v0.16.1

Features

  • netsim -cert-seed: the simulated router keeps its certificate across restarts, so the demo's edge-1 (and CAPsMAN behind it) isn't paused as a changed certificate (ADR-234) (ee)
  • Network → Wireless and Storage (Recording cards with their three signals, the NAS, iSCSI sessions, UPSes and what they feed), the Overview's Recording card, the map's APs, NAS, recorders, UPSes, mesh links and iSCSI paths layer, recorder profiles on Add devices; e2e/network-kinds.spec.ts (ADR-234) (web)
  • GET /network/kinds, the network tabs' counts (ADR-234) (ee)
  • Wi-Fi access points, clients and mesh from CAPsMAN; a NAS's disks, volumes and LUNs; recorders' three recording signals and iSCSI sessions; UPSes; their alerts and the Wireless and Storage API (ADR-234) (ee)
  • modules get the usual band of a series from What changed's statistics, through the Enterprise host (ADR-234)
  • the poller reads Dahua recorders over HTTP digest (GET only, a fixed list of calls), with the event stream and its reconnect; a simulated recorder for tests and the demo (ADR-234) (ee)
  • the poller reads CAPsMAN (both generations: APs, radios, clients, mesh backhaul), QNAP storage (NAS-MIB disks, SMART, volumes, pools, LUNs, iSCSI targets) and UPSes (UPS-MIB, APC PowerNet-MIB); simulators for each (ADR-234) (ee)

Fixes

  • netsim's recorder reports the MAC its switch sees, and its UPS has a network card, so both hang off their ports (ADR-234) (ee)
  • the network module loads from its index (a cycle between the alert files), an unknown uptime isn't a reboot, recorders aren't discovered, Oldest firmware counts switches and routers, an AP's page names its controller; the isolation walk classifies 0.17's routes (ADR-234) (ee)

Install

Kubernetes (backend, web, agents in one chart):

helm install watchlog oci://ghcr.io/watchlog-light/charts/watchlog --version 0.17.0 \
  --namespace watchlog --create-namespace

Docker hosts: see the install guide.

Verify

Images and charts are signed with cosign (keyless, GitHub Actions OIDC):

cosign verify ghcr.io/watchlog-light/agent:0.17.0 \
  --certificate-identity-regexp '^https://github.com/watchlog-light/watchlog/\.github/workflows/release\.yml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com