The Meraki Community
Register or Sign in
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • About Meraki_Dave
Meraki_Dave

Meraki_Dave

Here to help

Member since Sep 24, 2019

‎03-11-2020
Kudos from
User Count
Steinbep
Steinbep
1
chengineer
Meraki Alumni (Retired) chengineer
1
View All
Kudos given to
User Count
CharlieCrackle
CharlieCrackle
1
Steinbep
Steinbep
1
chengineer
Meraki Alumni (Retired) chengineer
1
MarkD_BT
MarkD_BT
1
CBurkhead
CBurkhead
1
View All

Community Record

11
Posts
2
Kudos
0
Solutions

Badges

First 5 Posts
Lift-Off View All
Latest Contributions by Meraki_Dave
  • Topics Meraki_Dave has Participated In
  • Latest Contributions by Meraki_Dave

Re: getNetworkEvents - specifying multiple event types

by Meraki_Dave in Developers & APIs
‎01-29-2020 12:56 PM
1 Kudo
‎01-29-2020 12:56 PM
1 Kudo
It appears to be working, maybe I was just getting so many of the radius_mac_auth events I was not seeing the eap_failure events.    Thanks again!  ... View more

Re: getNetworkEvents - specifying multiple event types

by Meraki_Dave in Developers & APIs
‎01-29-2020 11:45 AM
‎01-29-2020 11:45 AM
only one network, but I verified the network I am testing has both types of events. I will continue to debug on my end if it appears to be working for you. Thanks for testing it!  ... View more

Re: getNetworkEvents - specifying multiple event types

by Meraki_Dave in Developers & APIs
‎01-29-2020 11:12 AM
‎01-29-2020 11:12 AM
no error - it just does not return both types of events, only one.  ... View more

getNetworkEvents - specifying multiple event types

by Meraki_Dave in Developers & APIs
‎01-29-2020 10:36 AM
‎01-29-2020 10:36 AM
Hello - I am having a hard time with getting multiple event types to be returned on the below call.   When I do them individually, they work, but when I try passing in an array containing multiple types, the return is only for one of them.    from the API docs:     - includedEventTypes (array): A list of event types. The returned events will be filtered to only include events with these types.       eventTypes = ['radius_mac_auth', '8021x_eap_failure'] events = m.events.getNetworkEvents(network['id'], productType='switch', includedEventTypes=eventTypes) for event in events['events']: print(event)     Thanks!  ... View more
Labels:
  • Labels:
  • Dashboard API

Re: Dashboard API via Python - unable to get local issuer certificate (pass...

by Meraki_Dave in Developers & APIs
‎01-14-2020 05:39 AM
1 Kudo
‎01-14-2020 05:39 AM
1 Kudo
Thank you for that fast turnaround - everything is now working as expected.  ... View more

Re: Dashboard API via Python - unable to get local issuer certificate (pass...

by Meraki_Dave in Developers & APIs
‎01-13-2020 10:57 AM
‎01-13-2020 10:57 AM
I am able to pass " verify='C:\location\of\my\cert.cer' to the requests.get, and it uses the certificate as expected, see below:   def list_networks(api_key, org_id): url = 'https://dashboard.meraki.com/api/v0/organizations/{}/networks'.format(org_id) try: response = requests.get(url=url, headers={'X-Cisco-Meraki-API-Key': api_key, 'Content-Type': 'application/json'}, verify='C:\\certfolder\\certfile.cer') return json.loads(response.text) except requests.exceptions.RequestException as e: print('Error calling list_networks: {}'.format(e))     ... View more

Dashboard API via Python - unable to get local issuer certificate (passing ...

by Meraki_Dave in Developers & APIs
‎01-13-2020 07:08 AM
‎01-13-2020 07:08 AM
  Hello,    I am using the Meraki Python module and having issues getting through our web gateway.    My old scripts use a request.get where I can pass the certificate location in, but I am unable to see how to do this within the meraki python module   Code / Error:       import meraki x_cisco_meraki_api_key = 'MyKey' m = meraki.DashboardAPI(x_cisco_meraki_api_key) orgs = m.organizations.getOrganizations() print(orgs)           Organizations, getOrganizations - HTTPSConnectionPool(host='api.meraki.com', port=443): Max retries exceeded with url: /api/v0/organizations (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))),         ... View more
Labels:
  • Labels:
  • Dashboard API

Re: using github script, receiving 400 error, when I send the same command ...

by Meraki_Dave in Developers & APIs
‎09-25-2019 05:57 AM
‎09-25-2019 05:57 AM
... View more

Re: using github script, receiving 400 error, when I send the same command ...

by Meraki_Dave in Developers & APIs
‎09-25-2019 04:38 AM
‎09-25-2019 04:38 AM
the meraki github code pulls all of the attributes of the port into a variable, then updates the access policy variable and sends it back.    I am not sure how to strip out any of the attribute before it sends the update to the switch.  ... View more

Re: using github script, receiving 400 error, when I send the same command ...

by Meraki_Dave in Developers & APIs
‎09-24-2019 12:09 PM
‎09-24-2019 12:09 PM
If that were the case, I would expect it would not work form Postman either, but it does. Not sure if its the same issue   ... View more

github update_ports script, 400 status code > resolved by removing port att...

by Meraki_Dave in Developers & APIs
‎09-24-2019 10:48 AM
‎09-24-2019 10:48 AM
Hi all -    I am using the update_ports script from https://github.com/meraki/automation-scripts   this used to work fine when I first used it a couple months ago - now I see a status of 400 in the API history when I run it.    The script works fine to grab the data, but when it goes to PUT the data, it does not update the port. No errors while running the script.      When I do a call to the API to see the last API PUT calls, it shows the postman call and the python script call as identical besides the user agent and return status.  ... View more
Labels:
  • Labels:
  • Dashboard API
Kudos from
User Count
Steinbep
Steinbep
1
chengineer
Meraki Alumni (Retired) chengineer
1
View All
Kudos given to
User Count
CharlieCrackle
CharlieCrackle
1
Steinbep
Steinbep
1
chengineer
Meraki Alumni (Retired) chengineer
1
MarkD_BT
MarkD_BT
1
CBurkhead
CBurkhead
1
View All
My Top Kudoed Posts
Subject Kudos Views

Re: getNetworkEvents - specifying multiple event types

Developers & APIs
1 1755

Re: Dashboard API via Python - unable to get local issuer certificate (pass...

Developers & APIs
1 8987
View All
custom.footer.
  • Community Guidelines
  • Cisco Privacy
  • Khoros Privacy
  • Privacy Settings
  • Terms of Use
© 2022 Meraki