cloudstack-nagios 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,12 @@ define command {
|
|
23
23
|
register 1
|
24
24
|
}
|
25
25
|
|
26
|
+
define command {
|
27
|
+
command_name cs-nagios_check-varfsrw
|
28
|
+
command_line <%= bin_path -%>cs-nagios check router fs_rw -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --config <%= config_file %> -m /var
|
29
|
+
register 1
|
30
|
+
}
|
31
|
+
|
26
32
|
define command {
|
27
33
|
command_name cs-nagios_check-diskusage
|
28
34
|
command_line <%= bin_path -%>cs-nagios check router disk_usage -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -P $ARG3$ --ssh-key <%= ssh_key %> --ssh-port <%= ssh_port %> --config <%= config_file %>
|
@@ -77,6 +83,15 @@ define service {
|
|
77
83
|
register 1
|
78
84
|
}
|
79
85
|
|
86
|
+
define service {
|
87
|
+
hostgroup_name CloudstackRouter
|
88
|
+
service_description Cloudstack Virtual Router RootFS r/w
|
89
|
+
display_name Cloudstack Virtual Router RootFS r/w
|
90
|
+
use Generic-Service,service-pnp
|
91
|
+
check_command cs-nagios_check-varfsrw!80!90
|
92
|
+
register 1
|
93
|
+
}
|
94
|
+
|
80
95
|
define service {
|
81
96
|
hostgroup_name CloudstackRouter
|
82
97
|
service_description Cloudstack Virtual Router DiskUsageRoot
|