-
Problem report
-
Resolution: Unresolved
-
Major
-
6.0.22, 6.4.7
-
0.8
Hi,
Zabbix gets list of buckets and for each bucket tries to get it's location:
buckets.forEach( function (bucket, index, buckets_array) { if (!bucket.hasOwnProperty('Name')) throw 'Cannot get location for bucket. Check debug log for more information.'; var region_name = AWS.getBucketLocation(bucket['Name']); buckets_array[index]['location'] = region_name; if (region_name.match(AWS.params.region_match) !== null && region_name.match(AWS.params.region_not_match) === null) lld_array.push(buckets_array[index]); });
But its possible to have some 'system' buckets, that may not have location set (or additional permissions needed)
It would be great to:
1. have clear error text which bucket or backets have problem with location\ Set some 'null' parameter if it is accepted
2. Be able to exclude\include buckets for discovering by name. Now we have that, but this filter is applied after script provides the result. It should be possible not to query for those buckets inside the script
Regards, Elina