Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upProbe_success value for non exisisting URL #2257
Comments
This comment has been minimized.
This comment has been minimized.
|
Dupe of #2256 |
brian-brazil
closed this
Dec 6, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
lalithasoundarya commentedDec 6, 2016
•
edited
What did you do?
I installed prometheus on my pc and tried to scrape Google.com but the probe status is 0 .
What did you expect to see?
It should give an error message as non existing url
What did you see instead? Under which circumstances?
Iam seeing probe success = 0 message for google.com
Environment
windows
System information:
insert output of
uname -srmhereMicrosoft Windows [Version 6.1.7601]
Prometheus version:
insert output of
prometheus -1.3.1 windows amd64Alertmanager version:
insert output of
alertmanager -versionhere (if relevant to the issue)Prometheus configuration file:
global:
external_labels:
monitor: 'hostname'
rule_files:
- 'C:\Users\prasanta1.sahoo\go\bin\alert.rules'
scrape_configs:
job_name: 'bb'
scrape_interval: 30s
scrape_timeout: 10s
metrics_path: /probe
params:
module: [http_2xx] # Look for a HTTP 200 response.
URL: google.com
relabel_configs:
regex: (.*)(:80)?
target_label: __param_target
replacement: ${1}
regex: (.*)
target_label: instance
replacement: ${1}
regex: .*
target_label: address
replacement: 10.50.89.143:9115 # Blackbox exporter.
Please let us know for any changes in the above config file.
my global config.docx