Add default status for service check plugin

This commit is contained in:
Lord Hepipud 2019-10-29 10:51:39 +01:00
parent f649de8fbf
commit dcf4ab6c1f

View file

@ -35,7 +35,7 @@ function Invoke-IcingaCheckService()
param( param(
[array]$Service, [array]$Service,
[ValidateSet('Stopped', 'StartPending', 'StopPending', 'Running', 'ContinuePending', 'PausePending', 'Paused')] [ValidateSet('Stopped', 'StartPending', 'StopPending', 'Running', 'ContinuePending', 'PausePending', 'Paused')]
[string]$Status, [string]$Status = 'Running',
[ValidateSet(0, 1, 2, 3)] [ValidateSet(0, 1, 2, 3)]
[int]$Verbosity = 0 [int]$Verbosity = 0
); );