get_topology
Retrieve network topology data showing device relationships, physical and logical connections, and Layer 2/3 maps for troubleshooting and documentation.
Instructions
Get network topology information in LogicMonitor (LM) monitoring.
Returns: Network topology data with: resource/device relationships, network connections, parent-child hierarchies, Layer 2/Layer 3 connectivity maps.
What is topology: Automatically discovered network relationship map showing how resource/device connect to each other. LogicMonitor uses SNMP, CDP (Cisco Discovery Protocol), LLDP (Link Layer Discovery Protocol), and other methods to build network topology maps.
When to use:
Understand network architecture and resource/device relationships
Visualize network connectivity
Plan network changes
Troubleshoot connectivity issues
Document network infrastructure
Topology information includes:
Physical connections: Which resource/device are physically connected (switch ports, router interfaces)
Logical relationships: Parent-child relationships (gateway → firewall → switches → servers)
Layer 2 topology: MAC address tables, VLANs, switch port connections
Layer 3 topology: IP routing, subnets, default gateways
Use cases:
Network visualization: See how your network is structured
Impact analysis: "If this switch fails, what resource/device lose connectivity?"
Capacity planning: Identify network bottlenecks and heavily-utilized links
Documentation: Auto-generated network diagrams
Troubleshooting: Trace connection paths between resource/device
How LogicMonitor discovers topology:
CDP/LLDP: Cisco and other vendors broadcast neighbor information
SNMP: Query resource/device interface tables, ARP tables, routing tables
Traceroute: Active probing to discover paths
Parent/child relationships: Based on gateway configuration
Related tools: "list_resources" (view resources/devices), "get_resource" (device details including connections).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated list of fields to include in response. Examples: "id,displayName,hostStatus" or use "*" for all fields. Omit this parameter to receive a curated set of commonly used fields. |