mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Remove obsolete ITL templates.
This commit is contained in:
parent
61b90a1a0e
commit
3127767eb8
@ -4,10 +4,7 @@ icinga2itl_DATA = \
|
|||||||
command-common.conf \
|
command-common.conf \
|
||||||
constants.conf \
|
constants.conf \
|
||||||
itl.conf \
|
itl.conf \
|
||||||
host.conf \
|
|
||||||
timeperiod.conf \
|
timeperiod.conf \
|
||||||
service.conf \
|
|
||||||
service-common.conf \
|
|
||||||
standalone.conf
|
standalone.conf
|
||||||
|
|
||||||
EXTRA_DIST = $(icinga2itl_DATA)
|
EXTRA_DIST = $(icinga2itl_DATA)
|
||||||
|
@ -222,3 +222,10 @@ object CheckCommand "snmp" inherits "plugin-check-command" {
|
|||||||
community = "public"
|
community = "public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object CheckCommand "snmp-uptime" inherits "snmp" {
|
||||||
|
macros += {
|
||||||
|
oid = "1.3.6.1.2.1.1.3.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -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"
|
|
||||||
}
|
|
@ -23,9 +23,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
include "constants.conf"
|
include "constants.conf"
|
||||||
include "host.conf"
|
|
||||||
include "command.conf"
|
include "command.conf"
|
||||||
include "command-common.conf"
|
include "command-common.conf"
|
||||||
include "service.conf"
|
|
||||||
include "service-common.conf"
|
|
||||||
include "timeperiod.conf"
|
include "timeperiod.conf"
|
||||||
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
@ -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" ]
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user