Skip to content

v0.19.0-dev2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Oct 20:36
· 823 commits to main since this release

Second development release of 0.19.0: PRTG monitoring as a full integration (status, sensors with gauges on device and VM pages, alarms, acknowledgements both ways, maintenance pauses, adoption and inventory drift), application groups that put a server's whole software stack on it in one step and hand it to Ansible, an Application map under Maps, a Compliance page built for triage, the software version each device really runs with a Versions view, a fuller end-of-life card per application, cables added without closing the form, unique tag names with merging, and fixes for oversized API pages and cross-site names in flows and cooling.

Caution

This is a development release. It is not stable and it contains bugs. Do not run it in production or on data you can't restore. Take a backup before upgrading a test install, and expect behaviour to change before 0.19.0. If you run into a problem, please submit a bug report - every report helps get 0.19.0 right.

Note

Behaviour changes:

  • Notification channel credentials are write-only. GET /api/monitoring/channels/ no longer returns a Slack, Teams, Discord or webhook channel's url or a PagerDuty routing_key; it answers url_set and routing_key_set instead, like the Telegram bot_token_set. Sending a value in config still sets it. The upgrade moves stored values into the encrypted store; the services must be restarted straight after the migration, which the upgrader does, or those channels cannot send in between.
  • Compliance opens on Overview. /compliance now starts on the new Overview tab; the Violations and Rules tabs keep their URLs and filters.
  • The Applications list opens in tree order, a parent followed by its children, instead of alphabetically.
  • Software versions carry a source. Existing versions are marked virtualization when an integration set them and manual otherwise. An automatic source never overwrites a manual or imported value.
  • Site roles gain the new types. Existing site viewer and editor roles are upgraded to cover application groups and their assignments, PRTG links, sensors, changes, pins, host facts and per-device sensor overrides.
  • API pages are capped at 2,000 rows. A page_size above API_MAX_PAGE_SIZE (default 2,000) is cut to it, so scripts must follow next. Pages above 1,000 rows are limited to two in flight per token or user, and a third answers 429 with Retry-After. The web app and the Python SDK read 1,000 at a time and never meet the limit. An invalid paging setting, API_PAGE_SIZE=0 included, now stops the service at start instead of being treated as 1.
  • Tag names are unique. A new or renamed tag cannot take a name the tenant already sees, ignoring case. Existing duplicates stay until you merge them on the Tags page.
  • A new timer. danbyte-extmon-sync.timer drives the shared external-monitor beat that PRTG runs on; make install-services links and enables it on upgrade. Zabbix keeps its own timer.
  • Zabbix runs on a shared layer. The Zabbix integration moved onto monitoring/external/ (severity map, matching, review queue, adoption, maintenance, acknowledgement hooks) with no schema or behaviour change.

Applications

  • #436 - Application groups. DCIM → Devices → Application groups holds named sets of applications such as RDS or SCADA, each member with an optional starting version. Assign a group from a device's or VM's Software tab, from the group's Hosts tab or in the device and VM forms, and the host gets one install per member; unassigning removes the installs it created and keeps any that were edited. A member added to a group later lands on every host it is assigned to. Adding a parent application offers to include its children, which join as members of their own in tree order.
  • #436 - Groups in the Ansible inventory. /api/inventory/ansible/ lists each host's application_groups and applications (name, slug, version, group), and every assigned group becomes an inventory group app_group_<slug>, so a play can target hosts: app_group_rds or loop over the host's applications.
  • #436 - End of life on the application page. The card names the source and product with links out, lists every cycle the installs run with its status, end date, latest version and the installs on it (each count opens the Installed on tab filtered to that cycle), says plainly when the product is not in the catalog or none of the versions match, and offers Change product, Remove and, for admins, Refresh now.
  • #436 - Hierarchy. The application page's Overview shows the path to the root as crumbs and the children three levels deep with their install counts; the Applications list opens in tree order with each child marked under its parent; Installed on filters by cycle and shows a manual chip where the cycle was set by hand.
  • #436 - Backlinks. The End of life badge on a device's or VM's Software tab and the End date of a software row on the Lifecycle page open the application's card; the Lifecycle page gains an Application column and filter, and the application's install count opens it filtered.
  • #436 - Software on device and VM pages. The Software tab shows its count, the Overview gets a Software card with the first installs, their versions and time left, and installs can be added from the application's Installed on tab as well. The VM Disks and device Support contracts tables now match the other Overview cards.
  • #436 - Groups tab. An application's page lists the groups it belongs to.

PRTG monitoring

  • Connection. Settings → Integrations gains PRTG monitoring; the /prtg page holds the connection (URL, API key stored encrypted and write-only, read interval, TLS check) with Test connection reporting the PRTG version, probe and sensor counts and whether API v2 answers. The classic API is read with the key as apitoken; API v2 is probed with a bearer token.
  • Status like Zabbix. Every read interval Danbyte reads the sensor table, matches PRTG devices to its own devices and VMs (stored link, a danbyte-<id> tag, address, DNS name, exact name; two candidates at one level go to the review queue as "Needs a decision"), rolls the sensors up per object through an editable state map (Up, Warning, Unusual, Down, Down (Partial), Down (Acknowledged) → Danbyte's states; paused, unknown, no probe and not licensed stay unknown), and feeds a prtg check kind that can be narrowed by sensor type or tag. A PRTG column and ?prtg= filter on the device and VM lists; a push endpoint for PRTG's "Execute HTTP Action" that triggers a re-read of one device.
  • Sensors on device and VM pages. A Sensors tab with a status strip, one card per sensor (last value, last check, uptime, PRTG's message when not up, a link into PRTG) and a panel per sensor with one card per channel: an arc gauge with warning and error bands for numbers, a segmented state bar for lookups, "No value" where PRTG has none, a sparkline and 1h/24h/7d history read from PRTG on demand and cached for one interval. The Monitoring tab shows a PRTG summary row. Channels can be pinned to the Overview.
  • PRTG overview. /prtg shows all sensors with state counts, an Alarms tab (down and degraded sensors with message, since when and acknowledged state) and a Sensors tab with facets and search.
  • Dashboards. Two widgets: Sensor (a device or VM, a sensor and a channel as gauge, lookup bar, value or sparkline) and Sensor alarms.
  • Two-way. Acknowledging a Danbyte alert on a prtg check acknowledges the PRTG sensors behind it, and a sensor acknowledged in PRTG acknowledges Danbyte's alert, without echoing. Confirmed maintenance windows can pause the linked PRTG devices and resume them after (off by default; devices paused by hand are never touched). PRTG devices nothing matches can be adopted into Danbyte through adoption rules and defaults (off by default). PRTG's system information can feed the inventory drift inbox below a direct SNMP poll (off by default).
  • Danbyte as the source of truth. Decide in Danbyte which devices and VMs PRTG monitors: a Monitor in PRTG / Exclude choice on every device and VM, policies by site, region, location, role, device type, platform, tag, name or hardware that pick a sensor profile (ping, SNMP uptime, traffic per interface, CPU, memory, HTTP, SSL, WMI, Windows service, or one of PRTG's own device templates) and a PRTG group, and Register all. The planning pass turns that into rows in the Review queue; a policy's page lists every object it hits and which policy wins the group.
  • Writing to PRTG. Applying a row creates the device and its sensors in PRTG through API v2 (PRTG 26.2.120 or later; older servers fall back to copying a seed device), tags them so Danbyte recognises its own, sends SNMP and Windows credentials when allowed, moves devices between groups, and prunes devices it created when they leave scope. Apply per row, apply selected, apply all applicable, or let the connection apply on its own; nothing Danbyte did not create is ever touched.
  • Sensors where they belong. Each sensor is linked to the IP address PRTG polls, the interface of a traffic sensor and the service behind an HTTP or SSL sensor, and shows on those pages as well; sensors and channels can be pinned to an object's Overview.
  • Monitoring card. Device and VM pages get one monitoring card for Danbyte checks, Zabbix and PRTG: one header line with the overall state and a mixed status badge per source, then the problems as rows with links into the right tab or sensor panel, and nothing more when everything is up; the header badge carries the overall state and the same hover everywhere.
  • From "Monitor in PRTG" to sensors without hunting. Saving a device or VM with Monitor in PRTG plans it at once and, when the connection applies automatically, adds it to PRTG right away; the Sensors tab says what is happening (Not in PRTG with the reason and where to fix it, Planned with Add to PRTG now, Adding…, In PRTG with no sensors yet). Shared addresses are handled: the object whose name matches PRTG's device wins, a real tie becomes a decision row with the choices as buttons, a separate PRTG device per object is allowed, and an object can name the host PRTG polls. Danbyte's tags go to PRTG as tags and stay in sync; sensor profiles accept every kind PRTG offers through one searchable picker with the standard kinds on top.
  • Add sensors by hand. A linked device's or VM's Sensors tab offers Add sensor: PRTG's own list of sensor kinds for that device, Danbyte's parameter form for the common kinds and PRTG's form for the rest, an interface scan for SNMP traffic, and the sensor appears on the tab as soon as PRTG has it; Discover runs PRTG's auto-discovery with one of its device templates.
  • Pause and acknowledge from Danbyte. Sensor cards, the sensor panel, the Alarms and Sensors tables and the device strip offer Acknowledge with a note, Pause for 1h, 24h or until resumed, and Resume, written to PRTG and journaled on the device or VM.
  • Shared gauges. The gauge, lookup bar and sparkline are shared primitives for Danbyte's own checks to reuse.
  • Group trees from sites and roles. A connection can build its PRTG groups from Danbyte's regions, sites, locations and roles under a chosen root group, with a preview on /prtg. Groups of the same name are reused, and only groups Danbyte made are renamed or removed. Off by default.
  • Where credentials go. A sensor profile says per credential section whether PRTG inherits it, or Danbyte sets it on the device's group or on the device. Proxmox, VMware, Windows and SSH logins are stored encrypted and write-only, and the device page shows what PRTG has in effect.
  • Coverage on the Sensors tab. A collapsed card lists the policies that hit the device or VM, its group, and each sensor they want as in PRTG, planned, failed with PRTG's reason, or waiting with what is missing. Sensors no policy wants are listed with where they came from. A switch per sensor turns it off for that one device or VM.
  • Deleting and retiring. The device and VM delete dialogs, single and bulk, offer Also remove from PRTG: a PRTG device Danbyte created is deleted, any other is paused unless you tick Delete it anyway. Retirement rules by status or tag pause or delete the PRTG device, and resume it when the object stops matching. A rule's deletes wait in the review queue unless the rule allows applying them automatically. Devices and VMs gain bulk delete.
  • Retries. Automatic apply retries a failed row after 2, 10 and 30 minutes and stops after five failures. Writing to a device PRTG has only just created waits for PRTG to accept it.
  • Channel states. A channel shows its own state from its lookup value or limits instead of repeating the sensor's.
  • Bulk select sensor kinds in the kind picker, for a profile or a device.

Application map

  • #163 - Maps → Applications. A new map on the topology engine with two views. Tree lays the application hierarchy out in rows with the hosts underneath; Flows draws every flow between its ends with protocol and ports on the line, arrowheads by direction and colour by status. Filters for application, status, protocol and host, a search, a legend, detail panels on click, and PNG, SVG, PDF and draw.io export.
  • #163 - Legible lines. Each application has a stable colour, shown as a bar on its card and on its host lines; host lines run in a channel per application and meet each host at its own point; no line crosses a card it does not connect to, in either view; hovering or selecting an application or host focuses its lines and fades the rest; a Hosts option offers Off, Row or Under applications.
  • #163 - The Diagram tab on an application's page is now the embedded map in the page's own theme, with a link to the full map.

Compliance

  • Overview tab. The Compliance page opens on a row of counts (rules, passing, with violations, objects in violation, open per severity), a card per rule showing OK or how many objects fail it, worst first, with search, Hide passing and grouping by severity or object type, and a Top offenders table.
  • Violations built for triage. Facets for state, severity, rule, object type, site and tags; group by rule with collapsible headers; select rows to Acknowledge, Snooze until a date or Reopen with a note, each change logged and journaled; every filter in the URL.
  • Triage is its own permission. Acknowledging, snoozing and reopening need compliancetriage.change, separate from editing rules; the built-in Administrator and Operator roles have it and Read-only can view the triage log. An acknowledgement applies to the current occurrence: when an evaluation finds the object passing it is cleared and logged, and a later failure is open again; a snooze keeps its date.
  • Rules and the rule page show the severity and current result; the rule page's Results tab has a Triage button into the filtered Violations.
  • API. GET /api/compliance/summary/ returns the counts and per-rule results in one call; /api/compliance/evaluate/ gains facets and the site, tag, state and multi-rule filters; POST /api/compliance/triage/ acknowledges, snoozes or reopens up to 1,000 pairs.

Lifecycle

  • #451 - Where a version comes from. Devices and VMs record the source of their software version (manual, SNMP, virtualization, Oxidized, import) with the time an integration last set it, shown next to the version on the Overview. A value someone typed is never overwritten by an integration.
  • #451 - Versions read from SNMP. The version is extracted from sysDescr for IOS, IOS-XE, NX-OS, Junos and EOS, or by a per-platform version pattern on the platform form; manage.py extract_software_versions re-reads stored facts, and saving a new pattern queues that.
  • #451 - Versions view. Lifecycle gains a Versions view: version by platform with device and VM counts, on-target state and sources, filterable by site, platform and role, each count opening the filtered list; GET /api/lifecycle/versions/ behind it, and ?software_version= and ?software_version_source= on the device and VM lists.

Cables, tags and tables

  • #454 - Cable several ports without closing the form. Save and add another moves both ends to the next free port and lists the cables made, each undoable. Many at once pairs ticked ports on two devices and creates them in one request through POST /api/cables/bulk-create/.
  • Unique tag names and merging. Older global tags carry a global chip, the Tags list flags names used twice, and Merge into… moves every object to the kept tag and deletes the other in one step.
  • Every address on the IPs tab. A device's or VM's IPs tab lists addresses on its interfaces, assigned to it, or held as its primary, out-of-band or secondary address, with an Assigned to column. VMs get an IPs tab.
  • Open search results in a new tab. Global search results are links, so Ctrl-click or middle-click opens one in a new tab.
  • Wide tables keep their horizontal scrollbar floating at the bottom of the window.
  • The Routing menu moved between Power & cooling and Wireless.

Fixed

  • #452 - Fixes a few API calls with a huge page_size blocking every worker. Pages are capped at 2,000 rows and large pages are limited per token, as described above.
  • #453 - Fixes application flows and cooling intakes naming another site's addresses, DNS names, devices, VMs, cooling feeds and CDUs to a site-scoped viewer. The table, map, diagram, PDF and search now show them as Hidden.
  • The Tagged objects count on a tag page counted objects in other tenants.
  • PRTG sensors with text tags failed to create when PRTG expected the tags as text.
  • Detail panels on maps sat under sticky table headers, and the tag picker list did not scroll inside dialogs.
  • Notification channel credentials were readable by every viewer. Webhook URLs and PagerDuty routing keys came back in the channel API to any user who could view channels, including the built-in Read-only role, and a failed test send could echo the webhook path. They are now stored encrypted beside the Telegram token, never returned, and the error is masked.