@@ -66,6 +66,39 @@ Available collector group IDs correspond to LogicMonitor regions:
6666- 5 = Asia - Singapore
6767- 6 = Australia - Sydney
6868
69+ . PARAMETER PingAddress
70+ Target hostname or IP address for **Ping** website checks (internal or external ping parameter set).
71+
72+ . PARAMETER WebsiteDomain
73+ Domain or URL host portion for **Website** checks (HTTP/HTTPS monitoring).
74+
75+ . PARAMETER HttpType
76+ HTTP scheme for website checks. Valid values: **http** or **https**.
77+
78+ . PARAMETER PingCount
79+ Number of ICMP echo requests per poll for ping checks. Valid values: 5, 10, 15, 20, 30, 50.
80+
81+ . PARAMETER PingTimeout
82+ Timeout in milliseconds for each ping request in ping checks.
83+
84+ . PARAMETER PageLoadAlertTimeInMS
85+ Maximum acceptable page load time in milliseconds before a website check raises an alert.
86+
87+ . PARAMETER PingPercentNotReceived
88+ Packet loss percentage threshold for ping checks. Valid values: 10 through 100 in tens.
89+
90+ . PARAMETER FailedCount
91+ Number of consecutive failed checks before alerting. Valid values: 1-10, 30, or 60.
92+
93+ . PARAMETER OverallAlertLevel
94+ Alert severity for overall website or ping check status. Valid values: **warn**, **error**, **critical**.
95+
96+ . PARAMETER IndividualAlertLevel
97+ Alert severity for individual step or probe failures. Valid values: **warn**, **error**, **critical**.
98+
99+ . PARAMETER WebsiteSteps
100+ Optional scripted steps for multi-step website checks (website parameter set).
101+
69102. EXAMPLE
70103Set-LMWebsite -Id 123 -Name "Updated Site" -Description "New description" -DisableAlerting $false
71104Updates the website with new name, description, and enables alerting.
@@ -160,7 +193,7 @@ function Set-LMWebsite {
160193 [Nullable [Int ]]$PollingInterval ,
161194
162195 [Parameter (ParameterSetName = " Website" )]
163- [String []]$WebsiteSteps ,
196+ [Object []]$WebsiteSteps ,
164197
165198 [Nullable [boolean ]]$TestLocationAll , # Only valid for external checks
166199
@@ -293,11 +326,11 @@ function Set-LMWebsite {
293326 testLocation = $testLocation
294327 }
295328
296-
297329 # Remove empty keys so we dont overwrite them
298330 $Data = Format-LMData `
299331 - Data $Data `
300332 - UserSpecifiedKeys $MyInvocation.BoundParameters.Keys `
333+ - ConditionalKeep @ { ' steps' = ' WebsiteSteps' } `
301334 - ConditionalValueKeep @ { ' PropertiesMethod' = @ (@ { Value = ' Refresh' ; KeepKeys = @ (' customProperties' ) }) } `
302335 - Context @ { PropertiesMethod = $PropertiesMethod }
303336
0 commit comments