Ad Widget

Collapse

TEMPLATE: AWS ECS Cluster by HTTP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Noppy
    Junior Member
    • Sep 2024
    • 3

    #1

    TEMPLATE: AWS ECS Cluster by HTTP

    Hello

    I have a problem using this official template, I have two ECS clusters on EC2, one with 15 services and one with 21 services but in both cases the template allows me to discovery only 10 services, are there any limits imposed somewhere?
    I checked on cloudwatch and the metrics exist for all services.

    Another problem I noticed is that it does not report any value (null) for the CPUUsage of the cluster, is this due to the fact that I have not set any CPU Limit on the Tasks?

    Thanks for the help
  • kamil1
    Member
    • Aug 2024
    • 40

    #2
    Hi,
    Could you please specify what are the metrics you are referring to (in the context of both AWS cloud and template)?

    Thanks

    Comment

    • Noppy
      Junior Member
      • Sep 2024
      • 3

      #3
      Hello

      I'll try to explain myself better, sorry for my English

      Let me take as an example an ECS cluster that I have monitoring on zabbix at the moment, this is made up of two EC2 instances where 14 services are configured and 19 tasks are running (at the moment)

      Click image for larger version

Name:	image.png
Views:	248
Size:	19.0 KB
ID:	491134

      In the "AWS ECS Cluster by HTTP" Template there is a section in "discovery rules" where services are searched for and for each service items (CPU, Memory, etc.) and triggers are generated

      Click image for larger version

Name:	image.png
Views:	205
Size:	10.4 KB
ID:	491135

      So I expect discovery to find the items relating to 14 services and build the related items but the problem is that it only discovers 10 and these 10 are exactly the first 10 that I get by requesting the list from AWS via API ( aws ecs list-services --cluster <name> )

      Click image for larger version

Name:	image.png
Views:	151
Size:	141.9 KB
ID:	491136
      (I checked the items in the host and they relate to only 10 services, I don't attach the images because they would be unclear)

      ​​this problem also appeared on 3 other clusters that I have in different regions.

      I can't understand if I'm doing something wrong or if I have some setting on the zabbix server (version 6.0.33) that causes the problem, for information I haven't excluded any service through the MACRO

      Click image for larger version

Name:	image.png
Views:	154
Size:	17.1 KB
ID:	491137

      thanks for any help​

      Comment

      Working...