Adding NetScan
Last updated on 08 October, 2024You can use LogicMonitor REST API v3 to add NetScans. You must authenticate yourself before making the API request.
URI: POST /setting/netscans
Parameter | Type | Description |
method | String | (Mandatory) The method used to discover devices. Available options are: nmap (ICMP Ping) , nec2 (EC2) , enhancedScript, and script. Example – "method": "nmap" |
description | String | The description of the NetScan Policy. Example – "description": "Discovers devices within the office network for monitoring." |
duplicate | Object | (Mandatory) Exclude duplicate IPs. It gives details that determine how duplicate devices should be handled. It includes the following:
|
version | Integer | The Id of the device. |
collector | Integer | The Id of the collector associated with the NetScan. Example – "collector": 145 |
schedule | Object | (Mandatory) It is the NetScan policy schedule. It provides information about the recurring execution schedule for the NetScan policy. It includes the following:
|
name | String | (Mandatory) The name of the NetScan Policy. Example – "name": "Office Network" |
nsgId | Integer | The Id of the group to which the NetScans policy belongs. Example – "nsgId": 34 |
group | String | The group to which the NetScans policy belongs. Example – "group": "RT_check" |