]> granicus.if.org Git - icinga2/commitdiff
Add missing files.
authorGunnar Beutner <gunnar.beutner@netways.de>
Sun, 13 Apr 2014 15:35:07 +0000 (17:35 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sun, 13 Apr 2014 15:35:07 +0000 (17:35 +0200)
Refs #6002

etc/icinga2/conf.d/hosts/localhost/disk.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/http.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/icinga.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/kernel.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/load.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/processes.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/ssh.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/swap.conf [new file with mode: 0644]
etc/icinga2/conf.d/hosts/localhost/users.conf [new file with mode: 0644]

diff --git a/etc/icinga2/conf.d/hosts/localhost/disk.conf b/etc/icinga2/conf.d/hosts/localhost/disk.conf
new file mode 100644 (file)
index 0000000..87f0935
--- /dev/null
@@ -0,0 +1,6 @@
+object Service "disk" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "disk"
+}
diff --git a/etc/icinga2/conf.d/hosts/localhost/http.conf b/etc/icinga2/conf.d/hosts/localhost/http.conf
new file mode 100644 (file)
index 0000000..ca9e227
--- /dev/null
@@ -0,0 +1,6 @@
+object Service "http" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "http_ip"
+}
diff --git a/etc/icinga2/conf.d/hosts/localhost/icinga.conf b/etc/icinga2/conf.d/hosts/localhost/icinga.conf
new file mode 100644 (file)
index 0000000..d4cbb35
--- /dev/null
@@ -0,0 +1,6 @@
+object Service "icinga" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "icinga"
+}
diff --git a/etc/icinga2/conf.d/hosts/localhost/kernel.conf b/etc/icinga2/conf.d/hosts/localhost/kernel.conf
new file mode 100644 (file)
index 0000000..f127ac9
--- /dev/null
@@ -0,0 +1,6 @@
+object Service "kernel" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "kernel"
+}
diff --git a/etc/icinga2/conf.d/hosts/localhost/load.conf b/etc/icinga2/conf.d/hosts/localhost/load.conf
new file mode 100644 (file)
index 0000000..39fab71
--- /dev/null
@@ -0,0 +1,13 @@
+object Service "load" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "load"
+}
+
+object ScheduledDowntime "backup-downtime" {
+  import "backup-downtime"
+
+  host_name = "localhost"
+  service_name = "load"
+}
diff --git a/etc/icinga2/conf.d/hosts/localhost/processes.conf b/etc/icinga2/conf.d/hosts/localhost/processes.conf
new file mode 100644 (file)
index 0000000..db0cffc
--- /dev/null
@@ -0,0 +1,7 @@
+object Service "processes" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "processes"
+}
+
diff --git a/etc/icinga2/conf.d/hosts/localhost/ssh.conf b/etc/icinga2/conf.d/hosts/localhost/ssh.conf
new file mode 100644 (file)
index 0000000..1966144
--- /dev/null
@@ -0,0 +1,6 @@
+object Service "ssh" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "ssh"
+}
diff --git a/etc/icinga2/conf.d/hosts/localhost/swap.conf b/etc/icinga2/conf.d/hosts/localhost/swap.conf
new file mode 100644 (file)
index 0000000..b12f754
--- /dev/null
@@ -0,0 +1,6 @@
+object Service "swap" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "swap"
+}
diff --git a/etc/icinga2/conf.d/hosts/localhost/users.conf b/etc/icinga2/conf.d/hosts/localhost/users.conf
new file mode 100644 (file)
index 0000000..4ac3b42
--- /dev/null
@@ -0,0 +1,6 @@
+object Service "users" {
+  import "generic-service"
+
+  host_name = "localhost"
+  check_command = "users"
+}