Forum Discussion
damian_19221
Feb 19, 2015Nimbostratus
Hi Stephan,
Thanks for the quick reply! using REST and curl would be an ideal option for us, but unfortunately I can't get the example you gave to work:
[damian@hp-elitebook-820 ~]$ curl -s -k -u admin:admin -H "Content-Type: application/json" -X GET https://10.241.100.11/mgmt/tm/ltm/virtual/~Common~vs_Bens_Test_VIP?ver=11.4.1 | sed -r 's/,(\{?")/,\n\1/g'
{"code":404,
"message":"http://localhost:8100/mgmt/tm/ltm/virtual/~Common~vs_Bens_Test_VIP?ver=11.4.1",
"restOperationId":2287403,
"errorStack":["com.f5.rest.common.RestWorkerUriNotFoundException: http://localhost:8100/mgmt/tm/ltm/virtual/~Common~vs_Bens_Test_VIP?ver=11.4.1",
"at com.f5.rest.common.RestServer.trySendInProcess(RestServer.java:126)",
"at com.f5.rest.common.RestRequestReceiver.dispatchToService(RestRequestReceiver.java:93)",
"at com.f5.rest.common.RestRequestReceiver.processNext(RestRequestReceiver.java:57)",
"at com.f5.rest.common.RestHelper$2.run(RestHelper.java:1480)",
"at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)",
"at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)",
I've substituted "vs_101_8081" with the name of a test VS on our box (Bens_Test_VIP) and also updated with our version of the F5 firmware (1.4.1)
Thanks, Damian