Does the API support a method to force a manual poll on a node?
I am trying to use it in a POST e.g. (NodeID: 100)
https://SERVERNAME:17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.Nodes/Poll.Now/N100
I am trying it using POSTMAN with Basic Auth
Receiving a 500 Internal Server Error.
"Expecting state 'Element'.. Encountered 'Text' with name '', namespace ''. "
I think I have not formatted the URL correctly.
JSON strings use double-quote delimiters.
From PowerShell you can also build up your body using powershell objects and use the ConvertTo-Json cmdlet to handle the json syntax for you. Like this:
$args = @( 'N:1261' )
$json = ConvertTo-Json $args
Hi tdanner,
Thank you. That solved the error. However it doesn't seem to be causing a poll to occur. I get a return of "null":
But when I look at the status of "MinutesSinceLastSync" it never changes.
If I perform a "Poll Now" from the Orion website in Manage Nodes this field updates. Is that the correct field for me to checking? Is it perhaps that the Poll Now from the Orion website does an additional function?
Hi Martin_Crothers I see you are able to poll the device, but the response says 'null', why is it so.
I get the response as 'null' for all those nodes which are successful and failed
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.