Documentation

meraki_snmp - Manage organizations in the Meraki cloud

New in version 2.6.

Synopsis

  • Allows for management of SNMP settings for Meraki.

Parameters

Parameter Choices/Defaults Comments
auth_key
Authentication key provided by the dashboard. Required if environmental variable MERAKI_KEY is not set.
host
string
Default:
api.meraki.com
Hostname for Meraki dashboard
Only useful for internal Meraki developers
org_id
ID of organization.
org_name
Name of organization.

aliases: organization
output_level
    Choices:
  • normal ←
  • debug
Set amount of debug output during module execution
peer_ips
Semi-colon delimited IP addresses which can perform SNMP queries.
state
    Choices:
  • query
  • present ←
Specifies whether SNMP information should be queried or modified.
timeout
int
Default:
30
Time to timeout for HTTP requests.
use_https
bool
    Choices:
  • no
  • yes ←
If no, it will use HTTP. Otherwise it will use HTTPS.
Only useful for internal Meraki developers
use_proxy
bool
    Choices:
  • no
  • yes
If no, it will not use a proxy, even if one is defined in an environment variable on the target hosts.
v2c_enabled
bool
    Choices:
  • no
  • yes
Specifies whether SNMPv2c is enabled.
v3_auth_mode
    Choices:
  • MD5
  • SHA
Sets authentication mode for SNMPv3.
v3_auth_pass
Authentication password for SNMPv3.
Must be at least 8 characters long.
v3_enabled
bool
    Choices:
  • no
  • yes
Specifies whether SNMPv3 is enabled.
v3_priv_mode
    Choices:
  • DES
  • AES128
Specifies privacy mode for SNMPv3.
v3_priv_pass
Privacy password for SNMPv3.
Must be at least 8 characters long.
validate_certs
bool
    Choices:
  • no
  • yes ←
Whether to validate HTTP certificates.

Notes

Note

Examples

- name: Query SNMP values
  meraki_snmp:
    auth_key: abc12345
    org_name: YourOrg
    state: query
  delegate_to: localhost

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
data
list
info
Information about queried or updated object.

Sample:
{'data': {'peer_ips': None, 'v3_priv_mode': None, 'hostname': 'n110.meraki.com', 'v3_auth_mode': None, 'v3_enabled': False, 'v2c_enabled': False, 'port': 16100}}


Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

Author

  • Kevin Breit (@kbreit)

Hint

If you notice any issues in this documentation you can edit this document to improve it.