Skip to content

Request: Add ability to set stopMonitoring on Device Group Datasources #80

@tgeske88

Description

@tgeske88

The Problem
The Logic.Monitor PowerShell module (v7.7.4) currently provides no way to control the "Enable" checkbox for a DataSource applied to a Device Group.

I can read the property (stopMonitoring) using Get-LMDeviceGroupDatasourceList.
There is no corresponding parameter on Set-LMDeviceGroupDatasourceAlertSetting (e.g., -StopMonitoring).
There is no dedicated Set-LMDeviceGroupDatasource cmdlet.

The Get-LMDeviceGroupDatasourceList cmdlet returns a blank/null value for the essential id field. This prevents users from constructing a manual API PATCH request, which is required to fix this gap.

Requested Fix
Please add support for setting the stopMonitoring property by implementing one of the following:
New Cmdlet: Add a dedicated Set-LMDeviceGroupDatasource cmdlet.
Add Parameter: Add the -StopMonitoring parameter to Set-LMDeviceGroupDatasourceAlertSetting.

Thank you for all the time and effort you've pumped into this module. I use it almost everyday and it keeps getting better with each update!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions