mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Added missing exception definitions
This commit is contained in:
parent
49dc3849e5
commit
ccca2e591f
1 changed files with 8 additions and 3 deletions
|
|
@ -4,8 +4,12 @@
|
||||||
# entire components
|
# entire components
|
||||||
#>
|
#>
|
||||||
|
|
||||||
[hashtable]$Throw = @{
|
[hashtable]$Permission = @{
|
||||||
PerformanceCounter = 'Icinga failed to fetch Performance Counter information. This may be caused when the Icinga Service User is not permited to access these information. To fix this, please add the User the Icinga Agent is running on into the "Performance Log Users" group.';
|
PerformanceCounter = 'A Plugin failed to fetch Performance Counter information. This may be caused when the used Service User is not permitted to access these information. To fix this, please add the User the Icinga Agent is running on into the "Performance Log Users" group.';
|
||||||
|
};
|
||||||
|
|
||||||
|
[hashtable]$Inputs = @{
|
||||||
|
PerformanceCounter = 'A plugin failed to fetch Performance Counter information. Please ensure the counter is written properly and available on your system.';
|
||||||
};
|
};
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
@ -16,7 +20,8 @@
|
||||||
# $IcingaExceptionEnums.IcingaExecptionHandlers.PerformanceCounter
|
# $IcingaExceptionEnums.IcingaExecptionHandlers.PerformanceCounter
|
||||||
#>
|
#>
|
||||||
[hashtable]$IcingaExceptions = @{
|
[hashtable]$IcingaExceptions = @{
|
||||||
Throw = $Throw;
|
Permission = $Permission;
|
||||||
|
Inputs = $Inputs;
|
||||||
}
|
}
|
||||||
|
|
||||||
Export-ModuleMember -Variable @( 'IcingaExceptions' );
|
Export-ModuleMember -Variable @( 'IcingaExceptions' );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue