blackbox_exporter icon indicating copy to clipboard operation
blackbox_exporter copied to clipboard

For icmp_probe module provide option to pass port number along with ipaddress

Open RakeshAMD opened this issue 1 year ago • 3 comments

How to pass port number along with ipaddress in the config file.

Some of the machines can be accessed via same ipaddress with different port. How to handle this situation? Please guide

RakeshAMD avatar May 14 '24 11:05 RakeshAMD

ICMP does not use ports.

Can you give a description and example of what you're trying to to do and why you think icmp_probe is the tool for the job?

showipintbri avatar May 14 '24 19:05 showipintbri

Hello, thanks for the response.

For getting the system status (whether its online/offline), we thought of doing it with simple ping. If it responds then we conclude the system if online or else offline.

For that we thought of using icmp_probe module in blackbox_exporter. But how to pass port number also in here. Any constructive feedback/suggestions is always welcome.

RakeshAMD avatar May 15 '24 04:05 RakeshAMD

@RakeshAMD As already stated, ICMP does not use ports. What you are asking for is impossible.

dswarbrick avatar Jun 10 '24 12:06 dswarbrick