-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
alleged-bugBugs raised by people helpfully using the Bug Report template!Bugs raised by people helpfully using the Bug Report template!
Description
Describe the bug
Hello lordmilko
I hope you are doing well.
Cannot update Schedules, Dependencies, and Maintenance Window to inherit or stop inheritance via set-objectproperty.
Setting Scanning Interval for example works.
We would like to unset inheritance and also set the dependecyvalue and dependencytype.
Here's the wiki article: https://github.com/lordmilko/PrtgAPI/wiki/Property-Manipulation
Setting a schedule also doesn't work.
It seems like PRTG is not accepting the input. It's not shown in the webinterface an also not with get-objectproperties.
We run PRTG Version: 23.4.88.1429
Steps to reproduce
$sensor = get-sensor -name XY
$ht = @{
"scheduledependency" = 0
"dependencyvalue" = "78632"
"dependencytype" = 1
}
$sensor | Set-ObjectProperty -RawParameters $ht -Force
What is the output of 'Get-PrtgClient -Diagnostic'?
PSVersion : 5.1.17763.5328
PSEdition : Desktop
OS : Microsoft Windows Server 2019 Standard
PrtgAPIVersion : 0.9.19
Culture : de-CH
CLRVersion : .NET Framework 4.8 (528049)
PrtgVersion : 23.4.88.1429
PrtgLanguage : english.lng
Additional context
No response
Metadata
Metadata
Assignees
Labels
alleged-bugBugs raised by people helpfully using the Bug Report template!Bugs raised by people helpfully using the Bug Report template!