i got it working by adding the source ip in the config ie gateway ip.

thanks
On Friday, February 19, 2021 at 12:46:25 AM UTC+5:30 Amit Das wrote:

>
> 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.
>

-- 
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/a6f1af4f-5572-44e3-a6ca-6dc8f836161cn%40googlegroups.com.

Reply via email to