Closed DierlysCSRodrigues closed 1 year ago
Hello @DierlysCSRodrigues I don't see any sign of an issue with OAS, which is what this repo captures.
I didn't find any Zabbix template in the Meraki repo for webhook templates, so it looks like this is provided directly by Zabbix. So please reach out to Zabbix about your issue.
I don't know if this is the correct channel, but I'm using the zabbix template to collect metrics from the Meraki Dashboard API, to monitor my organization's devices.
I'm having problems with the Meraki item: Get list of the vpn stats from the Cisco Meraki organization by HTTP template.
This javascript makes a request on the /appliance/vpn/stats endpoint and performs a loop to retrieve the object for each of the "devices". However, the way the loop is implemented and its return, it always brings the last object found in the request.
For example, I have more than 50 devices in my organization, the item Meraki: Get list of the networks correctly searches each device and its parameters. The item mentioned above, on the other hand, returns only a single device, which is the last object of the request's json return.
Is it possible to analyze this problem and apply a fix? Below is the code I mentioned that has the bug.
Link template: https://www.zabbix.com/br/integrations/meraki