search cancel

Meraki Plugin fails Unrecognized field "MERAKI_USER_NAME"

book

Article ID: 202664

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction

Plugin Configuration Validation for Meraki Plugin failed:

Unrecognized field "MERAKI_USER_NAME" (class com.ca.em.sdn.gateway.plugins.meraki.MerakiPluginConfiguration), not marked as ignorable (23 known properties: "MERAKI_API_KEY", "PERFORMANCE_DELTA_TIME", "ENABLE_SYSLOG_EVENTS", "POLL_CLIENTS", "SYSLOG_PORT", "MAX_RETRIES", "NOTIFICATION_POLL_RATE", "MERAKI_DASHBOARD_HOST", "POLL_POLICIES", "PERFORMANCE_POLL_RATE", "DOMAIN_ID", "INVENTORY_DELTA_TIME", "PROTOCOL", "AVAILABILITY_POLL_RATE", "INVENTORY_POLL_RATE", "DELAY_BETWEEN_REST_CALLS_IN_MS", "NOTIFICATION_DELTA_TIME", "RETRY_DELAY_IN_MS", "BLACKLISTED_EVENT_TYPES", "AVAILABILITY_DELTA_TIME", "POLL_SSIDS", "ENABLE_REST_API_EVENTS", "NETWORK_ID_LIST"])

at [Source: (String)"{

"PLUGIN_CONFIG": {

    "MERAKI_DASHBOARD_HOST": "api.meraki.com",

    "MERAKI_USER_NAME": "[email protected]",

    "MERAKI_API_KEY": "043fe4d527bfc90ec91f696d8283364aea5c907c",

    "PROTOCOL": "https",

    "DELAY_BETWEEN_REST_CALLS_IN_MS": 400,

    "SYSLOG_PORT": 1542,

    "INVENTORY_POLL_RATE": "0 */10 *",

    "INVENTORY_DELTA_TIME": 600,

    "PERFORMANCE_POLL_RATE": "0 */10 *",

    "PERFORMANCE_DELTA_TIME": 600,

    "BLACKLISTED_EVENT_TYPES":"[]",

    "POLL_SSIDS":"true",

    "POLL_POL"[truncated 41 chars]; line: 4, column: 26] (through reference chain: com.ca.em.sdn.gateway.plugins.meraki.MerakiPluginConfiguration["MERAKI_USER_NAME"])

Environment

Release : 20.2

Component : Spectrum Integrations

Cause

The VNA code has been updated  and the MERAKI_USER_NAME has been deprecated.

Resolution

The Template and VNA code were updated and the "MERAKI_USER_NAME" had been deprecated. Also, there were a few more plugin values that needed to be added. We retrieved them from the template.  After you upgrade, run the Template query to see what's needed to configure the plugin.  You can do this for any plugin, not just the Meraki Plugin.

Click the GET on the /v1/admin/plugins/{pluginName}/template and enter Meraki Plugin.

Additional Information

The 20.2.3 standard Meraki Plugin configuration is:

{
  "PLUGIN_CONFIG": {
    "MERAKI_DASHBOARD_HOST": "api.meraki.com",
    "MERAKI_API_KEY": "xxx3xxxxxe9xx",
    "PROTOCOL": "https",
    "DELAY_BETWEEN_REST_CALLS_IN_MS": 400,
    "MAX_RETRIES": 3,
    "RETRY_DELAY_IN_MS": 500,
    "SYSLOG_PORT": 1542,
    "INVENTORY_POLL_RATE": "0 */10 *",
    "INVENTORY_DELTA_TIME": 600,
    "PERFORMANCE_POLL_RATE": "0 */10 *",
    "PERFORMANCE_DELTA_TIME": 600,
    "NOTIFICATION_POLL_RATE": "0 */5 *",
    "NOTIFICATION_DELTA_TIME": 300,
    "ENABLE_REST_API_EVENTS": "true",
    "ENABLE_SYSLOG_EVENTS": "false",
    "BLACKLISTED_EVENT_TYPES": "[]",
    "POLL_SSIDS": "true",
    "POLL_POLICIES": "true",
    "POLL_CLIENTS": "true",
    "NETWORK_ID_LIST": "[]",
    "DOMAIN_ID": 0
  }
}

Attachments