icinga-powershell-framework/lib/icinga/plugin/Get-IcingaInternalPluginOutput.psm1

9 lines
272 B
PowerShell
Raw Normal View History

2021-08-06 12:12:27 -04:00
function Get-IcingaInternalPluginOutput()
{
2021-12-09 11:42:06 -05:00
if ([string]::IsNullOrEmpty($Global:Icinga.Private.Scheduler.PluginException) -eq $FALSE) {
return $Global:Icinga.Private.Scheduler.PluginException;
2021-08-06 12:12:27 -04:00
}
2021-12-09 11:42:06 -05:00
return $Global:Icinga.Private.Scheduler.CheckResults;
2021-08-06 12:12:27 -04:00
}