Files
NetAlertX/front/plugins/arp_scan
sebingel 4c117db463 Fix elementOptions: rename typo 'ordeable' to 'orderable'
The key 'ordeable' in elementOptions was a long-standing typo for the
correct English word 'orderable'. Since the JS check in settings_utils.js
used the same misspelled key, the feature appeared to work — but it was
relying on the consistent propagation of a typo across the entire codebase.

Two pre-existing entries in front/plugins/ui_settings/config.json already
used the correct spelling 'orderable', but these had no effect because the
JavaScript check (option.ordeable === 'true') never matched them. As a
result, orderable behavior was silently disabled for those two settings.

Changes:
- front/js/settings_utils.js: renamed option.ordeable → option.orderable
  and isOrdeable → isOrderable (6 occurrences, lines 792/823/824/880/1079/
  1192/1228). The JS key check is the authoritative definition of the
  elementOptions property name, so this must change atomically with all
  config files.

- server/initialise.py:245: renamed "ordeable" → "orderable" in the
  hardcoded JSON string for LOADED_PLUGINS setting. This string is the
  source-of-truth for that setting's elementOptions and is not auto-
  generated from the plugin config files.

- front/plugins/*/config.json (33 files, 90 occurrences): renamed all
  "ordeable": "true" entries to "orderable": "true" via sed. All plugins
  used the typo consistently; they must be updated in the same commit to
  avoid a broken intermediate state.

The two formerly broken 'orderable' entries in ui_settings/config.json
are now matched by the corrected JS check and work as intended.

Fixes netalertx/NetAlertX#1584

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 18:28:48 +00:00
..
2024-01-07 10:26:08 +11:00
2026-01-15 10:07:06 +11:00

Overview

Most on-network scanners (ARP-SCAN, NMAP, NSLOOKUP, DIG) rely on scanning specific network interfaces and subnets. Check the subnets documentation for help on this setting, especially VLANs, what VLANs are supported, or how to figure out the network mask and your interface.

An alternative to on-network scanners is to enable some other Device scanners/importers that don't rely on NetAlertX having access to the network (UNIFI, dhcp.leases, PiHole, etc.).

Note: The scan time itself depends on the number of IP addresses to check so set this up carefully with the appropriate network mask and interface.

Note

If you have a lot of offline devices, which should be online, look into using, or substituing, ARP scan with other scans, such as NMAPDEV. The ARP scan protocol uses a cache so results may not be 100% reliable. You can find all available network scanning options (marked as 🔍 dev scanner) in the Plugins overview readme.

Usage

  • Go to settings and set the SCAN_SUBNETS setting as per subnets documentation.
  • Enable the plugin by changing the RUN parameter from disabled to your preferred run time (usually: schedule).
    • Specify the schedule in the ARPSCAN_RUN_SCHD setting
  • Adjust the timeout if needed in the ARPSCAN_RUN_TIMEOUT setting
  • Review remaining settings
  • SAVE
  • Wait for the next scan to finish

Common issues

IP flipping on Google Nest devices

Some devices might flip IP addresses after each scan triggering false notifications. This is because some devices respond to broadcast calls and thus different IPs after scans are logged. To preven this you can try to use the --exclude-broadcast flag in the ARPSCAN_ARGS setting or change the SCAN_SUBNETS setting from e.g.: 192.168.1.0/24 to 192.168.1.1-192.168.1.254 to exclude the broadcast address 192.168.1.255 from the scanned range.

Examples

Settings:

settings