AWS Service Limits reporting

Hello,

6 month past and no movement.

Please confirm or not my thought - checkmk/cmk/special_agents/agent_aws.py at master · Checkmk/checkmk · GitHub

Is the value for this specific limit hardcoded in the code? I don’t see any reference to the API Limit in this code section that related to the vpc ip limit.

def _add_addresses_limits(self, addresses):
# Global limits
vpc_addresses = 0
std_addresses = 0
for address in addresses:
domain = address[‘Domain’]
if domain == “vpc”:
vpc_addresses += 1
elif domain == “standard”:
std_addresses += 1
self._add_limit(
“”, AWSLimit(“vpc_elastic_ip_addresses”, “VPC Elastic IP Addresses”, 5, vpc_addresses))
self._add_limit(“”,
AWSLimit(“elastic_ip_addresses”, “Elastic IP Addresses”, 5, std_addresses))

And this what I have from AWS:
[cloudshell-user@ip-10-134-50-208 ~]$ aws service-quotas get-service-quota --service-code ec2 --quota-code L-0263D0A3
{
“Quota”: {
“ServiceCode”: “ec2”,
“ServiceName”: “Amazon Elastic Compute Cloud (Amazon EC2)”,
“QuotaArn”: “arn:aws:servicequotas:eu-central-1:275561377817:ec2/L-0263D0A3”,
“QuotaCode”: “L-0263D0A3”,
“QuotaName”: “EC2-VPC Elastic IPs”,
“Value”: 10.0,
“Unit”: “None”,
“Adjustable”: true,
“GlobalQuota”: false,
“QuotaAppliedAtLevel”: “ACCOUNT”
}
}
[cloudshell-user@ip-10-134-50-208 ~]$

Also, I dont have any parameters in the service quota related to the VPC or EC2 that currently have a limit of 5… So, I am pretty sure despite on the “Limit from AWS API” setting, it still shows what it is. It was also mentioned here - AWS service limits - Increased quota not recognized

Can I, for example, re-develop this section of the special agent, test it, and then push to the CheckMK repo as a merge request?