1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 object CheckCommand "kdc" {
6 command = [ PluginContribDir + "/check_kdc" ]
10 value = "$kdc_address$"
11 description = "Name or IP address of KDC to check."
15 description = "Port on which KDC runs (default 88)."
18 value = "$kdc_principal$"
19 description = "Principal name to authenticate as (including realm)."
23 value = "$kdc_keytab$"
24 description = "Keytab file containing principal's key."
29 vars.kdc_address = "$check_address$"
32 object CheckCommand "rbl" {
35 command = [ PluginContribDir + "/check_rbl" ]
39 value = "$rbl_hostname$"
40 description = "Name or IP address of SMTP server to check."
43 value = "$rbl_server$"
44 description = "List of RBL servers as an array."
49 value = "$rbl_warning$"
50 description = "Number of blacklisting servers for a warning."
53 value = "$rbl_critical$"
54 description = "Number of blacklisting servers for a critical."
57 value = "$rbl_timeout$"
58 description = "Seconds before plugin times out (default: 15)."
62 vars.rbl_hostname = "$check_address$"
68 object CheckCommand "lsyncd" {
69 import "plugin-check-command"
70 command = [ PluginDir + "/check_lsyncd" ]
74 value = "$lsyncd_statfile$"
75 description = "Set status file path (default: /var/run/lsyncd.status)."
78 value = "$lsyncd_warning$"
79 description = "Warning if more than N delays (default: 10)."
82 value = "$lsyncd_critical$"
83 description = "Critical if more then N delays (default: 100)."
88 object CheckCommand "fail2ban" {
89 command = [ "sudo", PluginDir + "/check_fail2ban" ]
93 value = "$fail2ban_display$"
94 description = "To modify the output display, default is 'CHECK FAIL2BAN ACTIVITY'"
97 value = "$fail2ban_path$"
98 description = "Specify the path to the tw_cli binary, default value is /usr/bin/fail2ban-client"
101 value = "$fail2ban_warning$"
102 description = "Specify a warning threshold, default is 1"
105 value = "$fail2ban_critical$"
106 description = "Specify a critical threshold, default is 2"
109 value = "$fail2ban_socket$"
110 description = "Specify a socket path, default is unset"
113 set_if = "$fail2ban_perfdata$"
114 description = "If set to true, activate the perfdata output"
118 vars.fail2ban_perfdata = true