Hi Julius,

Thank you for the clarification. I will continue with your instruction, but
it will be too long with a lot of jobs.

Regards,
Asif

On Thu, Jul 1, 2021 at 7:34 PM Julius Volz <[email protected]> wrote:

> Hi Asif,
>
> Since basically you would want to create multiple targets (same host,
> different ports) for every host target that is returned from EC2 SD, you
> would indeed have to create one job per port to monitor, as a scrape
> configuration cannot "split up" a single target into multiple, it can only
> modify and filter each individual target, but it can't create new ones.
>
> Regards,
> Julius
>
> On Mon, Jun 28, 2021 at 10:14 PM ASIF ABDUL LATHEEF <[email protected]>
> wrote:
>
>> I have 15 ec2 instances and i want to check the service status of
>> multiple ports ( like 22, 443, 80, 8000 etc ) of all these instances, which
>> i think is done by using blackbox exporter. So, can i create a single job
>> for this by combining ec2_sd_config with blackbox exporter.? how can i give
>> multiple ports in such a case.?
>>
>> --
>> 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/a3dd1aa1-ec79-4993-bd64-d07967e91127n%40googlegroups.com
>> <https://groups.google.com/d/msgid/prometheus-users/a3dd1aa1-ec79-4993-bd64-d07967e91127n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Julius Volz
> PromLabs - promlabs.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CADGzNwMb0F%2BxvDhSgKm4eP4gRnO-%3DipRkWrivOD1szhoWEKwhw%40mail.gmail.com.

Reply via email to