You can query the Gateway for the Probe's Connection State Runtime Parameter
To find all probes do NOT have a "Up" connection state:
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 all probes with a "Down" connection state:
curl -u username:password -X GET -s --data '{"target":"//probe[(rparam(\"ConState\")=\"Down\")]"}' http://gatewayHost:gatewayPort/rest/xpaths/match | python -m json.tool
-
Tags:
Comments
0 comments
Please sign in to leave a comment.