From ccd7a00fadbe9642102f7f7718e27a6f9126334d Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <gunnar.beutner@netways.de>
Date: Mon, 30 Sep 2013 13:19:04 +0200
Subject: [PATCH] Update example configuration.

---
 etc/icinga2/conf.d/localhost.conf | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/etc/icinga2/conf.d/localhost.conf b/etc/icinga2/conf.d/localhost.conf
index cc17aae36..fa810ec45 100644
--- a/etc/icinga2/conf.d/localhost.conf
+++ b/etc/icinga2/conf.d/localhost.conf
@@ -3,35 +3,35 @@
  */
 object Host "localhost" {
   services["ping4"] = {
-    templates = [ "ping4" ]
+    check_command = "ping4"
   },
 
   services["ping6"] = {
-    templates = [ "ping6" ]
+    check_command = "ping6"
   },
 
   services["http"] = {
-    templates = [ "http_ip" ]
+    check_command = "http"
   },
 
   services["ssh"] = {
-    templates = [ "ssh" ]
+    check_command = "ssh"
   },
 
   services["load"] = {
-    templates = [ "load" ]
+    check_command = "load"
   },
 
   services["processes"] = {
-    templates = [ "processes" ]
+    check_command = "processes"
   },
 
   services["users"] = {
-    templates = [ "users" ]
+    check_command = "users"
   },
 
   services["disk"] = {
-    templates = [ "disk" ]
+    check_command = "disk"
   },
 
   macros = {