mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixes data types of plugins
This commit is contained in:
parent
9d6968595f
commit
d9516db82f
8 changed files with 17 additions and 17 deletions
|
|
@ -38,8 +38,8 @@ Import-IcingaLib icinga\plugin;
|
|||
function Invoke-IcingaCheckCPU()
|
||||
{
|
||||
param(
|
||||
[int]$Warning = $null,
|
||||
[int]$Critical = $null,
|
||||
$Warning = $null,
|
||||
$Critical = $null,
|
||||
[string]$Core = '*',
|
||||
[switch]$NoPerfData,
|
||||
[ValidateSet(0, 1, 2, 3)]
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ function Invoke-IcingaCheckDirectory()
|
|||
[string]$Path,
|
||||
[array]$FileNames,
|
||||
[switch]$Recurse,
|
||||
[int]$Critical = $null,
|
||||
[int]$Warning = $null,
|
||||
$Critical = $null,
|
||||
$Warning = $null,
|
||||
[string]$YoungerThen,
|
||||
[string]$OlderThen,
|
||||
[ValidateSet(0, 1, 2, 3)]
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ function Invoke-IcingaCheckEventlog()
|
|||
[array]$ExcludeEntryType,
|
||||
[array]$IncludeMessage,
|
||||
[array]$ExcludeMessage,
|
||||
$After = $null,
|
||||
$Before = $null,
|
||||
$After = $null,
|
||||
$Before = $null,
|
||||
[switch]$DisableTimeCache = $FALSE,
|
||||
[switch]$NoPerfData,
|
||||
[ValidateSet(0, 1, 2, 3)]
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ function Invoke-IcingaCheckPerfcounter()
|
|||
{
|
||||
param(
|
||||
[array]$PerfCounter,
|
||||
[double]$Warning = $null,
|
||||
[double]$Critical = $null,
|
||||
$Warning = $null,
|
||||
$Critical = $null,
|
||||
[switch]$NoPerfData,
|
||||
[ValidateSet(0, 1, 2, 3)]
|
||||
[int]$Verbosity = 0
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ Import-IcingaLib icinga\plugin;
|
|||
function Invoke-IcingaCheckProcessCount()
|
||||
{
|
||||
param(
|
||||
[int]$Warning = $null,
|
||||
[int]$Critical = $null,
|
||||
$Warning = $null,
|
||||
$Critical = $null,
|
||||
[array]$Process,
|
||||
[switch]$NoPerfData,
|
||||
[ValidateSet(0, 1, 2, 3)]
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@ function Invoke-IcingaCheckUpdates()
|
|||
{
|
||||
param (
|
||||
[array]$UpdateFilter,
|
||||
[int]$Warning = $null,
|
||||
[int]$Critical = $null,
|
||||
$Warning = $null,
|
||||
$Critical = $null,
|
||||
[switch]$NoPerfData,
|
||||
[ValidateSet(0, 1, 2, 3)]
|
||||
[int]$Verbosity = 0
|
||||
[int]$Verbosity = 0
|
||||
);
|
||||
|
||||
$PendingUpdates = Get-IcingaUpdatesPending;
|
||||
|
|
|
|||
|
|
@ -45,8 +45,8 @@ Import-IcingaLib icinga\plugin;
|
|||
function Invoke-IcingaCheckUsedPartitionSpace()
|
||||
{
|
||||
param(
|
||||
[int]$Warning = $null,
|
||||
[int]$Critical = $null,
|
||||
$Warning = $null,
|
||||
$Critical = $null,
|
||||
[array]$Include = @(),
|
||||
[array]$Exclude = @(),
|
||||
[switch]$NoPerfData,
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ function Invoke-IcingaCheckUsers()
|
|||
{
|
||||
param (
|
||||
[array]$Username,
|
||||
[int]$Warning = $null,
|
||||
[int]$Critical = $null,
|
||||
$Warning = $null,
|
||||
$Critical = $null,
|
||||
[switch]$NoPerfData,
|
||||
[ValidateSet(0, 1, 2, 3)]
|
||||
[int]$Verbosity = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue