sensu-plugins-check-lan 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/check-check-lan.rb +3 -1
- data/lib/sensu-plugins-check-lan/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3202ca9ee63aa72b3c0732a005d693f997ad3f4
|
|
4
|
+
data.tar.gz: 2bc52313ccf154eae4cc7112db540e0c86fbdaf4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c1eec74c1eb34ae2728aa0d15407c618411d3b8e74abb8bc686291663baf5e7ef0393406833bda4b9faba9d1cdcaea94db1a9251b4c2b95559adb377cccd4a4
|
|
7
|
+
data.tar.gz: 39957efbdcaf96df1197730fbb19785bd8d6ff341a11b182e22c8bf085e69e0ac9a2576ff271832710ca0631c24c75bcbcef8ef7c59ac7173c7c6c2cad2c7cf7
|
data/bin/check-check-lan.rb
CHANGED
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
# for details.
|
|
23
23
|
|
|
24
24
|
require 'sensu-plugin/check/cli'
|
|
25
|
+
require 'sys/filesystem'
|
|
26
|
+
include Sys
|
|
25
27
|
|
|
26
28
|
class CheckLan < Sensu::Plugin::Check::CLI
|
|
27
29
|
#change the IP whatever IP you want to ping.
|
|
28
|
-
IP_TO_PING = "
|
|
30
|
+
IP_TO_PING = "s415vm1125.detss.corpintra.net"
|
|
29
31
|
PING_COUNT = 1
|
|
30
32
|
#change interface to the interface you want to check
|
|
31
33
|
INTERFACE="eth0"
|