-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathntopng-exporter.yaml
24 lines (22 loc) · 1.04 KB
/
ntopng-exporter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ntopng:
endpoint: "http://127.0.0.1:3000"
allowUnsafeTLS: false # set to true to accept self-signed or otherwise unverifiable certs from ntopng (default: false)
user: admin
password: admin
authMethod: cookie # cookie, basic, token or none are accepted values
scrapeInterval: 15s # scrape from the ntopng API every x period of time (should be synced with your prometheus scrapes) (default: 1 minute)
scrapeTargets: # you can also specify "all" as a single list item to scrape all available endpoints (default: all)
- hosts
- interfaces
- l7protocols
host:
interfacesToMonitor:
- enp2s0
metric:
localSubnetsOnly: # if this is defined, only include the local subnets defined here (greatly reduces number of metrics)
- "192.168.0.0/24"
- "224.0.0.0/4"
excludeDNSMetrics: false # set to true, if you don't care about DNS metrics (also reduces number of metrics) (default: false)
serve:
ip: 0.0.0.0 # IP to serve metrics on, 0.0.0.0 is all interfaces (default: 0.0.0.0)
port: 3001 # port to serve metrics on (default: 3001)