Skip to content

How to assign specific poller to a Node

Oleksandr Manetskyi edited this page May 1, 2024 · 1 revision

The assignment is done automatically based on OID support by that specific Node. Specific Poller can be assigned to the Node via SDK using its name.

Assigning specific poller to a node

In order to assign a poller you should use the Orion.Pollers entity. To assign a custom poller to a node, you need the poller's name (N.Status.SNMP.Native in the example below) and the node id (123).

🟠 POST Query Request

https://{IP}:17778/SolarWinds/InformationService/v3/Json/Create/Orion.Pollers

Headers

Authorization: {{basicAuthorization}}
Content-Type: application/json

Body raw

{
    "NetObject": "N:123",
    "NetObjectType": "N",
    "NetObjectID": 123,
    "PollerType": "N.Status.SNMP.Native"
}

Example Response

Returns new record's Uri if the operation is successful.

Removing specific poller assignment

You can also unassign specific poller by removing it from the Orion.Pollers entity using its Uri. To get the Poller Uri for specific node you can use the following request:

🟢 GET Query Request

https://{IP}:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT Uri, PollerType FROM Orion.Pollers WHERE NetObject = 'N:{Node ID}'

Headers

Authorization: {{basicAuthorization}}
Content-Type: application/json

Example Response

{
    "results": [
        {
            "Uri": "swis://HOSTNAME/Orion/Orion.Pollers/PollerID=7105",
            "PollerType": "N.ResponseTime.ICMP.Native"
        }
    ]
}

🔴 DELETE Query Request

https://{IP}:17778/SolarWinds/InformationService/v3/Json/{SwisUri}

Headers

Authorization: {{basicAuthorization}}
Content-Type: application/json

Assigning custom (UnDP) poller

See NPM Universal Device Pollers section for the instructions.

Additional resources

Clone this wiki locally