Files
NetAlertX/front/plugins/dhcp_leases/README.md
2023-03-19 15:48:20 +11:00

726 B
Executable File

Overview

A plugin allowing for importing devices from DHCP.leases files.

Usage

  • Specify full paths of all dhcp.leases files you want to import and watch in the DHCPLSS_paths_to_checksetting.
  • Map the paths specified in the DHCPLSS_paths_to_checksetting in your docker-compose.yml file.

Example:

docker-compose.yml excerpt:

    volumes:
      ...
      # mapping different dhcp.leases files
      - /first/location/dhcp.leases:/mnt/dhcp1.leases
      - /second/location/dhcp.leases:/mnt/dhcp2.leases      
      ...

DHCPLSS_paths_to_check Setting:

DHCPLSS_paths_to_check = ['/mnt/dhcp1.leases','/mnt/dhcp2.leases']

Notes

  • No specific configuration needed.