cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to view the ports of a host

dsoria
Observer

Estimados buenos días 

Por favor su gentil apoyo necesito consultar por puertos levantados en el servidor y poder detectar que puerto esta bloqueado.

Gracias por su gentil apoyo.

[Google Translate]:

Good morning

I need to check for raised ports on the server and be able to detect which port is blocked.

Thank you for your kind support.

2 REPLIES 2

JoseRomero
Dynatrace Advisor
Dynatrace Advisor

Hi @dsoria 

You can use properties of process group and Ip's from Host entities, Here are a dashboard with variable that you can use.

fetch dt.entity.process_group_instance
| expand listenPorts
| filterOut isNull(listenPorts)
| fieldsRename dt.entity.process_group_instance = id
| filter in(entity.name, $process)
| expand dt.entity.host = belongs_to[dt.entity.host]
| filter in(dt.entity.host, $host_id)
| fieldsAdd dt.entity.host.name = entityName(dt.entity.host, type:"dt.entity.host")
| fieldsAdd dt.entity.host.ips = entityAttr(dt.entity.host, "ipAddress")
| fields 
        `Host` = dt.entity.host.name,
        `Host Ips` = dt.entity.host.ips,
        `Process` = entity.name,
        `Process Port` = listenPorts

 

JoseRomero_0-1732201793240.png

 

dsoria
Observer

Gracias Jose fue solventado . Mil gracias

Featured Posts