- file_sd_configs:
- files:
- redfish.yml
job_name: Redfish
metrics_path: /metrics
scrape_interval: 3m
scrape_timeout: 180s
relabel_configs:
- source_labels: [__address__]
regex: (.*)
target_label: __param_target
replacement: ${1}
- source_labels: [__param_target]
regex: (.*)
target_label: instance
replacement: ${1}
- source_labels: []
regex: .*
target_label: __address__
replacement: 127.0.0.1:10002 # redfish exporter.- labels:
__param_password: '12345678'
__param_username: ADMIN
exporter: redfish
tid: 1
targets:
- 10.10.20.147
- labels:
__param_password: adminadmin
__param_username: ADMIN
exporter: redfish
tid: 2
targets:
- 10.10.20.177
- labels:
__param_password: '12345678'
__param_username: ADMIN
exporter: redfish
tid: 3
targets:
- 10.10.20.146
- labels:
__param_password: '12345678'
__param_username: ADMIN
exporter: redfish
tid: 4
targets:
- 10.10.20.167This is not secure, anyone who has access to the Prometheus will be able to see the password.
Is your Prometheus generally overloaded? How many samples are being returned by these targets?--Brian Brazil
| Endpoint | State | Labels | Last Scrape |
|---|---|---|---|
| http://127.0.0.1:10002/metrics | UP | exporter="redfish" instance="10.10.20.146" tid="3" | 6m43.498s |
| http://127.0.0.1:10002/metrics | UNKNOWN | exporter="redfish" instance="10.10.20.177" tid="2" | Never |
| http://127.0.0.1:10002/metrics | UP | exporter="redfish" instance="10.10.20.167" tid="4" | 32m7.288s |
| http://127.0.0.1:10002/metrics | UP | exporter="redfish" instance="10.10.20.147" tid="1" | 14m58.591s |
On 19 April 2017 at 04:40, Dongyi Zhang <txd...@163.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/77848389-f8d9-4e54-a91d-8cf8c47a7d24%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/AAHYP7XxMY4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CA%2BT6YoyTYb3MGj%2BB%2B6osx5vS0ZM8%3DZtP%2Bcdtt_B746jQGgxSyQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
The configured scrape interval is 30 minutes. It was too long to scrape new targets, and I could not control the time of the first scrape.
After the configuration file is valid, can I manually trigger the next scrape immediately?
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3d39a07e-d7f6-4be6-83f9-2ddaa7b8bd39%40googlegroups.com.