sensu-plugins-filemaker 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/check-filemaker.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: 3146b01f327cd8b0c3ac534e8cb0b994c9262e47
|
4
|
+
data.tar.gz: 9026b7f7964dc45c87a87a0df26f8c75f27f583c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 956ab5d6837ae4d1a854e2fe6e03a66939224811acd7327199cd751a5b8e07be5a1180f19d995a0b37ceaeec4f515555088557c460f101afdd6d4eeb8105de09
|
7
|
+
data.tar.gz: 375a6e0a29d67267d17eff148fb2350bae4573d1f2e04a65b2089f5cd52736fca0ae6d1c453f767e3a1cbb4151bd15848fb54d74bca1f20cf8798d40ea5ed702
|
data/bin/check-filemaker.rb
CHANGED
@@ -5,13 +5,13 @@ require 'sensu-plugins-filemaker'
|
|
5
5
|
|
6
6
|
class CheckFilemaker < Sensu::Plugin::Check::CLI
|
7
7
|
def run
|
8
|
-
unless SensuPluginsFilemaker
|
8
|
+
unless SensuPluginsFilemaker::Server.server_running?
|
9
9
|
critical "Filemaker server is not running"
|
10
10
|
end
|
11
|
-
unless SensuPluginsFilemaker
|
11
|
+
unless SensuPluginsFilemaker::Server.cwp_running?
|
12
12
|
critical "Filemaker CWP is not running"
|
13
13
|
end
|
14
|
-
unless SensuPluginsFilemaker
|
14
|
+
unless SensuPluginsFilemaker::Server.admin_server_running?
|
15
15
|
warning "Filemaker admin server is not running"
|
16
16
|
end
|
17
17
|
ok "Filemaker and it's services are running"
|