fortigate_exporter icon indicating copy to clipboard operation
fortigate_exporter copied to clipboard

probe issue

Open hrazaka opened this issue 1 year ago • 2 comments

after running ./fortigate-exporter -auth-file fortigate-key.yaml

I got 2024/07/18 17:06:27 Probe of "https://myforti.com" failed, took 0.014 seconds 2024/07/18 17:06:42 Error: API connectivity test failed, Get "https://myforti.com/api/v2/monitor/system/status": tls: failed to verify certificate: x509: certificate signed by unknown authority

hrazaka avatar Jul 18 '24 14:07 hrazaka

Also mine was: API connectivity test failed, Get "https://xxx.xxx.xxx.xx/api/v2/monitor/system/status": x509: certificate is not valid for any names, but wanted to match xxx.xxx.xxx.xx

fulopbencus avatar Jul 30 '24 18:07 fulopbencus

Th solution is : with valid certificate ./fortigate-exporter -auth-file fortigate-key.yaml -extra-ca-certs certificate.pem or to turn off security ./fortigate-exporter -auth-file fortigate-key.yaml -insecure Enjoy

hrazaka avatar Jul 31 '24 07:07 hrazaka