支持设置密码
This commit is contained in:
@@ -64,6 +64,18 @@ scrape_configs:
|
||||
static_configs:
|
||||
- targets: ['8.8.8.8:9100']
|
||||
|
||||
- job_name: 'nodes'
|
||||
static_configs:
|
||||
- targets: ['your-server-ip:9100']
|
||||
|
||||
# Basic Auth example:
|
||||
# - job_name: 'nodes_auth'
|
||||
# static_configs:
|
||||
# - targets: ['your-server-ip:9100']
|
||||
# basic_auth:
|
||||
# username: 'user'
|
||||
# password: 'password'
|
||||
|
||||
EOF
|
||||
|
||||
# Create systemd service file
|
||||
|
||||
Reference in New Issue
Block a user