Skip to content

Instantly share code, notes, and snippets.

@tonysangha
Last active November 6, 2016 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonysangha/601024a7ab744ddfdfe087b28038c5e9 to your computer and use it in GitHub Desktop.
Save tonysangha/601024a7ab744ddfdfe087b28038c5e9 to your computer and use it in GitHub Desktop.
Update NSX-v Controller Syslog using a curl command from a bash shell
nsx_mgr = 192.168.110.10
user = admin
pass = VMware1!
for x in 1 2 3; do curl -u $user:$pass -H "Content-Type: application/xml" -X GET -k https://$nsx_mgr/api/2.0/vdn/controller/controller-$x/syslog ;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment