-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
probe success 0 #277
Comments
same case #276 i have but with container. |
I'm having the same issue. Fortigate Exporter v1.24.1 with Fortinet OS v7.4.2. I get all the metrics and even cURL works:
However, the |
Hi guys, Any feedback ? I have just tested the rest API from the same server using the token and it works like a charm :
So it really seems issue is not coming from the fortigate. More interesting, when I perform diagnose debug application httpsd -1 on the fortigate at the same time i am doing : curl 'localhost:9710/probe?target=https://192.168.100.254' I can see nothing poping up in fortigate httpsd debug, while i can perfectly see my attempts when I am using curl command directly from the server (not via fortigate_exporter). Is it possible that fortigate_exporter is not querying correctly the fortigate ? Is it more logs i can get from fortigate_exporter to understand the issue ? Thanks in advance for your help ! Best Regards, Adrien |
So, here's what I've just found, now that I've had a chance to really dig into this:
Upon seeing the above, I had to add the following probe exclusions to the Fortigate Exporter's list: probes:
exclude:
# Bug: https://github.com/bluecmd/fortigate_exporter/issues/277
- Switch/ManagedSwitch
- Log/Fortianalyzer/Status
- Log/Fortianalyzer/Queue
# End of bug fix. This now shows the |
Hi @Hummdis , Thanks for the feedback ! Can you let me know in which file you are confuring those probe exclusions ? Thanks ! Best Regards, Adrien |
It's in the |
Hi guys,
I have the error probe_success 0 when trying to perform following curl toward my fortigate :
My fortigate is on v7.0.12 and its IP is 192.168.100.254.
Prometheus server on which fortiage_exporter runs has IP 192.168.100.100.
Server can ping fortigate without any issue, and when I am doing
diagnose sniffer packet capture
on Fortigate I can see communication between prometheus server and Fortigate back and forth on port 443.Here's below my auth file :
And here's section in prometheus.yml related to fortigate_exporter :
Thanks in advance for your help ;)
Best Regards,
Adrien
The text was updated successfully, but these errors were encountered: