I am using "bulkDiscovery.pl" and my own "data.csv" from https://github.com/carldubois/bigiq-cm-restapi-bulk
The csv file has just two BIG-IPs (VIP-1\nVIP-2). The script is run with the following command line args:
perl bulkDiscovery.pl -a admin:"PASSWD" -v -l -c data.csv -q admin:"PASSWD"
The following error is displayed-
Further analysis shows the error is from line 302 of the script:
my $trustTask = &callCurl ($trustCmd, "Establish trust with $mip", $opt_v);
I have tried to curl the URI (line 301) from the command line with various permutations, but it gives the same error every time.
Any advice would be appreciated.
Hi, in 5.1 basic authentication was disabled. You can re enabled by ssh into bigiq shell and "set-basic-auth on". Will need to find cycles to retrieve an authentication token and use it for this script.
By the way this was optimized to include re import and is located on the downloads.f5.com site for bigiq.
Thank you for the solution, Carl. I have downloaded the latest script from downloads.f5.com and it worked perfectly after "set-basic-auth on" on BIG-IQ.
Hi, in 5.1 basic authentication was disabled. You can re enabled by ssh into bigiq shell and "set-basic-auth on".