Hi there, hope you're doing well.
I'm fairly new to prom and having a bit of trouble with all the configs.
I installed the Blackbox exporter for testing on a Windows Client. What I
just want to do is a simple ping to the blackbox node and see in my
dashboard if the client is up or down.
my prometheus.yml:
[...]
- job_name: 'blackbox-icmp'
metrics_path: /probe
params:
module: [icmp]
static_configs:
- targets:
- 1stclient_ip:9115
- 2ndclient_ip:9115
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
When doing this i at least get more or less the correct url, like:
http://1stclient_ip:9115/probe?module=icmp&target= 1stclient_ip %3A9115
but the problem with that is the modulo at the end, which is causing the
hole probe to give only 0's... so there has to be something wrong with my
relabel_config. Completly without i get the error "400 server not
reachable" and when clicking the node the html sais "target parameter is
missing"
Can someone tell me what my fault is?
Kind regards - Kolja
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/71c00036-6b35-42bf-89b9-de4bf872c28bn%40googlegroups.com.