sensu-plugins-windows 0.0.10 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.md +59 -29
- data/README.md +47 -8
- data/bin/check-windows-cpu-load.rb +3 -6
- data/bin/check-windows-disk.rb +10 -12
- data/bin/check-windows-process.rb +3 -4
- data/bin/check-windows-processor-queue-length.rb +47 -0
- data/bin/check-windows-ram.rb +4 -7
- data/bin/check-windows-service.rb +5 -12
- data/bin/{metrics-windows-cpu-load.rb → metric-windows-cpu-load.rb} +4 -10
- data/bin/{metrics-windows-disk-usage.rb → metric-windows-disk-usage.rb} +3 -9
- data/bin/{metrics-windows-network.rb → metric-windows-network.rb} +3 -5
- data/bin/metric-windows-processor-queue-length.rb +58 -0
- data/bin/{metrics-windows-ram-usage.rb → metric-windows-ram-usage.rb} +4 -9
- data/bin/{metrics-windows-uptime.rb → metric-windows-uptime.rb} +3 -5
- data/bin/powershell/check-windows-cpu-load.ps1 +49 -0
- data/bin/powershell/check-windows-disk-writeable.ps1 +89 -0
- data/bin/powershell/check-windows-disk.ps1 +81 -0
- data/bin/powershell/check-windows-http.ps1 +56 -0
- data/bin/powershell/check-windows-process.ps1 +42 -0
- data/bin/powershell/check-windows-processor-queue-length.ps1 +49 -0
- data/bin/powershell/check-windows-ram.ps1 +51 -0
- data/bin/powershell/check-windows-service.ps1 +48 -0
- data/bin/powershell/metric-windows-cpu-load.ps1 +35 -0
- data/bin/powershell/metric-windows-disk-usage.ps1 +45 -0
- data/bin/powershell/metric-windows-network.ps1 +35 -0
- data/bin/powershell/metric-windows-processor-queue-length.ps1 +35 -0
- data/bin/powershell/metric-windows-ram-usage.ps1 +35 -0
- data/bin/powershell/metric-windows-uptime.ps1 +34 -0
- data/lib/sensu-plugins-windows/version.rb +2 -2
- metadata +57 -71
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -2
- metadata.gz.sig +0 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
#
|
2
|
+
# check-windows-process.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin checks whether a User-inputted process is running or not.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# plain text
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\check-windows-process.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
[CmdletBinding()]
|
26
|
+
Param(
|
27
|
+
[Parameter(Mandatory=$True,Position=1)]
|
28
|
+
[string]$ProcessName
|
29
|
+
)
|
30
|
+
|
31
|
+
$ThisProcess = Get-Process -Id $pid
|
32
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
33
|
+
|
34
|
+
$Exists = Get-Process $ProcessName -ErrorAction SilentlyContinue
|
35
|
+
|
36
|
+
If (!$Exists) {
|
37
|
+
Write-Host CRITICAL: $ProcessName not found!
|
38
|
+
Exit 2 }
|
39
|
+
|
40
|
+
If ($Exists) {
|
41
|
+
Write-Host OK: $ProcessName running.
|
42
|
+
Exit 0 }
|
@@ -0,0 +1,49 @@
|
|
1
|
+
#
|
2
|
+
# check-windows-processor-queue-length.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects the Processor Queue Length and compares against the WARNING and CRITICAL thresholds.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# plain text
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\check-windows-processor-queue-length.ps1 5 10
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
[CmdletBinding()]
|
26
|
+
Param(
|
27
|
+
[Parameter(Mandatory=$True,Position=1)]
|
28
|
+
[int]$WARNING,
|
29
|
+
|
30
|
+
[Parameter(Mandatory=$True,Position=2)]
|
31
|
+
[int]$CRITICAL
|
32
|
+
)
|
33
|
+
|
34
|
+
$ThisProcess = Get-Process -Id $pid
|
35
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
36
|
+
|
37
|
+
$Value = (Get-WmiObject Win32_PerfFormattedData_PerfOS_System).ProcessorQueueLength
|
38
|
+
|
39
|
+
If ($Value -gt $CRITICAL) {
|
40
|
+
Write-Host CheckWindowsProcessorQueueLength CRITICAL: Processor Queue at $Value.
|
41
|
+
Exit 2 }
|
42
|
+
|
43
|
+
If ($Value -gt $WARNING) {
|
44
|
+
Write-Host CheckWindowsProcessorQueueLength WARNING: Processor Queue at $Value.
|
45
|
+
Exit 1 }
|
46
|
+
|
47
|
+
Else {
|
48
|
+
Write-Host CheckWindowsProcessorQueueLength OK: Processor Queue at $Value.
|
49
|
+
Exit 0 }
|
@@ -0,0 +1,51 @@
|
|
1
|
+
#
|
2
|
+
# check-windows-ram.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects the RAM Usage and compares against the WARNING and CRITICAL thresholds.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# plain text
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\check-windows-ram.ps1 90 95
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
[CmdletBinding()]
|
26
|
+
Param(
|
27
|
+
[Parameter(Mandatory=$True,Position=1)]
|
28
|
+
[int]$WARNING,
|
29
|
+
|
30
|
+
[Parameter(Mandatory=$True,Position=2)]
|
31
|
+
[int]$CRITICAL
|
32
|
+
)
|
33
|
+
|
34
|
+
$ThisProcess = Get-Process -Id $pid
|
35
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
36
|
+
|
37
|
+
$Memory = (Get-WmiObject -Query "SELECT TotalVisibleMemorySize, FreePhysicalMemory FROM Win32_OperatingSystem")
|
38
|
+
|
39
|
+
$Value = [System.Math]::Round(((($Memory.TotalVisibleMemorySize-$Memory.FreePhysicalMemory)/$Memory.TotalVisibleMemorySize)*100),2)
|
40
|
+
|
41
|
+
If ($Value -gt $CRITICAL) {
|
42
|
+
Write-Host CheckWindowsRAMLoad CRITICAL: RAM at $Value%.
|
43
|
+
Exit 2 }
|
44
|
+
|
45
|
+
If ($Value -gt $WARNING) {
|
46
|
+
Write-Host CheckWindowsRAMLoad WARNING: RAM at $Value%.
|
47
|
+
Exit 1 }
|
48
|
+
|
49
|
+
Else {
|
50
|
+
Write-Host CheckWindowsRAMLoad OK: RAM at $Value%.
|
51
|
+
Exit 0 }
|
@@ -0,0 +1,48 @@
|
|
1
|
+
#
|
2
|
+
# check-windows-service.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin checks whether a User-inputted Windows service is running or not.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# plain text
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\check-windows-service.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
[CmdletBinding()]
|
26
|
+
Param(
|
27
|
+
[Parameter(Mandatory=$True,Position=1)]
|
28
|
+
[string]$ServiceName
|
29
|
+
)
|
30
|
+
|
31
|
+
$ThisProcess = Get-Process -Id $pid
|
32
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
33
|
+
|
34
|
+
$Exists = Get-Service $ServiceName -ErrorAction SilentlyContinue
|
35
|
+
|
36
|
+
If ($Exists) {
|
37
|
+
If (($Exists).Status -eq "Running") {
|
38
|
+
Write-Host OK: $ServiceName Running.
|
39
|
+
Exit 0 }
|
40
|
+
|
41
|
+
If (($Exists).Status -eq "Stopped") {
|
42
|
+
Write-Host CRITICAL: $ServiceName Stopped.
|
43
|
+
Exit 2 }
|
44
|
+
}
|
45
|
+
|
46
|
+
If (!$Exists) {
|
47
|
+
Write-Host CRITICAL: $ServiceName not found!
|
48
|
+
Exit 2 }
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#
|
2
|
+
# metric-windows-cpu-load.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects and outputs the CPU Usage in a Graphite acceptable format.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# metric data
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\metric-windows-cpu-load.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
$ThisProcess = Get-Process -Id $pid
|
26
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
27
|
+
|
28
|
+
$Path = hostname
|
29
|
+
$Path = $Path.ToLower()
|
30
|
+
|
31
|
+
$Value = (Get-WmiObject CIM_Processor).LoadPercentage
|
32
|
+
|
33
|
+
$Time = [int][double]::Parse((Get-Date -UFormat %s))
|
34
|
+
|
35
|
+
Write-Host "$Path.system.processor_total.%_processor_time $Value $Time"
|
@@ -0,0 +1,45 @@
|
|
1
|
+
#
|
2
|
+
# metric-windows-disk-usage.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects and outputs Disk Usage metrics in a Graphite acceptable format.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# metric data
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\metric-windows-disk-usage.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
$ThisProcess = Get-Process -Id $pid
|
26
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
27
|
+
|
28
|
+
$AllDisks = Get-WMIObject Win32_LogicalDisk -Filter "DriveType = 3" | ? { $_.DeviceID -notmatch "[ab]:"}
|
29
|
+
|
30
|
+
foreach ($ObjDisk in $AllDisks)
|
31
|
+
{
|
32
|
+
$DeviceId = $ObjDisk.DeviceID -replace ":",""
|
33
|
+
|
34
|
+
$UsedSpace = [System.Math]::Round((($ObjDisk.Size-$ObjDisk.Freespace)/1MB),2)
|
35
|
+
$AvailableSpace = [System.Math]::Round(($ObjDisk.Freespace/1MB),2)
|
36
|
+
$UsedPercentage = [System.Math]::Round(((($ObjDisk.Size-$ObjDisk.Freespace)/$ObjDisk.Size)*100),2)
|
37
|
+
|
38
|
+
$Path = (hostname).ToLower()
|
39
|
+
|
40
|
+
$Time = [int][double]::Parse((Get-Date -UFormat %s))
|
41
|
+
|
42
|
+
Write-Host "$Path.system.Disk.$DeviceId.UsedMB $UsedSpace $Time"
|
43
|
+
Write-Host "$Path.system.Disk.$DeviceId.FreeMB $AvailableSpace $Time"
|
44
|
+
Write-Host "$Path.system.Disk.$DeviceId.UsedPercentage $UsedPercentage $Time"
|
45
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#
|
2
|
+
# metric-windows-network.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects and outputs all Network Adapater Statistic in a Graphite acceptable format.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# metric data
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\metric-windows-network.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
$ThisProcess = Get-Process -Id $pid
|
26
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
27
|
+
|
28
|
+
foreach ($ObjNet in (Get-Counter -Counter "\Network Interface(*)\*").CounterSamples)
|
29
|
+
{
|
30
|
+
$Path = ($ObjNet.Path).Trim("\\") -replace "\\","." -replace " ","_" -replace "[(]","." -replace "[)]","" -replace "[\{\}]","" -replace "[\[\]]",""
|
31
|
+
$Value = [System.Math]::Round(($ObjNet.CookedValue),0)
|
32
|
+
$Time = [int][double]::Parse((Get-Date -UFormat %s))
|
33
|
+
|
34
|
+
Write-Host "$Path $Value $Time"
|
35
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#
|
2
|
+
# metric-windows-processor-queue-length.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects and outputs the Processor Queue Length in a Graphite acceptable format.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# metric data
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\metric-windows-processor-queue-length.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
$ThisProcess = Get-Process -Id $pid
|
26
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
27
|
+
|
28
|
+
$Path = hostname
|
29
|
+
$Path = $Path.ToLower()
|
30
|
+
|
31
|
+
$Value = (Get-WmiObject Win32_PerfFormattedData_PerfOS_System).ProcessorQueueLength
|
32
|
+
|
33
|
+
$Time = [int][double]::Parse((Get-Date -UFormat %s))
|
34
|
+
|
35
|
+
Write-Host "$Path.system.processor_queue_length $Value $Time"
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#
|
2
|
+
# metric-windows-ram-usage.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects and outputs the Ram Usage in a Graphite acceptable format.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# metric data
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\metric-windows-ram-usage.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
$ThisProcess = Get-Process -Id $pid
|
26
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
27
|
+
|
28
|
+
$FreeMemory = (Get-WmiObject -Query "SELECT TotalVisibleMemorySize, FreePhysicalMemory FROM Win32_OperatingSystem").FreePhysicalMemory
|
29
|
+
$TotalMemory = (Get-WmiObject -Query "SELECT TotalVisibleMemorySize, FreePhysicalMemory FROM Win32_OperatingSystem").TotalVisibleMemorySize
|
30
|
+
|
31
|
+
$Path = (hostname).ToLower()
|
32
|
+
$Value = [System.Math]::Round(((($TotalMemory-$FreeMemory)/$TotalMemory)*100),2)
|
33
|
+
$Time = [int][double]::Parse((Get-Date -UFormat %s))
|
34
|
+
|
35
|
+
Write-host "$Path.system.ram.RamUsagePercent $Value $Time"
|
@@ -0,0 +1,34 @@
|
|
1
|
+
#
|
2
|
+
# metric-windows-uptime.ps1
|
3
|
+
#
|
4
|
+
# DESCRIPTION:
|
5
|
+
# This plugin collects and outputs the Uptime in seconds in a Graphite acceptable format.
|
6
|
+
#
|
7
|
+
# OUTPUT:
|
8
|
+
# metric data
|
9
|
+
#
|
10
|
+
# PLATFORMS:
|
11
|
+
# Windows
|
12
|
+
#
|
13
|
+
# DEPENDENCIES:
|
14
|
+
# Powershell
|
15
|
+
#
|
16
|
+
# USAGE:
|
17
|
+
# Powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -NoLogo -File C:\\etc\\sensu\\plugins\\metric-windows-uptime.ps1
|
18
|
+
#
|
19
|
+
# NOTES:
|
20
|
+
#
|
21
|
+
# LICENSE:
|
22
|
+
# Copyright 2016 sensu-plugins
|
23
|
+
# Released under the same terms as Sensu (the MIT license); see LICENSE for details.
|
24
|
+
#
|
25
|
+
$ThisProcess = Get-Process -Id $pid
|
26
|
+
$ThisProcess.PriorityClass = "BelowNormal"
|
27
|
+
|
28
|
+
$Counter = ((Get-Counter "\System\System Up Time").CounterSamples)
|
29
|
+
|
30
|
+
$Path = ($Counter.Path).Trim("\\") -replace " ","_" -replace "\\","." -replace "[\{\}]","" -replace "[\[\]]",""
|
31
|
+
$Value = [System.Math]::Truncate($Counter.CookedValue)
|
32
|
+
$Time = [int][double]::Parse((Get-Date -UFormat %s))
|
33
|
+
|
34
|
+
Write-Host "$Path $Value $Time"
|
metadata
CHANGED
@@ -1,199 +1,170 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-windows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURuakNDQW9hZ0F3SUJB
|
13
|
-
Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREJLTVJVd0V3WURWUVFEREF4elpX
|
14
|
-
NXoKZFMxd2JIVm5hVzR4SFRBYkJnb0praWFKay9Jc1pBRVpGZzF6Wlc1emRT
|
15
|
-
MXdiSFZuYVc1ek1SSXdFQVlLQ1pJbQppWlB5TEdRQkdSWUNhVzh3SGhjTk1U
|
16
|
-
WXdNakEwTWpNeU1qRTNXaGNOTVRjd01qQXpNak15TWpFM1dqQktNUlV3CkV3
|
17
|
-
WURWUVFEREF4elpXNXpkUzF3YkhWbmFXNHhIVEFiQmdvSmtpYUprL0lzWkFF
|
18
|
-
WkZnMXpaVzV6ZFMxd2JIVm4KYVc1ek1SSXdFQVlLQ1pJbWlaUHlMR1FCR1JZ
|
19
|
-
Q2FXOHdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCRHdBdwpnZ0VLQW9J
|
20
|
-
QkFRQy9VUzNmdEkyUmQrOWQzS3JIQUw0bERsOGxhN2s2ZHA3K1RPY210VHd3
|
21
|
-
YzRiMUwzV0NyeEFoClpDWms1Q3k2aUpvWUd4VHVoNittSDJZZ3ExbHZGRE4v
|
22
|
-
NTh5YVRHTVFINzNRYVJjZjVnak9IMkJSQTlkUWRzWUgKYTNZYnMrbGxwVlYv
|
23
|
-
ZC9kMklaYyt2RU9tc21rTFpVeEhzZFdQSTZsWTBuYXJwU2RxNHNML0lXWWZP
|
24
|
-
aW1ocFFTWgpTV0t5WHg5cjM4UFpZZ0Q3djIydjloNTZkcUpQZFFPY29OODhF
|
25
|
-
NkE4YTdQWTcvL1RweWdTREtuSldudkFwS1JxCjNCN0xMaFNkOTRQMHdRcGow
|
26
|
-
MS9sb05Nd0FCMytGQjRRQ0UrdG1QeFYxZ1Q2ZWE4VW1SNjQrcGZKTFN0NGl5
|
27
|
-
N0gKVGc5OTdCZFZqaURJdG5SYzhCSXNjVFl4S2JRai9wTEhBZ01CQUFHamdZ
|
28
|
-
NHdnWXN3Q1FZRFZSMFRCQUl3QURBTApCZ05WSFE4RUJBTUNCTEF3SFFZRFZS
|
29
|
-
ME9CQllFRk5McjBmZ1BmdnlWK0VneEVGRHhVcVFhU2xScE1DZ0dBMVVkCkVR
|
30
|
-
UWhNQitCSFhObGJuTjFMWEJzZFdkcGJrQnpaVzV6ZFMxd2JIVm5hVzV6TG1s
|
31
|
-
dk1DZ0dBMVVkRWdRaE1CK0IKSFhObGJuTjFMWEJzZFdkcGJrQnpaVzV6ZFMx
|
32
|
-
d2JIVm5hVzV6TG1sdk1BMEdDU3FHU0liM0RRRUJCUVVBQTRJQgpBUUNQZTZ0
|
33
|
-
RUJ0NS9uQzk1aFhvS2VLRmhrWVc5bTE2aU5YdWRKeEorZGRYcnpDc2tEMXk2
|
34
|
-
ajZjQXY0a1FlUDFmClBIbDE4aDVrOWtKeElQU1IrcUkrK2JJbDE3ZUVPU096
|
35
|
-
YXNMbXdzdGFNU25NN3U1UWZMcFdFWTJldVZXQkRzdGQKMmhrcG80VSswSzVT
|
36
|
-
d3ptZEphMFdLQXRmS3ZkdENROGk5MllJUCtIODNFdXZDU0xwZ29aaDYzRXJx
|
37
|
-
dVFVY25lbgphZmg1bHVUQkExaTFjcUJHNEFNSjBmTFdHeU9xSmFYOFA5WnN4
|
38
|
-
RERXUEVCbk5TaVd2WGIrSUttSkFWTzF1VzRrClFOODNielZXU1d1bFk4Qlk2
|
39
|
-
a1grSVFNd1lhelpBbEIvMTNkN2E4VTBoN0NyYjM2Sm5TUGF0aHVSemU0cUtY
|
40
|
-
RlEKM2YzVFVaV3d2UmZ0Y1N1K3Z0Y0JSa00wCi0tLS0tRU5EIENFUlRJRklD
|
41
|
-
QVRFLS0tLS0K
|
42
|
-
date: 2016-02-16 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-06-08 00:00:00.000000000 Z
|
43
12
|
dependencies:
|
44
13
|
- !ruby/object:Gem::Dependency
|
45
14
|
name: sensu-plugin
|
46
15
|
requirement: !ruby/object:Gem::Requirement
|
47
16
|
requirements:
|
48
|
-
- - ~>
|
17
|
+
- - "~>"
|
49
18
|
- !ruby/object:Gem::Version
|
50
19
|
version: '1.2'
|
51
20
|
type: :runtime
|
52
21
|
prerelease: false
|
53
22
|
version_requirements: !ruby/object:Gem::Requirement
|
54
23
|
requirements:
|
55
|
-
- - ~>
|
24
|
+
- - "~>"
|
56
25
|
- !ruby/object:Gem::Version
|
57
26
|
version: '1.2'
|
58
27
|
- !ruby/object:Gem::Dependency
|
59
28
|
name: bundler
|
60
29
|
requirement: !ruby/object:Gem::Requirement
|
61
30
|
requirements:
|
62
|
-
- - ~>
|
31
|
+
- - "~>"
|
63
32
|
- !ruby/object:Gem::Version
|
64
33
|
version: '1.7'
|
65
34
|
type: :development
|
66
35
|
prerelease: false
|
67
36
|
version_requirements: !ruby/object:Gem::Requirement
|
68
37
|
requirements:
|
69
|
-
- - ~>
|
38
|
+
- - "~>"
|
70
39
|
- !ruby/object:Gem::Version
|
71
40
|
version: '1.7'
|
72
41
|
- !ruby/object:Gem::Dependency
|
73
42
|
name: codeclimate-test-reporter
|
74
43
|
requirement: !ruby/object:Gem::Requirement
|
75
44
|
requirements:
|
76
|
-
- - ~>
|
45
|
+
- - "~>"
|
77
46
|
- !ruby/object:Gem::Version
|
78
47
|
version: '0.4'
|
79
48
|
type: :development
|
80
49
|
prerelease: false
|
81
50
|
version_requirements: !ruby/object:Gem::Requirement
|
82
51
|
requirements:
|
83
|
-
- - ~>
|
52
|
+
- - "~>"
|
84
53
|
- !ruby/object:Gem::Version
|
85
54
|
version: '0.4'
|
86
55
|
- !ruby/object:Gem::Dependency
|
87
56
|
name: github-markup
|
88
57
|
requirement: !ruby/object:Gem::Requirement
|
89
58
|
requirements:
|
90
|
-
- - ~>
|
59
|
+
- - "~>"
|
91
60
|
- !ruby/object:Gem::Version
|
92
61
|
version: '1.3'
|
93
62
|
type: :development
|
94
63
|
prerelease: false
|
95
64
|
version_requirements: !ruby/object:Gem::Requirement
|
96
65
|
requirements:
|
97
|
-
- - ~>
|
66
|
+
- - "~>"
|
98
67
|
- !ruby/object:Gem::Version
|
99
68
|
version: '1.3'
|
100
69
|
- !ruby/object:Gem::Dependency
|
101
70
|
name: pry
|
102
71
|
requirement: !ruby/object:Gem::Requirement
|
103
72
|
requirements:
|
104
|
-
- - ~>
|
73
|
+
- - "~>"
|
105
74
|
- !ruby/object:Gem::Version
|
106
75
|
version: '0.10'
|
107
76
|
type: :development
|
108
77
|
prerelease: false
|
109
78
|
version_requirements: !ruby/object:Gem::Requirement
|
110
79
|
requirements:
|
111
|
-
- - ~>
|
80
|
+
- - "~>"
|
112
81
|
- !ruby/object:Gem::Version
|
113
82
|
version: '0.10'
|
114
83
|
- !ruby/object:Gem::Dependency
|
115
84
|
name: rake
|
116
85
|
requirement: !ruby/object:Gem::Requirement
|
117
86
|
requirements:
|
118
|
-
- - ~>
|
87
|
+
- - "~>"
|
119
88
|
- !ruby/object:Gem::Version
|
120
89
|
version: '10.0'
|
121
90
|
type: :development
|
122
91
|
prerelease: false
|
123
92
|
version_requirements: !ruby/object:Gem::Requirement
|
124
93
|
requirements:
|
125
|
-
- - ~>
|
94
|
+
- - "~>"
|
126
95
|
- !ruby/object:Gem::Version
|
127
96
|
version: '10.0'
|
128
97
|
- !ruby/object:Gem::Dependency
|
129
98
|
name: redcarpet
|
130
99
|
requirement: !ruby/object:Gem::Requirement
|
131
100
|
requirements:
|
132
|
-
- - ~>
|
101
|
+
- - "~>"
|
133
102
|
- !ruby/object:Gem::Version
|
134
103
|
version: '3.2'
|
135
104
|
type: :development
|
136
105
|
prerelease: false
|
137
106
|
version_requirements: !ruby/object:Gem::Requirement
|
138
107
|
requirements:
|
139
|
-
- - ~>
|
108
|
+
- - "~>"
|
140
109
|
- !ruby/object:Gem::Version
|
141
110
|
version: '3.2'
|
142
111
|
- !ruby/object:Gem::Dependency
|
143
112
|
name: rubocop
|
144
113
|
requirement: !ruby/object:Gem::Requirement
|
145
114
|
requirements:
|
146
|
-
- -
|
115
|
+
- - "~>"
|
147
116
|
- !ruby/object:Gem::Version
|
148
|
-
version: 0.
|
117
|
+
version: 0.40.0
|
149
118
|
type: :development
|
150
119
|
prerelease: false
|
151
120
|
version_requirements: !ruby/object:Gem::Requirement
|
152
121
|
requirements:
|
153
|
-
- -
|
122
|
+
- - "~>"
|
154
123
|
- !ruby/object:Gem::Version
|
155
|
-
version: 0.
|
124
|
+
version: 0.40.0
|
156
125
|
- !ruby/object:Gem::Dependency
|
157
126
|
name: rspec
|
158
127
|
requirement: !ruby/object:Gem::Requirement
|
159
128
|
requirements:
|
160
|
-
- - ~>
|
129
|
+
- - "~>"
|
161
130
|
- !ruby/object:Gem::Version
|
162
131
|
version: '3.1'
|
163
132
|
type: :development
|
164
133
|
prerelease: false
|
165
134
|
version_requirements: !ruby/object:Gem::Requirement
|
166
135
|
requirements:
|
167
|
-
- - ~>
|
136
|
+
- - "~>"
|
168
137
|
- !ruby/object:Gem::Version
|
169
138
|
version: '3.1'
|
170
139
|
- !ruby/object:Gem::Dependency
|
171
140
|
name: yard
|
172
141
|
requirement: !ruby/object:Gem::Requirement
|
173
142
|
requirements:
|
174
|
-
- - ~>
|
143
|
+
- - "~>"
|
175
144
|
- !ruby/object:Gem::Version
|
176
145
|
version: '0.8'
|
177
146
|
type: :development
|
178
147
|
prerelease: false
|
179
148
|
version_requirements: !ruby/object:Gem::Requirement
|
180
149
|
requirements:
|
181
|
-
- - ~>
|
150
|
+
- - "~>"
|
182
151
|
- !ruby/object:Gem::Version
|
183
152
|
version: '0.8'
|
184
153
|
description: Sensu plugins for Windows
|
185
|
-
email: <sensu-users@googlegroups.com>
|
154
|
+
email: "<sensu-users@googlegroups.com>"
|
186
155
|
executables:
|
187
156
|
- check-windows-cpu-load.rb
|
188
157
|
- check-windows-disk.rb
|
189
158
|
- check-windows-process.rb
|
159
|
+
- check-windows-processor-queue-length.rb
|
190
160
|
- check-windows-ram.rb
|
191
161
|
- check-windows-service.rb
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
162
|
+
- metric-windows-cpu-load.rb
|
163
|
+
- metric-windows-disk-usage.rb
|
164
|
+
- metric-windows-network.rb
|
165
|
+
- metric-windows-processor-queue-length.rb
|
166
|
+
- metric-windows-ram-usage.rb
|
167
|
+
- metric-windows-uptime.rb
|
197
168
|
extensions: []
|
198
169
|
extra_rdoc_files: []
|
199
170
|
files:
|
@@ -203,13 +174,29 @@ files:
|
|
203
174
|
- bin/check-windows-cpu-load.rb
|
204
175
|
- bin/check-windows-disk.rb
|
205
176
|
- bin/check-windows-process.rb
|
177
|
+
- bin/check-windows-processor-queue-length.rb
|
206
178
|
- bin/check-windows-ram.rb
|
207
179
|
- bin/check-windows-service.rb
|
208
|
-
- bin/
|
209
|
-
- bin/
|
210
|
-
- bin/
|
211
|
-
- bin/
|
212
|
-
- bin/
|
180
|
+
- bin/metric-windows-cpu-load.rb
|
181
|
+
- bin/metric-windows-disk-usage.rb
|
182
|
+
- bin/metric-windows-network.rb
|
183
|
+
- bin/metric-windows-processor-queue-length.rb
|
184
|
+
- bin/metric-windows-ram-usage.rb
|
185
|
+
- bin/metric-windows-uptime.rb
|
186
|
+
- bin/powershell/check-windows-cpu-load.ps1
|
187
|
+
- bin/powershell/check-windows-disk-writeable.ps1
|
188
|
+
- bin/powershell/check-windows-disk.ps1
|
189
|
+
- bin/powershell/check-windows-http.ps1
|
190
|
+
- bin/powershell/check-windows-process.ps1
|
191
|
+
- bin/powershell/check-windows-processor-queue-length.ps1
|
192
|
+
- bin/powershell/check-windows-ram.ps1
|
193
|
+
- bin/powershell/check-windows-service.ps1
|
194
|
+
- bin/powershell/metric-windows-cpu-load.ps1
|
195
|
+
- bin/powershell/metric-windows-disk-usage.ps1
|
196
|
+
- bin/powershell/metric-windows-network.ps1
|
197
|
+
- bin/powershell/metric-windows-processor-queue-length.ps1
|
198
|
+
- bin/powershell/metric-windows-ram-usage.ps1
|
199
|
+
- bin/powershell/metric-windows-uptime.ps1
|
213
200
|
- lib/sensu-plugins-windows.rb
|
214
201
|
- lib/sensu-plugins-windows/version.rb
|
215
202
|
homepage: https://github.com/sensu-plugins/sensu-plugins-windows
|
@@ -228,12 +215,12 @@ require_paths:
|
|
228
215
|
- lib
|
229
216
|
required_ruby_version: !ruby/object:Gem::Requirement
|
230
217
|
requirements:
|
231
|
-
- -
|
218
|
+
- - ">="
|
232
219
|
- !ruby/object:Gem::Version
|
233
|
-
version:
|
220
|
+
version: 2.0.0
|
234
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
235
222
|
requirements:
|
236
|
-
- -
|
223
|
+
- - ">="
|
237
224
|
- !ruby/object:Gem::Version
|
238
225
|
version: '0'
|
239
226
|
requirements: []
|
@@ -243,4 +230,3 @@ signing_key:
|
|
243
230
|
specification_version: 4
|
244
231
|
summary: Sensu plugins for Windows
|
245
232
|
test_files: []
|
246
|
-
has_rdoc:
|