This section documents the generic network model for Smartscape. The model consists of two entities - Network Device and Network Interface - which are populated by network extensions and integrations (both Dynatrace-developed and custom).
The Smartscape ID for Network Devices (EXT_NETWORK_DEVICE) is calculated based on the its chassis' MAC address which can be defined as the first valid MAC address assigned to the device components.
For Network Interfaces (EXT_NETWORK_INTERFACE) the Smartscape ID is calculated based on both the underlying device's chassis MAC address as well as the interface's name.
The device_type field allows narrowing down the scope of queries by the device's technology type. Within the SNMP Autodiscovery extension, this value is computed based on the device's System Object ID (1.3.6.1.2.1.1.2) and allows mapping to a recommended Dynatrace Extension for further monitoring.
Integrators can reuse the same value or provide their own alternative to describe the general family of such devices.
The monitoring_mode field indicates the level of data available for a particular device. SNMP Autodiscovery uses two such values:
Discovery - indicates that the device is part of the extension's discovery configuration and it has been polled successfully. The entity has complete metadata information, but lacks any health/performance insights - it is a candidate for monitoring with the recommended extension.Neighbor - indicates that the device has not been polled directly but is referenced by another device as a link neighbor. The entity was created from potentially incomplete data and will be replaced once direct polling is enabled.Dynatrace Extensions as well as other integrators are advised to use the value Extension. This indicates that the device is polled directly and benefits of monitoring insights from a specialized integration.
Smartscape node type: EXT_NETWORK_DEVICE
A Network Device entity. Represents a physical device with network connectivity.
Fetch all network device entities.
smartscapeNodes EXT_NETWORK_DEVICE
Count network devices by their monitoring mode.
smartscapeNodes EXT_NETWORK_DEVICE| summarize count(), by: { monitoring_mode }
Find devices that are network neighbors and include their names.
smartscapeEdges calls| filter target_type == "EXT_NETWORK_DEVICE"| fieldsAdd source_name=getNodeName(source_id), target_name=getNodeName(target_id)
The following base fields are used for all entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
| smartscapeId | stableA Smartscape ID consists of two components: an UPPER_CASE entity type and a random 16-character hexadecimal unique identifier, separated by a dash. Use Smartscape conversion functions when working with strings that represent Smartscape IDs. |
|
| string | deprecatedThe entity ID that was used in the classic entity store. This ID is present in old monitoring data. Not all entities have this ID, and it is not generated for new entities. Use the |
|
| string | stableThe entity name. |
|
| string | stableThe entity type. UPPER_SNAKE_CASE string that represents the type of the entity. |
|
| record | stableA consolidated record that aggregates all tag values originating from different contexts. Each nested field within tags represents a specific key (for example, |
|
| timeframe | stableThe lifetime of the entity. This is a record with two nested fields: |
|
| record | stableProvides access to static edges pointing to other entities. In this record each nested field represents a relationship type and target type, and the value is an array of target smartscape IDs. This field is hidden by default but can be added using the fieldsAdd command. |
|
| string[] | resource stableThe security contexts associated with the entity. For Smartscape entities, this field is always an array.Tags: |
|
Fields common to all entities within the shared network model
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | stableA description of the network entity. |
|
| ipAddress[] | experimentalA collection of IP addresses that may be used to identify this entity. |
|
| string[] | experimentalA collection of MAC addresses that can be used to identify this entity. |
|
Fields that describe all network devices
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | stableThe LLDP Chassis ID of this network device |
|
| string | stableThe CDP Device ID of this network device |
|
| string | stableThe type of monitoring data available for this network device. |
|
| string | stableA string to represent the broader make, model, or family of network device. |
|
| string | experimentalThe MAC address of the device chassis; defined as the first non-empty MAC address of the device. |
|
| string | stableIdentification of the contact person for this device, together with information on how to contact them. If no contact information is known, use n/a instead. |
|
| string | stableThe physical location of this device. If the location is unknown, use n/a instead. |
|
| string[] | experimentalThe set of capabilities supported by this network device as advertised in link layer discovery. |
|
| string | experimentalA version or revision identifer for the firmware in use on the network device. |
|
| string | experimentalA version or revision identifer for the hardware in use on the network device. |
|
| string | experimentalA version or revision identifer for the software on the network device. |
|
| string | experimentalIdentifer of the chassis part number of the network device. |
|
| string | experimentalA serial number for the network device. |
|
| string | experimentalName of the vendor for the network device. |
|
| string | resource stableThe OS name in a short, human-readable format. |
|
Fields specific to network devices discovered via SNMP
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | resource stableOID 1.3.6.1.2.1.1.2 (SNMPv2-MIB::sysObjectId): The vendor's authoritative identification of the network management subsystem contained in the entity. |
|
Fields specific to network devices created by the SNMP Autodiscovery extension
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | stableThe label assigned to the Autodiscovery configuration that includes this device |
|
| string | stableThe label assigned to the Autodiscovery group that includes this device |
|
| string | stableIndicates the default Dynatrace Extension recommended for insights into this device type |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| record | stableDefines a "horizontal" relationship between two entities that "call" each other. The "calls" relation does not imply a parent/child or other strong structural relation but rather a dynamic communication association. Examples: Typical examples include services calling other services, but also services calling databases, queue brokers, or other infrastructure entities.Relationships: |
Smartscape node type: EXT_NETWORK_INTERFACE
A Network Interface entity. Represents a physical or virtual network interface or port on a network device.
Fetch all network interface entities.
smartscapeNodes EXT_NETWORK_INTERFACE
Fetch traffic in and out timeseries for all network interfaces.
timeseries {traffic.in=avg(com.dynatrace.extension.network_device.if.bytes_in.count, scalar: true),traffic.out=avg(com.dynatrace.extension.network_device.if.bytes_out.count, scalar: true)},filter: { isNotNull(dt.smartscape.ext_network_interface) },by: { dt.smartscape.ext_network_interface }
Fetch all interfaces that are link neighbors with each other, along with the devices they belong to.
smartscapeEdges calls| filter source_type == "EXT_NETWORK_INTERFACE"| fieldsneighbor.device=getNodeName(getNodeField(source_id, "references")[belongs_to.ext_network_device][0]),neighbor.interface=getNodeName(source_id),relation=concat("--- ", type, " --->"),base.interface=getNodeName(target_id),base.device=getNodeName(getNodeField(target_id, "references")[belongs_to.ext_network_device][0])
The following base fields are used for all entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
| smartscapeId | stableA Smartscape ID consists of two components: an UPPER_CASE entity type and a random 16-character hexadecimal unique identifier, separated by a dash. Use Smartscape conversion functions when working with strings that represent Smartscape IDs. |
|
| string | deprecatedThe entity ID that was used in the classic entity store. This ID is present in old monitoring data. Not all entities have this ID, and it is not generated for new entities. Use the |
|
| string | stableThe entity name. |
|
| string | stableThe entity type. UPPER_SNAKE_CASE string that represents the type of the entity. |
|
| record | stableA consolidated record that aggregates all tag values originating from different contexts. Each nested field within tags represents a specific key (for example, |
|
| timeframe | stableThe lifetime of the entity. This is a record with two nested fields: |
|
| record | stableProvides access to static edges pointing to other entities. In this record each nested field represents a relationship type and target type, and the value is an array of target smartscape IDs. This field is hidden by default but can be added using the fieldsAdd command. |
|
| string[] | resource stableThe security contexts associated with the entity. For Smartscape entities, this field is always an array.Tags: |
|
Fields common to all entities within the shared network model
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | stableA description of the network entity. |
|
| ipAddress[] | experimentalA collection of IP addresses that may be used to identify this entity. |
|
| string[] | experimentalA collection of MAC addresses that can be used to identify this entity. |
|
Fields representing all network interfaces when running on network devices
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalThe MAC address of the device chassis; defined as the first non-empty MAC address of the device hosting the interface. |
|
| string | experimentalThe type of network interface. If possible, should use the standard types defined by IANA. |
|
| string | stableAn alternative name for the interface; relates to the ifAlias SNMP field. |
|
| string | stableThe operational status of the interface |
|
| string | stableThe admin status of the interface |
|
| string | experimentalThe speed of the interface in bits per second |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| record | stableThis is similar to an aggregation in UML. It is a many-to-many relationship without existential properties (the destination is not composed of the sources).Relationships: |
|
| record | stableDefines a "horizontal" relationship between two entities that "call" each other. The "calls" relation does not imply a parent/child or other strong structural relation but rather a dynamic communication association. Examples: Typical examples include services calling other services, but also services calling databases, queue brokers, or other infrastructure entities.Relationships: |