Skip to content

Configuration

Get GeoLite2 DB Key

  • Navigate to MaxMind’s website
  • Register/Login
  • Navigate to Manage License Keys
  • Click Generate new license key

maxmind-generate

  • Enter a Name
  • Select Yes on Will this key be used for GeoIP Update
  • Select Generate a license key and config file for use with geoipupdate version 3.1.1 or newer.

maxmind-confirm

  • Click Confirm
  • Copy and store License key for later use

Enable ntopng

Navigate to Diagnostics -> ntopng Settings

  • Check Enable ntopng
  • Set ntopng Admin Password
  • Set Confirm ntopng Admin Password
  • Select Interface(s) you want to monitor
  • Optionally, enter GeoLite2 DB License Key
  • Click 💾Save

ntopng-config

Configure ntopng

Navigate to Diagnostics -> ntopng

Username: admin Password: the-password-you-set-before

  • Navigate to top right corner, click on the human icon
  • Toggle Dark Theme
  • Click Settings -> Preferences on the left sidebar
    • Click Expert View
    • Click Timeseries
      • Set Layer-7 Applications to Applications
      • Set Host Timeseries to Full
      • Set Layer-7 Applications to Applications
      • Toggle VLANs to ON
      • Toggle Autonomous Systems to ON
      • Toggle Countries to ON
      • Toggle Operating Systems to ON
      • Click Save

ntopng-timeseries1 ntopng-timeseries2

  • Click Alerts
    • Toggle Emit Alerts to OFF
    • Click Save

ntopng-alerts

  • Click Telemetry
    • Click Do not contribute
    • Click Save

ntopng-telemetry

  • Click Data Retention
    • Set to 120 Days
    • Click Save

ntopng-retention

For every non-WAN interface, navigate to Interface on the left sidebar (You can change interface on the top left corner)

  • Click the ⚙️Gear
  • Set Local Broadcast Domain Hosts Identifier to MAC Address
  • Click Save Settings

ntopng-interface-macaddress

  • Click the ⚡Lightning
  • Click the
  • Enter the first DCHP IP of the interface you are configuring now
  • Enter the last DCHP IP of the interface you are configuring now
  • Click Save Settings

ntopng-dhcp

If you get an error like below, simply restart the ntopng service.

ntop-error