discovery.snmpGet

discovery.snmpGet(target, oid_table) – (7.1 and later)

Performs an SNMP query on the target and returns a DiscoveredSNMP node. The oid_table is a table that lists the SNMP OIDs to retrieve, mapped to the attribute names to set. e.g.

The following

table oids 1.0
  "1.3.6.1.2.1.1.1" -> "one";
  "1.3.6.1.2.3.4.5" -> "two";
end table;

DiscoveredSNMPnode := discovery.snmpGet(target, oids)

The call succeeds if any of the requested OIDs are available; the attributes corresponding to any OIDs that were not available are not set on the DiscoveredSNMP node. If none of the OIDs are available, the discovery request fails and the snmpGet function returns none.

The target node may be one of the following:

  • DeviceInfo
  • DirectoryListing
  • DiscoveryAccess
  • FileSystemList
  • FQDNList
  • HBAInfoList
  • Host
  • HostInfo
  • IntegrationResult
  • InterfaceList
  • NetworkConnectionList
  • NetworkDevice
  • ProcessList
  • RegistryListing
  • ServiceList
  • SQLResultRow
  • DiscoveredAggregatedPorts
  • DiscoveredAggregatedPortsList
  • DiscoveredATMVirtualCircuit
  • DiscoveredATMVirtualCircuitList
  • DiscoveredATMVirtualPath
  • DiscoveredATMVirtualPathList
  • DiscoveredBridge
  • DiscoveredBridgeList
  • DiscoveredCard
  • DiscoveredCardList
  • DiscoveredChassis
  • DiscoveredChassisList
  • DiscoveredCommandResult
  • DiscoveredDevicePort
  • DiscoveredDevicePortList
  • DiscoveredDirectoryEntry
  • DiscoveredFile
  • DiscoveredFileSystem
  • DiscoveredFQDN
  • DiscoveredFrameRelayDLCI
  • DiscoveredFrameRelayDLCIList
  • DiscoveredFrameRelayLMI
  • DiscoveredFrameRelayLMIList
  • DiscoveredHBA
  • DiscoveredListeningPort
  • DiscoveredNeighbours
  • DiscoveredNetworkConnection
  • DiscoveredNetworkDevice
  • DiscoveredNetworkInterface
  • DiscoveredPackages
  • DiscoveredPatches
  • DiscoveredProcess
  • DiscoveredRegistryEntry
  • DiscoveredRegistryValue
  • DiscoveredService
  • DiscoveredSNMP
  • DiscoveredSNMPRow
  • DiscoveredSNMPTable
  • DiscoveredVLAN
  • DiscoveredVLANList
  • DiscoveredWMI
  • DiscoveredWMIQuery

Was this page helpful? Yes No Submitting... Thank you

Comments