Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23616

AWS LLD's timeouts on buckets discovery while getting location for 'system' bucket

XMLWordPrintable

    • 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

            asebiskveradze Aleksandre Sebiskveradze
            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: