cloudstack-nagios 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70add464104edacb85ca4e3acfccd1eb65fa2b56
4
- data.tar.gz: 99ae8fd9df278d8023f2c0055b4165c58f4c0a6d
3
+ metadata.gz: 308620b567d6ad79dadb95d171ccaf34b84fc31b
4
+ data.tar.gz: 56f22c7f919f2184c581f8aaf9f3fca68f0408dc
5
5
  SHA512:
6
- metadata.gz: a31810fcb5fee564d53e5f68a13617685912f8c7bdcbc4ed85e64f708419911c891cfbbee3d5e44534394fec38fc7e1df4d80198388aeae8d53fc53aecb1b661
7
- data.tar.gz: 9545edfebfc6845a092d3aa86d6155c2ffde5a7a036504af2ec802cfcd049e69e8dc886d210c9023ca50dd867232d3676081cc9c8c7c1f342313a4b18e0e6e4b
6
+ metadata.gz: 070c91610b0b831f2d0452a5ea3b6a417cac50ccb1ae09712113702faf0420bac18486055620c0445107d432544615d70740e66848f788e483ec9f5bbb105f06
7
+ data.tar.gz: 36c4bca3fb1fcaf833626b4a80bf0e0e5dcb1e659577a031ee2032a4c8cdbcdff5312f9248fc499e39f0f406b1708c7168f175d29286bf48bc3f627d54283528
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudstack-nagios (0.7.1)
4
+ cloudstack-nagios (0.7.3)
5
5
  cloudstack_client (~> 0.4, >= 0.4.4)
6
6
  erubis (~> 2.7.0)
7
7
  highline (~> 1.6.20)
@@ -36,4 +36,4 @@ define host {
36
36
  #
37
37
  # END OF FILE
38
38
  #
39
- ###############################################################################
39
+ ###############################################################################
@@ -32,4 +32,4 @@ define service {
32
32
  #
33
33
  # END OF FILE
34
34
  #
35
- ###############################################################################
35
+ ###############################################################################
@@ -37,4 +37,4 @@ define service {
37
37
  #
38
38
  # END OF FILE
39
39
  #
40
- ###############################################################################
40
+ ###############################################################################
@@ -11,28 +11,28 @@
11
11
  #
12
12
  ###############################################################################
13
13
 
14
- <% storage_pools.each do |storage_pool| -%>
15
14
  define command {
16
15
  command_name cs-nagios_check-storage_pool
17
- command_line <%= bin_path -%>cs-nagios check storage_pool --pool_name <%= storage_pool['name'] -%><%= " --over_provisioning #{over_provisioning}" if over_provisioning != 1.0 && storage_pool['type'] == 'NetworkFilesystem' -%> --zone <%= storage_pool['zonename'] -%> -w $ARG1$ -c $ARG2$ --config <%= config_file %>
16
+ command_line <%= bin_path -%>cs-nagios check storage_pool --pool_name $ARG3$ --over_provisioning $ARG4$ -w $ARG1$ -c $ARG2$ --config <%= config_file %>
18
17
  register 1
19
18
  }
20
19
 
21
- <% end -%>
22
-
20
+ <% storage_pools.each do |storage_pool| -%>
23
21
  define service {
24
22
  hostgroup_name Cloudstack-API
25
- service_description Cloudstack Storage Pool
26
- display_name Cloudstack Storage Pool
23
+ service_description Cloudstack Storage Pool <%= storage_pool['name'] %>
24
+ display_name Cloudstack Storage Pool <%= storage_pool['name'] %>
27
25
  use Generic-Service,service-pnp
28
- check_command cs-nagios_check-storage_pool!80!90
26
+ check_command cs-nagios_check-storage_pool!80!90!<%= storage_pool['name'] %>!<%= over_provisioning %>
29
27
  register 1
30
28
  }
31
29
 
30
+ <% end -%>
31
+
32
32
  ###############################################################################
33
33
  #
34
34
  # Service configuration file
35
35
  #
36
36
  # END OF FILE
37
37
  #
38
- ###############################################################################
38
+ ###############################################################################
@@ -1,3 +1,3 @@
1
1
  module CloudstackNagios
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack-nagios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nik Wolfgramm