Hello there.
Ive spent the last few days troubleshooting my issue regarding the new AWS HTTP templates for Zabbix 6.2 and 6.4, I ended up borking my entire Zabbix stack in the process so I am on a fresh Zabbix 6.4 installation for troubleshooting purposes.
I have all the IAM Permissions configured correctly as per the documentation and am pretty familiar with IAM roles and permissions so I am confident it is not to do with that.
I have managed to get the discovery working using the "AWS by HTTP" template built into Zabbix 6.4 which has discovered my s3 buckets and ec2 instances which is fantastic.
The Live data on my discovered EC2 instances appears to be working, however the S3 buckets do not have any data, I spent some hours troubleshooting, the dependant script within "AWS S3 : Get Metrics Data" seems to be running and I am returned the following :
This return of data gives me hope, however this returns a empty value in the live data.
All the sub items e.g "AWS S3: Bucket Size" give null values also.
Ive dug through the javascript code within the get metrics data to compare with the ec2 template, but im not overly familiar with analysing javascript to resolve the issue.
I have not seen much other documentation out there by community members yet, so this seems like a quite recent issue, im not sure if im the only one experiencing it and it is a blunder on my part, or if this is a bug with the template.
I was seeing a few errors in my log about "403 SignatureDoesNotMatch" from the template, but I have not seen them since making some changes to my setup.
I did believe there were some syntax errors with the template javascript as there were some semicolons missing, but I added them in and it did not resolve the issue.
I would love some help on this issue and learn further how to get this going, as this seems like a fantastic addition to zabbix.
Thanks,
Obi Lan
Ive spent the last few days troubleshooting my issue regarding the new AWS HTTP templates for Zabbix 6.2 and 6.4, I ended up borking my entire Zabbix stack in the process so I am on a fresh Zabbix 6.4 installation for troubleshooting purposes.
I have all the IAM Permissions configured correctly as per the documentation and am pretty familiar with IAM roles and permissions so I am confident it is not to do with that.
I have managed to get the discovery working using the "AWS by HTTP" template built into Zabbix 6.4 which has discovered my s3 buckets and ec2 instances which is fantastic.
The Live data on my discovered EC2 instances appears to be working, however the S3 buckets do not have any data, I spent some hours troubleshooting, the dependant script within "AWS S3 : Get Metrics Data" seems to be running and I am returned the following :
[{"Id":"m0","Label":"BucketSizeBytes","StatusCode": "Complete","Timestamps":[],"Values":[]},{"Id":"m1","Label":"NumberOfObjects","StatusCode ":"Complete","Timestamps":[],"Values":[]},{"Id":"m2","Label":"AllRequests","StatusCode":"C omplete","Timestamps":[],"Values":[]},{"Id":"m3","Label":"GetRequests","StatusCode":"C omplete","Timestamps":[],"Values":[]},{"Id":"m4","Label":"PutRequests","StatusCode":"C omplete","Timestamps":[],"Values":[]},{"Id":"m5","Label":"DeleteRequests","StatusCode" :"Complete","Timestamps":[],"Values":[]},{"Id":"m6","Label":"HeadRequests","StatusCode":" Complete","Timestamps":[],"Values":[]},{"Id":"m7","Label":"PostRequests","StatusCode":" Complete","Timestamps":[],"Values":[]},{"Id":"m8","Label":"SelectRequests","StatusCode" :"Complete","Timestamps":[],"Values":[]},{"Id":"m9","Label":"SelectBytesScanned","StatusC ode":"Complete","Timestamps":[],"Values":[]},{"Id":"m10","Label":"SelectBytesReturned","Statu sCode":"Complete","Timestamps":[],"Values":[]},{"Id":"m11","Label":"ListRequests","StatusCode": "Complete","Timestamps":[],"Values":[]},{"Id":"m12","Label":"BytesDownloaded","StatusCod e":"Complete","Timestamps":[],"Values":[]},{"Id":"m13","Label":"BytesUploaded","StatusCode" :"Complete","Timestamps":[],"Values":[]},{"Id":"m14","Label":"4xxErrors","StatusCode":"Co mplete","Timestamps":[],"Values":[]},{"Id":"m15","Label":"5xxErrors","StatusCode":"Co mplete","Timestamps":[],"Values":[]},{"Id":"m16","Label":"FirstByteLatency p90","StatusCode":"Complete","Timestamps":[],"Values":[]},{"Id":"m17","Label":"TotalRequestLatency","Statu sCode":"Complete","Timestamps":[],"Values":[]},{"Id":"m18","Label":"FirstByteLatency p90","StatusCode":"Complete","Timestamps":[],"Values":[]},{"Id":"m19","Label":"ReplicationLatency","Status Code":"Complete","Timestamps":[],"Values":[]},{"Id":"m20","Label":"BytesPendingReplication","S tatusCode":"Complete","Timestamps":[],"Values":[]},{"Id":"m21","Label":"OperationsPendingReplicatio n","StatusCode":"Complete","Timestamps":[],"Values":[]}]
All the sub items e.g "AWS S3: Bucket Size" give null values also.
Ive dug through the javascript code within the get metrics data to compare with the ec2 template, but im not overly familiar with analysing javascript to resolve the issue.
I have not seen much other documentation out there by community members yet, so this seems like a quite recent issue, im not sure if im the only one experiencing it and it is a blunder on my part, or if this is a bug with the template.
I was seeing a few errors in my log about "403 SignatureDoesNotMatch" from the template, but I have not seen them since making some changes to my setup.
I did believe there were some syntax errors with the template javascript as there were some semicolons missing, but I added them in and it did not resolve the issue.
I would love some help on this issue and learn further how to get this going, as this seems like a fantastic addition to zabbix.
Thanks,
Obi Lan
Comment