Blackbox exporter ping target with gateway and ip address

138 views
Skip to first unread message

Amit Das

unread,
Feb 18, 2021, 2:16:25 PM2/18/21
to Prometheus Users

Just a quick question.

At present i can ping my iot device  using the gateway ip address from inside the server  to the hub  example below:

ping -I   192.168.10.2      10.80.30.20

Can i use in blackbox exporter target with ping as below:
target:
     -  ping -I   192.168.10.2      10.80.30.20  

I Know this is not the correct way.
Any corrections or correct approach for it.

Many thanks.

Amit Das

unread,
Jun 8, 2021, 12:01:13 PM6/8/21
to Prometheus Users
i got it working by adding the source ip in the config ie gateway ip.

thanks
Reply all
Reply to author
Forward
0 new messages