LogicMonitor seeks to disrupt AI landscape with $800M strategic investment at $2.4B valuation to revolutionize data centers.

Learn More

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