-
Notifications
You must be signed in to change notification settings - Fork 142
How to specify interfaces, volumes, hw sensors, applications, components to be monitored on a Node
To discover Interfaces on Node an INVOKE of the DiscoverInterfacesOnNode
verb on Orion.NPM.Interfaces
entity can be used.
NodeID
is needed.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.NPM.Interfaces/DiscoverInterfacesOnNode
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"NodeID": 1
}
Given example responded with one monitored Interface in Orion, and the other one is not monitored interface of a Node.
{
"DiscoveredInterfaces": [
{
"ifIndex": 1,
"Caption": "interface_caption",
"ifType": 6,
"ifSubType": 0,
"InterfaceID": 1,
"Manageable": true,
"ifSpeed": 0.0,
"ifAdminStatus": 1,
"ifOperStatus": 1
},
{
"ifIndex": 2,
"Caption": "interface2_caption",
"ifType": 6,
"ifSubType": 0,
"InterfaceID": 0,
"Manageable": true,
"ifSpeed": 0.0,
"ifAdminStatus": 1,
"ifOperStatus": 2
}
],
"Result": 0
}
"Result": 0
indicates that operation succeeded.
Other possible responses are "Result": 1
for Invalid Node error, and "Result": 2
for Generic Error.
AddInterfacesOnNode
verb of the Orion.NPM.Interfaces
entity can be used to add certain interfaces for a Node.
To get Interfaces of the Node described above DiscoverInterfacesOnNode
verb can be used.
Node ID
is needed.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.NPM.Interfaces/AddInterfacesOnNode
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"nodeId": 38,
"interfacesToAdd": [
{
"ifIndex": 3,
"Caption": "interface_caption",
"ifType": 6,
"ifSubType": 0,
"InterfaceID": 0,
"Manageable": true,
"ifSpeed": "0.0",
"ifAdminStatus": 1,
"ifOperStatus": 2
}
],
"pollers": "AddDefaultPollers"
}
Response contains new Interface Discovery Information, where InterfaceID obtains its new value, as the Interface started to be monitored by Orion.
{
"DiscoveredInterfaces": [
{
"ifIndex": 3,
"Caption": "interface_caption",
"ifType": 6,
"ifSubType": 0,
"InterfaceID": 591,
"Manageable": true,
"ifSpeed": 0.0,
"ifAdminStatus": 1,
"ifOperStatus": 2
}
],
"Result": 0
}
"Result": 0
indicates that operation succeeded.
Other possible responses are "Result": 1
for Invalid Node error, and "Result": 2
for Generic Error.
Remanage
verb of the Orion.NPM.Interfaces
entity can be used to start managing certain interfaces on a Node.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.NPM.Interfaces/Remanage
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"netObjectId": "I:120"
}
Returns Status 200 OK and updates data.
Umanage
verb of the Orion.NPM.Interfaces
entity can be used to start managing certain interfaces on a Node.
Parameters:
- netObjectId (System.String)
- Unmanage and Remanage time (System.DateTime)
- isRelative (System.Boolean)
🔴 POST Query Request
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.NPM.Interfaces/Umanage
Authorization: {{basicAuthorization}}
Content-Type: application/json
Current example is for unmanaging the Interface with ID 120 from today to unspecified time.
{
"netObjectId": "I:120",
"unmanageTime": "2024-04-17",
"remanageTime": "9999-01-01",
"isRelative" : 0
}
Returns Status 200 OK and updates data.
Remanage
verb of the Orion.Volumes
entity can be used to start managing certain Volumes on a Node.
Parameters:
- netObjectId (System.String)
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.Volumes/Remanage
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"netObjectId": "V:120"
}
Returns Status 200 OK and updates data.
Umanage
verb of the Orion.Volumes
entity can be used to start managing certain interfaces of the Node.
Parameters:
- netObjectId (System.String)
- Unmanage and Remanage time (System.DateTime)
- isRelative (System.Boolean)
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.Volumes/Umanage
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"netObjectId": "V:120"
}
Current example is for unmanaging the Volume with ID 120 from today to unspecified time.
{
"netObjectId": "V:120",
"unmanageTime": "2024-04-17",
"remanageTime": "9999-01-01",
"isRelative" : 0
}
EnableSensors
verb of the Orion.HardwareHealth.HardwareItemBase
entity can be used to enable certain HW Sensors of the Node.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.HardwareHealth.HardwareItemBase/EnableSensors
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"hardwareItems": [
{
"HardwareInfoID": 2,
"HardwareCategoryStatusId": 4,
"UniqueName": "PowerSupplySensor.1006"
}
]
}
Returns null with 200 OK status.
DisableSensors
verb of the Orion.HardwareHealth.HardwareItemBase
entity can be used to disable certain HW Sensors of the Node.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.HardwareHealth.HardwareItemBase/DisableSensors
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"hardwareItems": [
{
"HardwareInfoID": 2,
"HardwareCategoryStatusId": 4,
"UniqueName": "PowerSupplySensor.1006"
}
]
}
Returns null with 200 OK status.
ExportTemplate
verb on Orion.APM.ApplicationTemplate
entity can be used to get the APM Application template to create APM Application.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.APM.ApplicationTemplate/ExportTemplate
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"templateId": 1
}
<?xml version='1.0' encoding='utf-8'?> <ArrayOfApplicationTemplate xmlns:i...
ImportTemplate
verb on Orion.APM.ApplicationTemplate
entity can be used to import APM Application Template.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.APM.ApplicationTemplate/ImportTemplate
Authorization: {{basicAuthorization}}
Content-Type: application/json
templateData
expects String input of APM Application template. Can be gotten from the existing APM Application template using ExportTemplate
verb on Orion.APM.ApplicationTemplate
entity.
{
"templateData": "<?xml version='1.0' encoding='utf-8'?> <ArrayOfApplicationTemplate xmlns:i..."
}
Returns netObjetId
of new Application Template.
CreateApplication
verb on Orion.APM.Application
entity can be used to create APM Application on a Node.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.APM.Application/CreateApplication
Authorization: {{basicAuthorization}}
Content-Type: application/json
skipIfDuplicate
property should be set to 1
if True, and 0
if False.
applicationSettings
is optional. Set to null
if no additional settings.
{
"nodeId": 1,
"applicationTemplateId": 2,
"credentialSetId": 3,
"skipIfDuplicate": 1,
"applicationSettings": null
}
Returns applicationId
if Application was created and -1
if not.
DeleteApplication
verb on Orion.APM.Application
entity can be used to delete APM Application.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.APM.Application/DeleteApplication
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"applicationId": 1
}
Returns null with Status 200 OK.
Unmanage
verb on Orion.APM.Application
entity can be used to unmanage APM Application on a Node.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.APM.Application/Unmanage
Authorization: {{basicAuthorization}}
Content-Type: application/json
Current example is for unmanaging APM Application from today to unspecified time.
{
"netObjetId": "AA:1",
"unmanageTime": "2024-04-17",
"remanageTime": "9999-01-01",
"isRelative": 0
}
Returns null with Status 200 OK.
Remanage
verb on Orion.APM.Application
entity can be used to remanage APM Application on a Node.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Invoke/Orion.APM.Application/Remanage
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"netObjetId": "AA:1"
}
Returns null with Status 200 OK.
- About SWIS
- Connecting to SWIS
- SWQL Functions
- REST
- PowerShell
- Alerts
- Creating custom properties
- Poller Types
- Network Performance Monitor
- NetFlow Traffic Analyzer
- Network Configuration Manager
- IP Address Manager
- Server & Application Monitor
- Log Analyzer
- Schema reference