Hi Experts,

I want to know how to configure blackbox exporter configuration to monitor 
multiple source and target. 

So, in my existing configuration to monitor 1 source and multiple target as 
below

*Source : *
prodenv27:9115

*Target : *
        - 1.1.1.1
        - 2.2.2.2

Now, i want to add new source and target in my current configuration :

*New Source : *
prodenv101:9115

*New Target : *
        - 3.3.3.3
        - 4.4.4.4

Should i create new job_name in prometheus config? Or can i have only one 
job_name for all blackbox icmp ?

Here is my current configuration :

  - job_name: 'blackbox_icmp'
    scrape_interval: 60s
    scrape_timeout: 30s
    metrics_path: /probe
    params:
      module: [icmp_ipv4]
    static_configs:
      - targets:
*        - 1.1.1.1*
*        - 2.2.2.2*
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: *prodenv27:9115*


Thanks,
Julian

-- 
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/a7293d50-da4c-4e93-bb9b-9cf71b838450n%40googlegroups.com.

Reply via email to