Last active
November 6, 2016 20:06
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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