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
What version of vROps is this?
Its 6.6.1 Build 6163035
Yes, I can replicate the problem. Not just on http-check, that are other objects where the same problem is true.
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
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)
}