-
Notifications
You must be signed in to change notification settings - Fork 1k
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
blackbox exporter failing to recognised the service is not responding #79
Comments
Those are showing probe_success as 0 as is expected when the target is down.
That's due to bash interpreting the |
I think you should read https://www.robustperception.io/whats-up-doc/, in particular the last paragraph. |
Thanks for more info, but for particular service that is down ..right now .. i am still getting |
That's correct. The blackbox exporter is being successfully scraped. You need to look at probe_success to see if the probe worked. |
Thanks 👍 . |
@brian-brazil We have prometheus installed and also blackboxexporter via helm. Post defining servicemonitor for Blackboxexporter i am able to see my blackboxexporter service pods in Prometheus Target but its not probing the targets added. screen shot for prometheus discovery |
I was quite amazed to see that the service is termed still up and ok while in the stdout logs of the blackbox exporter is showing errors like this
I have intentionally , scaled a service to zero pods in openshift origin. and i was expecting a instance down alert from prometheus.. How ever form target view the blackbox exporter never seems to recognize that service is down and is not responding
while i try to directly query the backend service using the blackbox exportetservice ip
i am using module http_2xx so since the status code is 0 , should not it have raised (lavel) service as down in targets view in prometheus Web UI.
Also additionally this query works
while
and bails out .
Am i missing something on the alert part. if a service dont have any endpoints i am hoping that probing to it fails or i am missing something?
I am using blackbox exporter container version0.3,0
as it start it shows
The text was updated successfully, but these errors were encountered: