Meraki discovery

This document describes the Meraki functionality of PandoraFMS, composed by the discovery plugin.

Introduction

The purpose of this plugin is to monitor meraki devices, appliance, switch and wireless.

The plugin connects with the rest api of Meraki, in order to obtain all the metrics.

Pre rrequisites

 

Parameters

Parámeters
--conf Path to configuration file
Archivo de configuración (--conf)
base_url = API connection url
bearer_token = Bearer token needed for authentication
organization = ID of the organization in which the networks will be scanned.
network = Meraki network or regexp pattern; all networks that match this will be monitored. Use `.*` to monitor all of them.
location = Secondary groups added to the agent

api_url = Url of the pandora api
api_user = User of the pandora api
api_pass = Password of the pandora api
api_user_pass = Password of the user of the pandora api

agents_group_name = Group for the agents
agent_prefix = Prefix for the agents
module_prefix = Prefix for the modules

interval_monitoring = Monitoring interval for switch port statistics.

agentname_hostname = Activate with 1 to use the hostname as agent name. With 0 the agent name will have the serial code.

scan_appliance = Enable to monitor Appliance type devices
scan_switch = Enable to monitor switch type devices
scan_wireless = Enable to monitor wireless type devices
scan_traffic_appliance_network = Enable monitoring of appliance device traffic at the Network level.
scan_cellular_gateway = Enable to monitor cellular gateway devices

tentacle_address = Tentacle address
tentacle_port = Tentacle portPath to configuration file

Example
base_url = https://api.meraki.com/api/v1
bearer_token = 45gagsag7f707dadadafasfafe442c1b0a0
organization = 61474184758433340
network = .*
location = SHOP

api_url = http://localhost
api_user = admin
api_pass = 1234
api_user_pass = pandora

agents_group_name = MerakiAgents
agent_prefix = Meraki
module_prefix = Meraki_

interval_monitoring = 3600

agentname_hostname = 1

scan_appliance = 1
scan_switch = 1
scan_wireless = 1
scan_traffic_appliance_network = 1
scan_cellular_gateway = 1

tentacle_address = 172.42.42.101
tentacle_port = 41121

Manual execution

The format of the plugin execution is as follows:

./pandora_meraki --conf < path to the configuration file >

For example:

./pandora_meraki --conf /usr/share/pandora_server/util/plugin/meraki.conf

The execution will return an output in JSON format with information about the execution, and will generate an XML file for each monitored agent that will be sent to the Pandora FMS server by the transfer method indicated in the configuration.path to the configuration file.

Discovery

This plugin can be integrated with Pandora FMS Discovery.

To do so, you must load the “.disco” package that you can download from the Pandora FMS library:

https://pandorafms.com/library/

Once loaded, Horizon environments can be monitored by creating Discovery tasks from the Management > Discovery > App section.

The following minimum data will be requested for each task:

image.png

On the next page we will be asked for the following :

Captura desde 2026-04-08 14-34-56.png

The successfully completed tasks will have an execution summary with the following information:

Captura desde 2026-04-08 14-26-56.png

Agent and modules generated by the plugin

The plugin execution will create the following agents and modules:


One agent for each Appliance type deviceThe system running the plugin must have connectivity and be able to remotely reach the meraki switches.

One agent for each Switch type deviceOne for each port

One agent for each Wireless device

 

An agent with network-level traffic data from Appliance devices.