icinga-powershell-framework/lib/core/framework/New-IcingaCheckSchedulerEnvironment.psm1

9 lines
394 B
PowerShell
Raw Normal View History

function New-IcingaCheckSchedulerEnvironment()
{
$IcingaDaemonData.IcingaThreadContent.Add('Scheduler', @{ });
if ($IcingaDaemonData.IcingaThreadContent['Scheduler'].ContainsKey('PluginCache') -eq $FALSE) {
$IcingaDaemonData.IcingaThreadContent['Scheduler'].Add('PluginCache', @());
$IcingaDaemonData.IcingaThreadContent['Scheduler'].Add('PluginPerfData', @());
}
}