cloudstack-nagios 0.17.5 → 0.17.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ object CheckCommand "cs-nagios_check-capacity_<%= cap_values[:method_name] %>" {
8
8
  "-w" = "80"
9
9
  "-c" = "90"
10
10
  "--config" = "<%= config_file %>"
11
- "--zone" = "$ARG3$"
11
+ "--zone" = "$host.vars.zone$"
12
12
  }
13
13
  }
14
14
 
@@ -5,6 +5,8 @@ object Host "<%= vm['name'] %>" {
5
5
  import "generic-host"
6
6
  address = "<%= vm['privateip'] %>"
7
7
  groups = [ "CloudstackSystemVm<%= '" , "CloudstackSSVM' if vm['systemvmtype'] == 'secondarystoragevm' %>" ]
8
+
9
+ vars.zone = "<%= zone['name'] %>"
8
10
  }
9
11
 
10
12
  <% end -%>
@@ -1,3 +1,3 @@
1
1
  module CloudstackNagios
2
- VERSION = "0.17.5"
2
+ VERSION = "0.17.6"
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.17.5
4
+ version: 0.17.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-16 00:00:00.000000000 Z
13
+ date: 2014-12-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdoc