sensu-plugins-filemaker 0.0.2 → 0.0.3
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: 4e51b18d0d5a71f0e0f0442bb1357724ca222fae
|
4
|
+
data.tar.gz: d3876db17a14549ee99d3b6ab868b61b07fd202e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e25a95b5a93bf9e448c6be257e3dd02947bf3b62623205d65d74ad8c226f0169aa484e12f8d57ec0a48987f7b0ab21c251b5876f31f95be7fe53c7a7b53f679
|
7
|
+
data.tar.gz: 09d8efeb497d9238f010f4e7d275fe21ee986667fa93df4ba270495f74552a56a7c58b1dd0f8e036842c6085890de84fc8ef75d704e68a3ace0ba02a96df15db
|
@@ -1,17 +1,17 @@
|
|
1
1
|
module SensuPluginsFilemaker
|
2
2
|
class Server
|
3
3
|
def self.server_running?
|
4
|
-
%(ps aux | grep [f]mserverd)
|
4
|
+
%x(ps aux | grep [f]mserverd)
|
5
5
|
$?.exitcode == 0
|
6
6
|
end
|
7
7
|
|
8
8
|
def self.cwp_running?
|
9
|
-
%(ps aux | grep [f]mscwpc)
|
9
|
+
%x(ps aux | grep [f]mscwpc)
|
10
10
|
$?.exitcode == 0
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.admin_server_running?
|
14
|
-
%(ps aux | grep [f]msased)
|
14
|
+
%x(ps aux | grep [f]msased)
|
15
15
|
$?.exitcode == 0
|
16
16
|
end
|
17
17
|
end
|