]> granicus.if.org Git - icinga2/commitdiff
Remove obsolete ITL templates.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 30 Sep 2013 11:17:07 +0000 (13:17 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 30 Sep 2013 11:17:07 +0000 (13:17 +0200)
itl/Makefile.am
itl/command-common.conf
itl/host.conf [deleted file]
itl/itl.conf
itl/service-common.conf [deleted file]
itl/service.conf [deleted file]

index 978f8aa99e81717e81e4a453dbea438c7deda467..7a57bc0139ba5e0d043f38781da0fb1d64067be1 100644 (file)
@@ -4,10 +4,7 @@ icinga2itl_DATA = \
        command-common.conf \
        constants.conf \
        itl.conf \
-       host.conf \
        timeperiod.conf \
-       service.conf \
-       service-common.conf \
        standalone.conf
 
 EXTRA_DIST = $(icinga2itl_DATA)
index 56094cb8053225acf98653de8461bfd8161390ad..385a896669e2faa8d5b50ff6be9078e9d50b8a80 100644 (file)
@@ -222,3 +222,10 @@ object CheckCommand "snmp" inherits "plugin-check-command" {
                community = "public"
        }
 }
+
+object CheckCommand "snmp-uptime" inherits "snmp" {
+       macros += {
+               oid = "1.3.6.1.2.1.1.3.0"
+       }
+}
+
diff --git a/itl/host.conf b/itl/host.conf
deleted file mode 100644 (file)
index e14577d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/******************************************************************************
- * Icinga 2                                                                   *
- * Copyright (C) 2012-2013 Icinga Development Team (http://www.icinga.org/)   *
- *                                                                            *
- * This program is free software; you can redistribute it and/or              *
- * modify it under the terms of the GNU General Public License                *
- * as published by the Free Software Foundation; either version 2             *
- * of the License, or (at your option) any later version.                     *
- *                                                                            *
- * This program is distributed in the hope that it will be useful,            *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
- * GNU General Public License for more details.                               *
- *                                                                            *
- * You should have received a copy of the GNU General Public License          *
- * along with this program; if not, write to the Free Software Foundation     *
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
- ******************************************************************************/
-
-object HostGroup "all-hosts" {
-    display_name = "All Hosts"
-}
-
-template Host "itl-host" {
-    groups = [ "all-hosts" ],
-
-    services["ping4"] = {
-      templates = [ "ping4" ]
-    },
-
-    check = "ping4"
-}
index e0cd482525f5a9a73a73c33c5a72a6f0807d248c..6700e10add83e3db47bd3331f2c3269981f94cfa 100644 (file)
@@ -23,9 +23,6 @@
  */
 
 include "constants.conf"
-include "host.conf"
 include "command.conf"
 include "command-common.conf"
-include "service.conf"
-include "service-common.conf"
 include "timeperiod.conf"
diff --git a/itl/service-common.conf b/itl/service-common.conf
deleted file mode 100644 (file)
index 19d0852..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/******************************************************************************
- * Icinga 2                                                                   *
- * Copyright (C) 2012-2013 Icinga Development Team (http://www.icinga.org/)   *
- *                                                                            *
- * This program is free software; you can redistribute it and/or              *
- * modify it under the terms of the GNU General Public License                *
- * as published by the Free Software Foundation; either version 2             *
- * of the License, or (at your option) any later version.                     *
- *                                                                            *
- * This program is distributed in the hope that it will be useful,            *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
- * GNU General Public License for more details.                               *
- *                                                                            *
- * You should have received a copy of the GNU General Public License          *
- * along with this program; if not, write to the Free Software Foundation     *
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
- ******************************************************************************/
-
-template Service "ping4" {
-       check_command = "ping4"
-}
-
-template Service "ping6" {
-       check_command = "ping6"
-}
-
-template Service "dummy" {
-       check_command = "dummy"
-}
-
-template Service "tcp" {
-       check_command = "tcp"
-}
-
-template Service "udp" {
-       check_command = "udp"
-}
-
-template Service "http_vhost" {
-       check_command = "http_vhost"
-}
-
-template Service "http_ip" {
-       check_command = "http_ip"
-}
-
-template Service "https_vhost" {
-       check_command = "https_vhost"
-}
-
-template Service "https_ip" {
-       check_command = "https_ip"
-}
-
-template Service "smtp" {
-       check_command = "smtp"
-}
-
-template Service "ssmtp" {
-       check_command = "ssmtp"
-}
-
-template Service "ntp_time" {
-       check_command = "ntp_time"
-}
-
-template Service "ssh" {
-       check_command = "ssh"
-}
-
-template Service "disk" {
-       check_command = "disk"
-}
-
-template Service "users" {
-       check_command = "users"
-}
-
-template Service "processes" {
-       check_command = "processes"
-}
-
-template Service "load" {
-       check_command = "load"
-}
-
-template Service "snmp" {
-       check_command = "snmp"
-}
-
-template Service "snmp-uptime" inherits "snmp" {
-       macros += {
-               oid = "1.3.6.1.2.1.1.3.0"
-       }
-}
diff --git a/itl/service.conf b/itl/service.conf
deleted file mode 100644 (file)
index 934f00c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/******************************************************************************
- * Icinga 2                                                                   *
- * Copyright (C) 2012-2013 Icinga Development Team (http://www.icinga.org/)   *
- *                                                                            *
- * This program is free software; you can redistribute it and/or              *
- * modify it under the terms of the GNU General Public License                *
- * as published by the Free Software Foundation; either version 2             *
- * of the License, or (at your option) any later version.                     *
- *                                                                            *
- * This program is distributed in the hope that it will be useful,            *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
- * GNU General Public License for more details.                               *
- *                                                                            *
- * You should have received a copy of the GNU General Public License          *
- * along with this program; if not, write to the Free Software Foundation     *
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
- ******************************************************************************/
-
-object ServiceGroup "all-services" {
-    display_name = "All Services"
-}
-
-template Service "itl-service" {
-    groups = [ "all-services" ]
-}