Need to reboot APs regularly.

SOLVED
Court
Here to help

Need to reboot APs regularly.

It seems like our Meraki APs have a need to be randomly rebooted about once a quarter in our environment. No apparent issues on the dashboard, and they look like they are functioning properly, clients can connect, but they are just stuck, providing no network activity for clients. Send a reboot command, and voila, they start working again, connectivity restored. Doesn't appear to be model specific, I've seen it on MR33, MR36, MR42, and MR46E, all up to date on firmware. One or two cases, could just be a hiccup, but I'm seeing it more often than I would attribute to a random hiccup. Has anyone else experienced symptoms like this? And not that this is a permanent fix, but can you script a way to automatically reboot the APs on a schedule? Thanks

1 ACCEPTED SOLUTION
cmr
Kind of a big deal
Kind of a big deal

28.6 fixes this issue (at least it has for most people and support confirmed that the release is intended to fix it.

View solution in original post

2 REPLIES 2
alemabrahao
A model citizen

I experienced that a long time ago. I have a simple script on python that can help you (You can schedule to run it):

 

import requests
import datetime
now = datetime.datetime.now()
filename_prefix ='log'
network = "NETWORK-ID"
s1 = "AP-SERIAL_NUMBER"

#RUNNING REBOOT ON DEVICES
ap1 = "https://api.meraki.com/api/v0/networks/{}/devices/{}/reboot".format(network, s1)
payload = {}
headers = {
'X-Cisco-Meraki-API-Key': 'API_KEY,
'Content-Type': 'application/json'
}

#GENERATING THE RESPONSE CODE (TRUE = REBOOT OK /FALSE = REBOOT NOT OK)
response1 = requests.request("POST", ap1, headers=headers, data = payload)
)

#CREATING THE LOG FILE
filename = "%s_%.2i-%.2i-%i_%.2i-%.2i.txt" % (filename_prefix,now.day,now.month,now.year,now.hour,now.minute)
f = open(filename, 'w')

print('AP01', response1.text.encode('utf8'), file=f)f)
f.close()

cmr
Kind of a big deal
Kind of a big deal

28.6 fixes this issue (at least it has for most people and support confirmed that the release is intended to fix it.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.