Script Suggestions - CPU Usage and Deactivating

We're looking at putting a host which has reached 95 - 100% cpu usage for over 10 minutes into deactivating/drain mode and then powering on another host from the same pool

This is to alleviate an anomoly that's happening rather than resource planning and planning for breadth

Is this possible and would love some help with the script if so.

0

Comments (1 comment)

Avatar
Dave Stephenson

Welcome to the community, Glen Webster 🙂!

 That sounds like a pretty cool idea where if it hits that threshold, it would put the host in drain mode and trigger a message to the end-user(s) to log-off and log-on again to be moved to another host.

I know we don't have any out of the box functionality like that (hopefully another partner with a bit more scripting know-how than me is able to help make something like that 🤞). The closest thing we have is the Auto-Heal Broken Hosts feature of our Auto-scale functions.

That being said, if you got fancy with our API (see Nerdio Manager Partner API - Getting Started – Nerdio Help Center (getnerdio.com)) you could likely do what you're wanting.

0

Please sign in to leave a comment.