mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 15:19:58 -05:00
28 lines
693 B
PowerShell
28 lines
693 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Fetch the raw output values for a check command for each single object
|
|
processed by New-IcingaCheck
|
|
.DESCRIPTION
|
|
Fetch the raw output values for a check command for each single object
|
|
processed by New-IcingaCheck
|
|
.FUNCTIONALITY
|
|
Fetch the raw output values for a check command for each single object
|
|
processed by New-IcingaCheck
|
|
.OUTPUTS
|
|
System.Object
|
|
.LINK
|
|
https://github.com/Icinga/icinga-powershell-framework
|
|
#>
|
|
|
|
function Get-IcingaCheckSchedulerCheckData()
|
|
{
|
|
if ($null -eq $global:Icinga) {
|
|
return $null;
|
|
}
|
|
|
|
if ($global:Icinga.ContainsKey('CheckData') -eq $FALSE) {
|
|
return @{ };
|
|
}
|
|
|
|
return $global:Icinga.CheckData;
|
|
}
|