-
Notifications
You must be signed in to change notification settings - Fork 144
How to set polling parameters on a Node
Node is created with default parameters and can be configured later via SDK.
Orion.Nodes
entity stores next basic polling parameters of the node:
- PollInterval - Node Status Polling Interval
- RediscoveryInterval - Orion Rediscovery Interval
Note that some technologies rely on the Node Status Polling Interval for its specific settings.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Query?query=SELECT+NodeID,+ipAddress,+PollInterval,+RediscoveryInterval+FROM+Orion.Nodes
Authorization: {{basicAuthorization}}
"results": [
{
"NodeID": 1,
"ipAddress": "ip_address",
"PollInterval": 120,
"RediscoveryInterval": 30
}
]
To set new values for given parameters, the UPDATE action on Orion.Nodes
entity should be performed.
Orion.Nodes.Uri
is needed to specify the Node to change polling intervals for.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/{NodeUri}
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"PollInterval": 60,
"RediscoveryInterval": 30
}
Returns Status 200 OK and updates data.
Orion.NodeSettings
entity contains custom node settings. For example, the setting to setup the port number for Cli polling on a Node with NodeID=10.
CREATE action for Orion.NodeSettings
is needed for adding the setting for a Node.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Create/Orion.NodeSettings
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"NodeID": 10,
"SettingName": "CLI.Port",
"SettingValue": "22"
}
Returns the Uri of created setting.
swis://{hostname}./Orion/Orion.NodeSettings/NodeSettingID=54
Orion.Settings
entity stores different Global Advanced settings, including polling intervals for specific areas like Default VRF poll interval 'NPM_Settings_Routing_VRF_PollInterval'
.
For example, Default Node Poll Interval can be set globally for all nodes in Orion.Settings
entity.
To check the current value of the global setting the GET Query Request can be used.
Provided example below gets the current and default value for setting with SettingID WLP_Settings_PollRogues
.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/Query?query=SELECT+CurrentValue,+DefaultValue+FROM+Orion.Settings+WHERE+SettingID='WLP_Settings_PollRogues'
Authorization: {{basicAuthorization}}
{
"results": [
{
"CurrentValue": 0.0,
"DefaultValue": 1.0
}
]
}
Provided example below updates the current value of global setting with given SettingID.
https://{IP}:17774/SolarWinds/InformationService/v3/Json/swis://{hostname}./Orion/Orion.Settings/SettingID="{SettingID}"
For instance, for updating the setting to enable Wireless Rogue AP Polling with SettingID WLP_Settings_PollRogues
the POST query will look like:
https://{IP}:17774/SolarWinds/InformationService/v3/Json/swis://{hostname}./Orion/Orion.Settings/SettingID="WLP_Settings_PollRogues"
Authorization: {{basicAuthorization}}
Content-Type: application/json
{
"CurrentValue": 1
}
Returns Status 200 OK and updates data.
- 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