sensu-plugins-filemaker 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu-plugins-filemaker/server.rb +3 -3
- data/lib/sensu-plugins-filemaker/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: 8e30c67b24167c1e15f32887a656b92df529fd12
|
4
|
+
data.tar.gz: d83912e01e1a44c73465b21235f255de1b62cd08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a67a4edd88eacab5c092fcd80b17825b02b7587cc9872be7c478772576149f5dd28057e75d034fef6290677cf8c481122ab35d7d6929288909d72e3be64117ae
|
7
|
+
data.tar.gz: bae64f9f5c1fbf7e0812cd8ef0fe1831bed2649f1d388577a6e73858048d5d325d17d73ade2f3040d14e83aec8f203d78a35ee457ab1cdfab7a462182f7bf899
|
@@ -2,17 +2,17 @@ module SensuPluginsFilemaker
|
|
2
2
|
class Server
|
3
3
|
def self.server_running?
|
4
4
|
%x(ps aux | grep [f]mserverd)
|
5
|
-
$?.
|
5
|
+
$?.exitstatus == 0
|
6
6
|
end
|
7
7
|
|
8
8
|
def self.cwp_running?
|
9
9
|
%x(ps aux | grep [f]mscwpc)
|
10
|
-
$?.
|
10
|
+
$?.exitstatus == 0
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.admin_server_running?
|
14
14
|
%x(ps aux | grep [f]msased)
|
15
|
-
$?.
|
15
|
+
$?.exitstatus == 0
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|