Ad Widget

Collapse

"Cisco Meraki device by HTTP" template ingegration issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eugen_dev
    Junior Member
    • Jun 2025
    • 2

    #1

    "Cisco Meraki device by HTTP" template ingegration issue

    Using meraki api i collected list of organizations, networks and devices that belong to it, then added those devices as hosts and now applied "Cisco Meraki device by HTTP" template to each of them with corresponding macros values of {$MERAKI.TOKEN} and {$MERAKI.API.URL}, however i get an error:
    HTML Code:
    "Failed to parse response received from Meraki API. Check debug log for more information."
    . Item "Get status" returns:
    HTML Code:
    Preprocessing failed for: <!DOCTYPE html>.<html class="html-devise-layout ui-gray" lang="en">.<head>.<meta charset="utf-8">...
    1. Failed: cannot extract value from json by path "$[0]": invalid object format, expected opening character '{' or '[' at: '<!DOCTYPE html>
    <html class="html-devise-layout ui-gray" lang="en">
    <head>
    <meta charset="utf-8">
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, i zz0.e66w9ixo2ldzz
    What am i doing wrong?
    Attached Files
  • BradKnowles
    Junior Member
    • May 2025
    • 24

    #2
    Looks like Zabbix is telling you that it is expecting a JSON format response from the server it is connecting to, but instead it's getting an HTML formatted response.

    However, I do not know enough about Meraki to tell you how to fix the query so that you get the appropriate response type.

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #3
      Make sure that the {$MERAKI.API.URL} contains the correct URL for your Meraki devices.

      Comment

      Working...