Solution
You can query the Gateway for the Netprobe's Connection State Runtime Parameter.
To find that all Netprobes that do NOT have an "Up" connection state as seen in the Gateway-ProbeData dataview run the following command:
curl -u username:password -X GET -s --data '{"target":"//probe[(rparam(\"ConState\")!=\"Up\")]"}' http://gatewayHost:gatewayPort/rest/xpaths/match | python -m json.tool
To find that all Netprobes with a "Down" connection state run the following command:
curl -u username:password -X GET -s --data '{"target":"//probe[(rparam(\"ConState\")=\"Down\")]"}' http://gatewayHost:gatewayPort/rest/xpaths/match | python -m json.tool
Related Articles
Rest Service/REST API Documentation
If you have further questions:
- Please contact our Client Services team via the chat service box available in any of our websites or email us at support@itrsgroup.com
- Make sure you provide to us:
- Command executed
- Time the command was run
- Gateway log
- Any accompanying screenshot you think might be useful to present the issue
Comments
0 comments
Please sign in to leave a comment.