Join fellow LogicMonitor users at the Elevate Community Conference and get hands-on with our latest product innovations.

Register Now

Resources

Explore our blogs, guides, case studies, eBooks, and more actionable insights to enhance your IT monitoring and observability.

View Resources

About us

Get to know LogicMonitor and our team.

About us

Documentation

Read through our documentation, check out our latest release notes, or submit a ticket to our world-class customer service team.

View Resources

TopologySources Scripts

Last updated on 18 September, 2024

LogicMonitor’s predefined Active Discovery methods, such as SNMP, WMI, and HTTP, are suitable for most applications. For more information, see Active Discovery.
However, in some cases, you may want to use a script to discover TopologySource instances. For more information, see Script Active Discovery.

TopologySources Script Output

The following is the format for the TopologySources script output:

{
 "edges": [
    {
      "type": "Edge Type",
      "from": "from-source-eri",
      "to": "to-source-eri"
     }

Example

{
  "edges": [
    {
      "type": "NETWORK",
      "from": "nyc-cisco-asr100-core-router",
      "to": "nyc-cisco-nexus9000-switch"
    },
    {
      "type": "Routing",
      "from": "nyc-aironet-c1600-ap-1",
      "to": "nyc-cisco-nexus9000-switch"
    },
   ]

Where:

  • Type: Describes the name of the edge.
    For example, NETWORK and Routing are the edge types.

  • From: Describes the source node ERIs.
    For example, nyc-cisco-asr100-core-router and nyc-aironet-c1600-ap-1 are the source node ERIs.

  • To: Describes the target node ERIs.
    For example, nyc-cisco-nexus9000-switch and nyc-cisco-nexus9000-switch are the target node ERIs. 
In This Article

Start Your Trial

Full access to the LogicMonitor platform.
Comprehensive monitoring and alerting for unlimited devices.