Monthly Reboot

  • 2
  • Question
  • Updated 2 years ago
I was wondering if there was a way to keep track of the uptime on the access points on Hivemanager and have them reboot if they have been up longer than 30 days? I am on Hivemanager version 6.4r1. Thank you.
Photo of Steven Wallace

Steven Wallace

  • 3 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 2
Photo of Aaron Storey

Aaron Storey

  • 32 Posts
  • 8 Reply Likes
I have seen this question asked before and so far have not seen an option for an automatic reboot within HM. You could certainly script something and use SNMP to get the uptime then connect to the AP via SSH and reboot if the uptime is long.

Why do you want to have the AP's reboot after 30 days. We have had AP's running for much longer periods of time with no problems. 
Photo of Steven Wallace

Steven Wallace

  • 3 Posts
  • 0 Reply Likes
Normally I do not see a lot of issues because I have APs up for 150 days with no issues. But I have probably 70 to 80 locations with Aerohive APs for moving freight on the dock and they will call me with issues. if I see the APs have been up for a while I will reboot them and a lot of times that fixes the problem. I just wanted to know If I had the option. I would most likely reboot them after 6 months not 30 days.
Photo of Brent Pye

Brent Pye

  • 7 Posts
  • 0 Reply Likes
I don't have an answer but I'm curious as why you want to do a 30-day reboot, which is something I've considered.
Photo of Mike Kouri

Mike Kouri, Official Rep

  • 1030 Posts
  • 271 Reply Likes
Yes, if you upgrade your HiveManager to version 6.6r3 and HiveOS to version 6.5r3. Use Supplemental-CLI feature with command "reboot schedule", i.e. to occur every 4th week on Saturday shortly after midnight use this

reboot schedule weekly every 4 week(s) Saturday time 00:30:00 

Photo of Kevin Gee

Kevin Gee

  • 54 Posts
  • 4 Reply Likes
Hi Mike,
Thanks for making us aware of this feature, I've been looking for this for a while. Is there any news on getting it included in 6.6 ? We are experiencing problems with our AP230s similar to those mentioned below. It would be lovely to set a periodic reboot but we are running 6.6r2a on that model .

https://community.aerohive.com/aerohive/topics/ap230-qos-engine-issues

Regard's Kevin.
Photo of Mike Kouri

Mike Kouri, Official Rep

  • 1030 Posts
  • 271 Reply Likes
Kevin,
This feature is already checked in to the next release of HiveOS after 6.6r2a, I just double-checked to confirm. That release should happen within the next several weeks (we are fixing the final bugs now), and it will be HiveOS version 6.8r1.
Photo of Kevin Gee

Kevin Gee

  • 54 Posts
  • 4 Reply Likes
Hi Mike,
That's great, thank you for the update.
Photo of Bill W.

Bill W.

  • 222 Posts
  • 35 Reply Likes
Mike,
How soon before HiveOS 6.8 is released? It's been over a month now.
Photo of Mike Kouri

Mike Kouri, Official Rep

  • 1030 Posts
  • 271 Reply Likes
Bill, HiveOS 6.8r1 is currently on track for release before the end of this month. I believe we were able to get this into HiveOS 6.5r4 as well, which was released a few weeks ago.
Photo of Bill W.

Bill W.

  • 222 Posts
  • 35 Reply Likes
I like the option that Mike suggested. But if you can't upgrade everything to the latest code as required, you can always add Uptime to the Monitor and/or Configuration screens and then sort by uptime. Then you can select all APs with uptime of 30 days or more and reboot them.
Photo of JEFFREY JORDAN

JEFFREY JORDAN

  • 1 Post
  • 0 Reply Likes
We have had an issue with our 230's where they would begin to not work as well especially in the busier parts of the buildings.  We found that an occasional reboot helped this.  What we did to fix this was write a powershell script that pulls the list of IP addresses from the local hivemanager, and then goes to each one via ssh and reboots it.  It is setup to be a 2:30 hour process that goes through all of our 150 radios and makes sure that the are each rebooted.  We set this up to run as a scheduled task in windows.