Backup Policy Assignment Check

I thought I'd throw something in here before I submit a feature request (maybe I am missing something)

I am building a process to health check a variety of settings following the onboarding of a customer.  I am a strong believer that some things shouldn't wait to be corrected when missed or incorrectly applied.   So in that line of thinking, I am building a script that queries the API for information about backup policies and assignments.   One of the many underrated but very valuable features of NMM is the “assign policy to resources” block, which helps ensure that any new session host is getting backed up by a policy, and the same for the other resource types.    But what if - the engineering setting it up, missed one?  or in more standardized solutions, assigned the policy for servers, to session hosts?   

So - can anything think of an API call that will help me see what backup policies are assigned to resource types?   I see a POST (For setting the assignment) - but not a GET, which would tell me the current conditions. 

The expansion of MSP level profiles in things like Auto-Scale help tremendously, but we still find odd and obscure gaps here and there.

Again - just curious whether there is a method that would get me the desired result without a feature request.

1

Comments (3 comments)

0
Avatar
Dave Stephenson

I like where this idea is going. 
At first glance, it seems more like a feature request, but I could be misunderstanding.

To me, Backups are a good thing to verify are in-place, but there are a few other settings that could cause issues if not configured. I'm sure there are more, but here are a few that came to mind, for me.

  • Backups Configured and Healthy (Servers, FSLogix Profiles, Desktop Image, Image Versions)
  • Host Pool Autoscale Configured and Enabled
  • Azure Files Autoscale Configured and Enabled
  • Reservations purchased and active/current
  • Desktop Image Management Automation scheduled
  • Host Pool Reimage Automation scheduled
  • PSA Integration Enabled
  • Notifications enabled
  • Approval Workflows configured

It makes a lot of sense to have these kinds of health checks (or Drift Notifications) because we're all humans and tend to forget things.

As far as I know, our API (or UI) doesn't allow for these kinds of checks, currently, but it could make a huge difference for MSPs.

Am I interpreting what you're asking for correctly or did I miss something that would make this implementable now without the feature request? 🤔

0
Avatar
John Tokash

Dave,   You have it spot on.  And I agree, this could very well be a feature request to expand the scope a bit.

My goal in this API topic was really to validate I am missing something, so yes - happy to re-post of sorts in the Feature Request topic area.   My hope was that this could be implemented in the API (possibly faster) but I think I see your point now.   If it isn't really a feature in NMM in the first place, then building an API method, well, is like adding a new feature!

Ultimately, yes you are spot on.   We leverage Nerdio as the ‘easy’ button.  So rather that building processes or automation outside of Nerdio, we'd love to see it built in.   In this case I found a case where something was missed (simple human error) but no programmatic method to ‘ensure’ it doesn't get missed in the future, or if someone overrides it, there are plenty of ‘hey, you sure about that?’ moments to help avoid it.

 

Your expanded list of things to check looks great on the surface, so long as we have some functionality to pick and choose.   For example, we don't use the PSA integration or Reservation management.    Should I repost over in the feature request forum, or would like to run with it with your expanded list?

0
Avatar
Dave Stephenson

Thanks, John.
I'm glad to know we're on the same wave-length here. 🙂

No need to repost this. I'll have our team move this over to the feature request section 😎
I'm sure other partners will benefit from the feature as well.

Please sign in to leave a comment.