You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you maybe help me I can not get it unfortunately
What am I doing wrong ? :(
I am thankful for any help
Error:
Probe request rejected; error is: no API authentication registered for "https://fortigate1:8443"
Probe request rejected; error is: no API authentication registered for "https://fortigate2:8443"
Probe request rejected; error is: no API authentication registered for "https://fortigate3:8443"
Hello Guys,
Can you maybe help me I can not get it unfortunately
What am I doing wrong ? :(
I am thankful for any help
Error:
Probe request rejected; error is: no API authentication registered for "https://fortigate1:8443"
Probe request rejected; error is: no API authentication registered for "https://fortigate2:8443"
Probe request rejected; error is: no API authentication registered for "https://fortigate3:8443"
Exporter Config:
docker run -d -p 9710:9710 --name fortigate_exporter -v /root/fortigate_exporter/fortigate-key.yaml:/config/fortigate-key.yaml --restart unless-stopped fortigate_exporter:latest -auth-file /config/fortigate-key.yaml -insecure
fortigate-key.yml:
"https:/fortigate1fqdn:8443":
token: mytoken1
"https://fortigatefqdn2:8443":
token: mytoken2
"https://fortigate3fqdn:8443/":
token: mytoken3
Prometheus Config:
job_name: 'fortigate1'
metrics_path: /probe
static_configs:
- targets:
- https://exporterFQDN:8443
token: /fgkeys/fgkey1.yml
tls_config:
insecure_skip_verify: true
relabel_configs:
- source_labels: [address]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
regex: '(?:.+)(?:://)([^:]).'
- target_label: address
replacement: 'exporterfqdn:9710'
job_name: 'fortigate2'
metrics_path: /probe
static_configs:
token: /fgkeys/fgkey2.yml
tls_config:
insecure_skip_verify: true
relabel_configs:
target_label: __param_target
target_label: instance
regex: '(?:.+)(?:://)([^:]).'
replacement: 'exporterFQDN:9710'
job_name: 'fortigate3'
metrics_path: /probe
static_configs:
token: /fgkeys/fgkey3.yml
tls_config:
insecure_skip_verify: true
relabel_configs:
target_label: __param_target
target_label: instance
regex: '(?:.+)(?:://)([^:]).'
replacement: 'exporterFQDNe:9710'
The text was updated successfully, but these errors were encountered: