1 /******************************************************************************
3 * Copyright (C) 2012-2014 Icinga Development Team (http://www.icinga.org) *
5 * This program is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU General Public License *
7 * as published by the Free Software Foundation; either version 2 *
8 * of the License, or (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software Foundation *
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ******************************************************************************/
20 object CheckCommand "ping4" inherits "plugin-check-command" {
22 "$plugindir$/check_ping",
25 "-w", "$wrta$,$wpl$%",
26 "-c", "$crta$,$cpl$%",
43 object CheckCommand "ping6" inherits "plugin-check-command" {
45 "$plugindir$/check_ping",
48 "-w", "$wrta$,$wpl$%",
49 "-c", "$crta$,$cpl$%",
66 object CheckCommand "dummy" inherits "plugin-check-command" {
68 "$plugindir$/check_dummy",
75 text = "Check was successful."
79 object CheckCommand "passive" inherits "dummy" {
82 text = "No Passive Check Result Received."
86 object CheckCommand "tcp" inherits "plugin-check-command" {
88 "$plugindir$/check_tcp",
94 object CheckCommand "udp" inherits "plugin-check-command" {
96 "$plugindir$/check_udp",
102 object CheckCommand "http_vhost" inherits "plugin-check-command" {
104 "$plugindir$/check_http",
109 object CheckCommand "http_ip" inherits "plugin-check-command" {
111 "$plugindir$/check_http",
116 object CheckCommand "https_vhost" inherits "plugin-check-command" {
118 "$plugindir$/check_http",
119 "-H", "$vhost$", "-S"
123 object CheckCommand "https_ip" inherits "plugin-check-command" {
125 "$plugindir$/check_http",
126 "-I", "$address$", "-S"
130 object CheckCommand "smtp" inherits "plugin-check-command" {
132 "$plugindir$/check_smtp",
137 object CheckCommand "ssmtp" inherits "plugin-check-command" {
139 "$plugindir$/check_ssmtp",
149 object CheckCommand "ntp_time" inherits "plugin-check-command" {
151 "$plugindir$/check_ntp_time",
156 object CheckCommand "ssh" inherits "plugin-check-command" {
158 "$plugindir$/check_ssh",
163 object CheckCommand "disk" inherits "plugin-check-command" {
165 "$plugindir$/check_disk",
176 object CheckCommand "users" inherits "plugin-check-command" {
178 "$plugindir$/check_users",
189 object CheckCommand "processes" inherits "plugin-check-command" {
191 "$plugindir$/check_procs",
202 object CheckCommand "load" inherits "plugin-check-command" {
204 "$plugindir$/check_load",
205 "-w", "$wload1$,$wload5$,$wload15$",
206 "-c", "$cload1$,$cload5$,$cload15$"
220 object CheckCommand "snmp" inherits "plugin-check-command" {
222 "$plugindir$/check_snmp",
233 object CheckCommand "snmp-uptime" inherits "snmp" {
235 oid = "1.3.6.1.2.1.1.3.0"
239 object CheckCommand "icinga" inherits "icinga-check-command" {
242 object CheckCommand "cluster" inherits "cluster-check-command" {