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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cloudstack-nagios/templates/cloudstack_api_hosts.cfg.erb +1 -1
- data/lib/cloudstack-nagios/templates/cloudstack_asyncjobs_services.cfg.erb +1 -1
- data/lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb +1 -1
- data/lib/cloudstack-nagios/templates/cloudstack_storage_pool_services.cfg.erb +8 -8
- data/lib/cloudstack-nagios/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: 308620b567d6ad79dadb95d171ccaf34b84fc31b
|
4
|
+
data.tar.gz: 56f22c7f919f2184c581f8aaf9f3fca68f0408dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 070c91610b0b831f2d0452a5ea3b6a417cac50ccb1ae09712113702faf0420bac18486055620c0445107d432544615d70740e66848f788e483ec9f5bbb105f06
|
7
|
+
data.tar.gz: 36c4bca3fb1fcaf833626b4a80bf0e0e5dcb1e659577a031ee2032a4c8cdbcdff5312f9248fc499e39f0f406b1708c7168f175d29286bf48bc3f627d54283528
|
data/Gemfile.lock
CHANGED
@@ -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
|
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
|
-
<%
|
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
|
+
###############################################################################
|