You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Will be overwritten to defaults with every update and contains
4
+
all code pre-compiled for faster execution and for providing
5
+
private/public commands.
6
+
7
+
Fetches the current module and file location, reads all .psm1 files and compiles them into one large environment
8
+
#>
9
+
if ($null-eq (Get-Command-Name'Write-IcingaForWindowsComponentCompilationFile'-ErrorAction SilentlyContinue)) {
10
+
Write-Host'['-NoNewline;
11
+
Write-Host'Error'-ForegroundColor Red-NoNewline;
12
+
Write-Host ([string]::Format(']: Failed to compile Icinga for Windows component at location "{0}", because the required function "Write-IcingaForWindowsComponentCompilationFile" is not installed. Please ensure Icinga PowerShell Framework v1.9.0 or later is installed and try again.',$MyInvocation.MyCommand.Path));
Copy file name to clipboardExpand all lines: doc/10-Icinga-Plugins.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Please ensure that you will escape the `@` if you are configuring it on the Icin
14
14
15
15
To test thresholds with different input values, you can use the Framework Cmdlet`Get-IcingaHelpThresholds`.
16
16
17
-
Each plugin ships with a constant Framework argument`-ThresholdInterval`. This can be used to modify the value your thresholds are compared against from the current, fetched value to one collected over time by the Icinga for Windows daemon. In case you[registered service checks](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/) for specific time intervals, you can for example set the argument to`15m` to get the average value of 15m as base for your monitoring values. Please note that in this example, you will require to have collected the`15m` average for`Invoke-IcingaCheckCPU`.
17
+
Each plugin ships with a constant Framework argument`-ThresholdInterval`. This can be used to modify the value your thresholds are compared against from the current, fetched value to one collected over time by the Icinga for Windows daemon. In case you[Collect Metrics Over Time](https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/06-Collect-Metrics-over-Time/) for specific time intervals, you can for example set the argument to`15m` to get the average value of 15m as base for your monitoring values. Please note that in this example, you will require to have collected the`15m` average for`Invoke-IcingaCheckCPU`.
|[Invoke-IcingaCheckMSSQLBackupStatus](plugins/01-Invoke-IcingaCheckMSSQLBackupStatus.md)| MSSQL plugin which checks for total backupsize, average backupsize, last backup age, last backup log age, last backup execution time, database status of a given database|
30
+
|[Invoke-IcingaCheckMSSQLHealth](plugins/02-Invoke-IcingaCheckMSSQLHealth.md)| Checks if MSSQL services for a specific instance are running and if the connection to a database instance can be established|
31
+
|[Invoke-IcingaCheckMSSQLPerfCounter](plugins/03-Invoke-IcingaCheckMSSQLPerfCounter.md)| Checks specified Performance Counter inside the MSSQL database by fetching counters by a given name and compares them to input thresholds|
32
+
|[Invoke-IcingaCheckMSSQLResource](plugins/04-Invoke-IcingaCheckMSSQLResource.md)| MSSQL plugin which checks for page life expectancy, buffer cache hit ratio', average latch wait time (ms) Performance Counters|
Copy file name to clipboardExpand all lines: doc/plugins/01-Invoke-IcingaCheckMSSQLBackupStatus.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ No special permissions required.
38
38
| IntegratedSecurity| SwitchParameter| false| False| Allows this plugin to use the credentials of the current PowerShell session inherited by the user the PowerShell is running with. If this is set and the user the PowerShell is running with can access to the MSSQL database you will not require to provide username and password|
39
39
| NoPerfData| SwitchParameter| false| False| Disables the performance data output of this plugin|
40
40
| Verbosity| Object| false| 0| Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be[OK])|
41
-
| ThresholdInterval|Object||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|
41
+
| ThresholdInterval|String||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|
Copy file name to clipboardExpand all lines: doc/plugins/02-Invoke-IcingaCheckMSSQLHealth.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ No special permissions required.
29
29
| IntegratedSecurity| SwitchParameter| false| False| Allows this plugin to use the credentials of the current PowerShell session inherited by the user the PowerShell is running with. If this is set and the user the PowerShell is running with can access to the MSSQL database you will not require to provide username and password|
30
30
| NoPerfData| SwitchParameter| false| False| Disables the performance data output of this plugin|
31
31
| Verbosity| Int32| false| 0| Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be[OK])|
32
-
| ThresholdInterval|Object||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|
32
+
| ThresholdInterval|String||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|
Copy file name to clipboardExpand all lines: doc/plugins/03-Invoke-IcingaCheckMSSQLPerfCounter.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ No special permissions required.
29
29
| IntegratedSecurity| SwitchParameter| false| False| Allows this plugin to use the credentials of the current PowerShell session inherited by the user the PowerShell is running with. If this is set and the user the PowerShell is running with can access to the MSSQL database you will not require to provide username and password|
30
30
| NoPerfData| SwitchParameter| false| False| Disables the performance data output of this plugin|
31
31
| Verbosity| Int32| false| 0| Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be[OK])|
32
-
| ThresholdInterval|Object||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|
32
+
| ThresholdInterval|String||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|
Copy file name to clipboardExpand all lines: doc/plugins/04-Invoke-IcingaCheckMSSQLResource.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ No special permissions required.
32
32
| IntegratedSecurity| SwitchParameter| false| False| Allows this plugin to use the credentials of the current PowerShell session inherited by the user the PowerShell is running with. If this is set and the user the PowerShell is running with can access to the MSSQL database you will not require to provide username and password|
33
33
| NoPerfData| SwitchParameter| false| False| Disables the performance data output of this plugin|
34
34
| Verbosity| Int32| false| 0| Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be[OK])e|
35
-
| ThresholdInterval|Object||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|
35
+
| ThresholdInterval|String||| Change the value your defined threshold checks against from the current value to a collected time threshold of the Icinga for Windows daemon, as described[here](https://icinga.com/docs/icinga-for-windows/latest/doc/service/10-Register-Service-Checks/). An example for this argument would be 1m or 15m which will use the average of 1m or 15m for monitoring.|