From f428f45ad253a705c3ceebf079d23b3bdea926a2 Mon Sep 17 00:00:00 2001 From: "Jokob @NetAlertX" <96159884+jokob-sk@users.noreply.github.com> Date: Sat, 9 May 2026 23:53:06 +0000 Subject: [PATCH] Update README to include Domotz as a network monitoring option and refine device management logic in deviceDetails.php --- README.md | 1 + front/deviceDetails.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b646927..388db71d 100755 --- a/README.md +++ b/README.md @@ -170,6 +170,7 @@ Get notified about a new release, what new functionality you can use and about b - [Fing](https://www.fing.com/) - Network scanner app for your Internet security (Commercial, Phone App, Proprietary hardware) - [NetBox](https://netboxlabs.com/) - The gold standard for Network Source of Truth (NSoT) and IPAM. - [Zabbix](https://www.zabbix.com/) or [Nagios](https://www.nagios.org/) - Strong focus on infrastructure monitoring. +- [Domotz](https://www.domotz.com/) - Commercial network monitoring and remote management platform aimed at MSPs, IT teams, and multi-site environments. - [NetAlertX](https://netalertx.com) - The streamlined, discovery-focused choice for real-time asset intelligence and noise-free alerting. ### 💙 Donations diff --git a/front/deviceDetails.php b/front/deviceDetails.php index cd8de5d9..9d3db549 100755 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -540,7 +540,7 @@ async function updateDevicePageName(mac) { let owner = getDevDataByMac(mac, "devOwner"); // Stage 2: one re-cache attempt - if (mac !== 'new' && (name === null || owner === null)) { + if (mac !== 'new' && name === null) { console.warn("Device not in cache, attempting re-cache:", mac); showSpinner(); try { @@ -555,7 +555,7 @@ async function updateDevicePageName(mac) { } // Stage 3: REST fallback — same endpoint renderSmallBoxes uses, always DB-direct - if (mac !== 'new' && (name === null || owner === null)) { + if (mac !== 'new' && name === null) { console.warn("Device not found in cache after re-cache, falling back to REST API:", mac); try { const { apiBase, authHeader } = getAuthContext();