adeb02f7ce0379d1280070cfaa5596465d01a1f5
				
			
			
		
	NtopngGlobe
Ntopng alerts are displayed in Globe.gl
Install packages
npm install
Setup
⚠️ Ntopng webhook must point on
http://<ADRESS>:3100/ws
Start Server
npm start
Docker
Run with config file
docker run -p 3100:3100 -p 8999:8999 --name ntopngglobe -v /PATH/TO/CONF/FOLDER:/usr/src/app/public/conf -d dergeorg/ntopngglobe
Run without config file (default config)
docker run -p 3100:3100 -p 8999:8999 --name ntopngglobe -d dergeorg/ntopngglobe
Usage
📓 Open in browser:
http://<ADRESS>:3100
Features
- Automatic refresh on new Data
 - Manual refresh on left-click
 - Click on arc reveals whole "Ntopng Alert"
 - Hover on arc reveals src/dest ip/hostname
 
Colors
- Orange arc is a bidirectional request (sender and receiver are swapped)
 - Red side of arc is receiving
 - Green side of arc is sending
 
Settings example
{
  "location": {
    "home": {  
      "lat": 48.1,  // must be set to lat of home wan ip  --> https://www.maxmind.com/en/locate-my-ip-address
      "lng": 16.3   // must be set to lng of home wan ip --> https://www.maxmind.com/en/locate-my-ip-address
    },
    "precision": 0   // how to round the decimal. 0 is no decimal
  },
  "colors": {
    "loc": {
      "default": "green",
      "dualsender": "orange"
    },
    "arc": {
      "default": [
        "green",
        "red"
      ],
      "dualsender": [
        "orange",
        "orange"
      ]
    }
  },
  "sizes": {
    "loc": {
      "default": 0.1
    },
    "arc": {
      "default": 1.1
    },
    "globe": {
      "arcDashLength": 0.4,
      "arcAltitudeAutoScale": 0.4,
      "arcDashGap": 0.1,
      "arcDashInitialGap": 0.1,
      "arcDashAnimateTime": 7000,
      "arcStroke": 0.5,
      "labelSize": 0,
      "labelDotRadius": 0.4,
      "labelResolution": 2
    }
  },
  "timer": {
    "del": 30, // deletes alerts older than 30 minutes
    "refreshTimer": 1 // 1 --> refresh globe every 1 minute; 0 --> refresh globe on every new Data set
  },
  "ips": {
    "home": "192.168.1.", //Private home adress
    "loopback": "127.0.0.1",
    "server": "localhost:3100", //Server adress
    "serverws": "localhost:8999" //websocket adress
  }
}
Description
				
					Languages
				
				
								
								
									JavaScript
								
								67.7%
							
						
							
								
								
									HTML
								
								29.3%
							
						
							
								
								
									Dockerfile
								
								1.8%
							
						
							
								
								
									Pug
								
								1.2%
							
						
					