cloudstack-nagios 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/cloudstack-nagios/templates/icinga2/cloudstack_async_jobs.cfg.erb +1 -1
- data/lib/cloudstack-nagios/templates/icinga2/cloudstack_capacities.cfg.erb +1 -1
- data/lib/cloudstack-nagios/templates/icinga2/cloudstack_router_services.cfg.erb +7 -8
- data/lib/cloudstack-nagios/templates/icinga2/cloudstack_snapshots.cfg.erb +1 -1
- data/lib/cloudstack-nagios/templates/icinga2/cloudstack_storage_pools.cfg.erb +1 -1
- data/lib/cloudstack-nagios/templates/icinga2/cloudstack_system_vm_services.cfg.erb +6 -6
- data/lib/cloudstack-nagios/version.rb +1 -1
- metadata +2 -2
@@ -2,7 +2,7 @@
|
|
2
2
|
<% capacity_types.each do |cap_type, cap_values| -%>
|
3
3
|
object CheckCommand "cs-nagios_check-capacity_<%= cap_values[:method_name] %>" {
|
4
4
|
import "plugin-check-command"
|
5
|
-
command = [ "<%= bin_path -%>cs-nagios check capacity <%= cap_values[:method_name] %>" ]
|
5
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "capacity", "<%= cap_values[:method_name] %>" ]
|
6
6
|
|
7
7
|
arguments = {
|
8
8
|
"-w" = "80"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
object CheckCommand "cs-nagios_check-memory" {
|
3
3
|
import "plugin-check-command"
|
4
|
-
command = [ "<%= bin_path -%>cs-nagios check router memory" ]
|
4
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "router" ,"memory" ]
|
5
5
|
|
6
6
|
arguments = {
|
7
7
|
"-H" = "$address$"
|
@@ -15,7 +15,7 @@ object CheckCommand "cs-nagios_check-memory" {
|
|
15
15
|
|
16
16
|
object CheckCommand "cs-nagios_check-cpu" {
|
17
17
|
import "plugin-check-command"
|
18
|
-
command = [ "<%= bin_path -%>cs-nagios check router cpu" ]
|
18
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "router", "cpu" ]
|
19
19
|
|
20
20
|
arguments = {
|
21
21
|
"-H" = "$address$"
|
@@ -29,7 +29,7 @@ object CheckCommand "cs-nagios_check-cpu" {
|
|
29
29
|
|
30
30
|
object CheckCommand "cs-nagios_check-network" {
|
31
31
|
import "plugin-check-command"
|
32
|
-
command = [ "<%= bin_path -%>cs-nagios check router network" ]
|
32
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "router", "network" ]
|
33
33
|
|
34
34
|
arguments = {
|
35
35
|
"-H" = "$address$"
|
@@ -44,7 +44,7 @@ object CheckCommand "cs-nagios_check-network" {
|
|
44
44
|
|
45
45
|
object CheckCommand "cs-nagios_check-rootfsrw" {
|
46
46
|
import "plugin-check-command"
|
47
|
-
command = [ "<%= bin_path -%>cs-nagios check router rootfs_rw" ]
|
47
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "router", "rootfs_rw" ]
|
48
48
|
|
49
49
|
arguments = {
|
50
50
|
"-H" = "$address$"
|
@@ -58,7 +58,7 @@ object CheckCommand "cs-nagios_check-rootfsrw" {
|
|
58
58
|
|
59
59
|
object CheckCommand "cs-nagios_check-diskusage" {
|
60
60
|
import "plugin-check-command"
|
61
|
-
command = [ "<%= bin_path -%>cs-nagios check router disk_usage" ]
|
61
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "router", "disk_usage" ]
|
62
62
|
|
63
63
|
arguments = {
|
64
64
|
"-H" = "$address$"
|
@@ -73,7 +73,7 @@ object CheckCommand "cs-nagios_check-diskusage" {
|
|
73
73
|
|
74
74
|
object CheckCommand "cs-nagios_check-conntrack_connections" {
|
75
75
|
import "plugin-check-command"
|
76
|
-
command = [ "<%= bin_path -%>cs-nagios check router conntrack_connections" ]
|
76
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "router", "conntrack_connections" ]
|
77
77
|
|
78
78
|
arguments = {
|
79
79
|
"-H" = "$address$"
|
@@ -87,13 +87,12 @@ object CheckCommand "cs-nagios_check-conntrack_connections" {
|
|
87
87
|
|
88
88
|
object CheckCommand "cs-nagios_check-active_ftp" {
|
89
89
|
import "plugin-check-command"
|
90
|
-
command = [ "<%= bin_path -%>cs-nagios check router active_ftp" ]
|
90
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "router", "active_ftp" ]
|
91
91
|
|
92
92
|
arguments = {
|
93
93
|
"-H" = "$address$"
|
94
94
|
"-w" = "80"
|
95
95
|
"-c" = "90"
|
96
|
-
"-P" = "/"
|
97
96
|
"--ssh_key" = "<%= ssh_key %>"
|
98
97
|
"--ssh-port" = "<%= ssh_port %>"
|
99
98
|
"--config" = "<%= config_file %>"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
object CheckCommand "cs-nagios_check-storage_pool" {
|
3
3
|
import "plugin-check-command"
|
4
|
-
command = [ "<%= bin_path -%>cs-nagios check storage_pool" ]
|
4
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "storage_pool" ]
|
5
5
|
arguments = {
|
6
6
|
"--pool_name" = "$ARG3$"
|
7
7
|
"--over_provisioning" = "ARG4"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
object CheckCommand "cs-nagios_check_systemvm-memory" {
|
3
3
|
import "plugin-check-command"
|
4
|
-
command = [ "<%= bin_path -%>cs-nagios check system_vm memory" ]
|
4
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "system_vm memory" ]
|
5
5
|
arguments = {
|
6
6
|
"-H" = "$address$"
|
7
7
|
"-w" = "80"
|
@@ -14,7 +14,7 @@ object CheckCommand "cs-nagios_check_systemvm-memory" {
|
|
14
14
|
|
15
15
|
object CheckCommand "cs-nagios_check_systemvm-cpu" {
|
16
16
|
import "plugin-check-command"
|
17
|
-
command = [ "<%= bin_path -%>cs-nagios check system_vm cpu" ]
|
17
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "system_vm cpu" ]
|
18
18
|
arguments = {
|
19
19
|
"-H" = "$address$"
|
20
20
|
"-w" = "80"
|
@@ -27,7 +27,7 @@ object CheckCommand "cs-nagios_check_systemvm-cpu" {
|
|
27
27
|
|
28
28
|
object CheckCommand "cs-nagios_check_systemvm-network" {
|
29
29
|
import "plugin-check-command"
|
30
|
-
command = [ "<%= bin_path -%>cs-nagios check system_vm network" ]
|
30
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "system_vm network" ]
|
31
31
|
arguments = {
|
32
32
|
"-H" = "$address$"
|
33
33
|
"-w" = "80"
|
@@ -41,7 +41,7 @@ object CheckCommand "cs-nagios_check_systemvm-network" {
|
|
41
41
|
|
42
42
|
object CheckCommand "cs-nagios_check_systemvm-fsrw" {
|
43
43
|
import "plugin-check-command"
|
44
|
-
command = [ "<%= bin_path -%>cs-nagios check system_vm fs_rw" ]
|
44
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "system_vm fs_rw" ]
|
45
45
|
arguments = {
|
46
46
|
"-H" = "$address$"
|
47
47
|
"-w" = "80"
|
@@ -54,7 +54,7 @@ object CheckCommand "cs-nagios_check_systemvm-fsrw" {
|
|
54
54
|
|
55
55
|
object CheckCommand "cs-nagios_check_systemvm-diskusage" {
|
56
56
|
import "plugin-check-command"
|
57
|
-
command = [ "<%= bin_path -%>cs-nagios check system_vm disk_usage" ]
|
57
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "system_vm disk_usage" ]
|
58
58
|
arguments = {
|
59
59
|
"-H" = "$address$"
|
60
60
|
"-w" = "80"
|
@@ -68,7 +68,7 @@ object CheckCommand "cs-nagios_check_systemvm-diskusage" {
|
|
68
68
|
|
69
69
|
object CheckCommand "cs-nagios_check_systemvm-secstorrw" {
|
70
70
|
import "plugin-check-command"
|
71
|
-
command = [ "<%= bin_path -%>cs-nagios check system_vm secstor_rw" ]
|
71
|
+
command = [ "<%= bin_path -%>cs-nagios", "check", "system_vm secstor_rw" ]
|
72
72
|
arguments = {
|
73
73
|
"-H" = "$address$"
|
74
74
|
"-w" = "80"
|
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.
|
4
|
+
version: 0.17.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-11-
|
12
|
+
date: 2014-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|