VMware Cloud Community
Hoelzeli
Enthusiast
Enthusiast

Changes in Policy not saved

Hi all

I need to set a maintenance-schedule on http-check objects, bit policy-changes are not being saved.

So, I did the following:

1. created a maintenance-schedule

2. created a new policy for the http-sites

3. In the policy-library, I edited the policy

4. in the analysis-setting I clicked 'add settings for new set of objects' and added 'http-checks' from 'Ep Ops Adapter'

5. "unlocked" time-range and selected the maintenance-schedule I created before.

6. Save the policy.

7. nothing from my settings were saved. The 'analysis-settings' are empty.

Tried it on my productive and on my test-environment. It's the same on both systems...

What am I doing wrong? Can anyone reproduce this?

Kind regards

Christoph

Tags (2)
Reply
0 Kudos
5 Replies
daphnissov
Immortal
Immortal

What version of vROps is this?

Reply
0 Kudos
Hoelzeli
Enthusiast
Enthusiast

Its 6.6.1 Build 6163035

Reply
0 Kudos
MichaelRyom
Hot Shot
Hot Shot

Yes, I can replicate the problem. Not just on http-check, that are other objects where the same problem is true.

Blogging at https://MichaelRyom.dk
Reply
0 Kudos
MichaelRyom
Hot Shot
Hot Shot

From limited testing - it seems that you can only put objects with a "workload" in maintenance.

as an example I cant put AD into maintenance

pastedImage_0.png

Blogging at https://MichaelRyom.dk
Reply
0 Kudos
Hoelzeli
Enthusiast
Enthusiast

Sorry, for getting back to this so much later.

finally I made a little PowerCLi-script to set objects in maintenance.

Maybe somenone can use this too.

-------------------------------------------------------------------------------------------

Import-Module -Name VMware.VimAutomation.vROps

Connect-OMServer -Server [vrops-server]

$ResourceList = @("object-1","object-2","object-3")

foreach ($Resource in $ResourceList) {

        $Item = Get-OMResource -Name $Resource

        $Item.ExtensionData.MarkResourceAsBeingMaintained(20)

        }

Reply
0 Kudos