21 Nov 2024 02:47 PM - last edited on 22 Nov 2024 10:20 AM by MaciejNeumann
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.
Solved! Go to Solution.
21 Nov 2024 03:11 PM
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
21 Nov 2024 03:19 PM
Gracias Jose fue solventado . Mil gracias